User:-revi/global.js/doc

From Meta, a Wikimedia project coordination wiki

General rule of thumb[edit]

  • If some methods in this page are deprecated and need to be changed, feel free to make a change, subject to the restrictions below.
  • If you're asked by me for help, feel free to edit as it makes sense.
  • Otherwise, DO NOT EDIT DIRECTLY, come to my talk page and ask for an edit.

oldid[edit]

Due to malicious activities concerning JavaScript pages, javascripts in this page has &oldid= specified.

  • DO NOT REMOVE THE "&oldid=", UNDER NO CIRCUMSTANCES.
    • (YOU MAY UPDATE IT IF, AND ONLY IF, YOU ARE DOING MAINTENANCE WORK.)
      • There are some scripts I marked as "DO NOT UPDATE". Tell me if that is producing errors, and I will fork them and make adjustments. I usually have such DO NOT UPDATE when I don't like the changes made on the newer version.
  • If you play with the oldid value without the maintenance justification followed by the error or the phab task, I will consider your account compromised and assume that you are trying to inject malicious code into my browser. That means I will not ask you before locking your account for compromised account.

I fully acknowledge that this will prevent valid bug-fixes and improvements as well, but I accept that as an acceptable cost compared to the risk.

ETC[edit]

As loading global.js caused errors in the past which ended up preventing me editing Wikidata statements, this global.js is not truly 'global' and wikidata/testwikidata has its own JS sets located at d:User:-revi/common.js. Editing this page won't affect scripts also installed on WD. If you are doing maintenance works, you might want to review those as well.

Scripts proven to be malfunctioning is quarantined at User:-revi/global.js/malfunc.js to further minimize global.js loading size.

Version updates happens approximately every 4 months. It happens when I have enough free time to check through all the revisions on global.js.

  • Last update: 2020-10-03 (KST)
  • Next update due: 2021-02-03 (KST)