GlobalCssJs

From Meta, a Wikimedia project coordination wiki

The GlobalCssJs extension lets users create global.js and global.css pages, which are then loaded on every wiki. You can also load JavaScript on a subset of wikis (like Wikisources or French wikis).

Removing local pages[edit]

If you manually created local pages (like monobook.js or common.js) to load your global scripts, your scripts will now be loaded twice with potentially strange effects. An automatic script can delete your local pages for you. To delete your pages:

  1. Make sure you meet these requirements:
    • your global CSS/scripts are on Meta at global.css or global.js (global.css or global.js on other wikis isn't supported);
    • your local pages have exactly one revision (you can request to ignore the one-revision rule);
    • your local pages load global.js with a standard importScriptUrl or mw.loader.load.

    If you don't meet the requirements, you can use synchbot instead.

  2. Add your username below (like {{/user|Your username here}}).
  3. When your request is handled, you can click the links next to your name to see what pages were deleted.

Feel free to ask questions on the talk page.

Requests[edit]

  1. Legoktm (view pages • done: log)
  2. Ricordisamoa (view pages • done: log)
  3. John F. Lewis (view pages • done: log)
  4. Helder.wiki (view pages)
    Can't be migrated because global scripts are loaded from pt.wikibooks.org.
    Done by synchbot. —Pathoschild 18:06, 06 September 2014 (UTC)
  5. Hym411 (view pages • done: log)
  6. Vogone (view pages • done: log)
  7. Rschen7754 (view pages • done: log)
  8. Glaisher (view pages • done: log)
  9. Trijnstel (view pages • done: log)
  10. Wim b (view pages • done: log)
  11. Stryn (view pages • done: log)
  12. PiRSquared17 (view pages • done: log)
  13. Sannita (view pages • done: log)
  14. Jacopo Werther (view pages)
    User has no global.js.
  15. Microchip08 (view pages • done: log)
  16. Krenair (view pages • done: log)
  17. Andrew Dalby (view pages • done: log)
  18. JurgenNL (view pages • done: log)
  19. Wiki13 (view pages • done: log)
  20. Steinsplitter (view pages • done: log)
  21. Jdforrester (WMF) (view pages • done: log)
  22. Rxy (view pages • done: log)
  23. Hosiryuhosi (view pages • done: log)
  24. संतोष दहिवळ (view pages • done: log)
  25. Alan (view pages • done: log)
  26. Beau (view pages) — all common.js/css/monobook.js/css pages, regardless of content/number of revisions; please mind the fact, that some accounts are not attached to my global one.
  27. Kolega2357 (view pages) — please delete my local common.js and vector.js (keep on sr wiki) on every WMF projects.
  28. Mh7kJ (view pages • done: log)
  29. Natuur12 (view pages • done: log) — except my .js at commons and nl-wiki if possible, if it is a lot of work to exclude them, just delete them and I will undelete them after the script is done :)
    I'm just deleting all of them, the script wasn't really designed to exclude one wiki. Legoktm (talk) 01:11, 27 August 2014 (UTC)[reply]
  30. Ebraminio (view pages • done: log)
  31. Zhuyifei1999 (view pages • done: log) ignore 1 rev rule please
  32. Troubled asset (view pages) pls remove all local css/js files including the skin specific files on all wikis and ignore the "one revision" rule. thx!
    There don't seem to be any relevant pages left. –Krinkletalk 22:27, 26 September 2014 (UTC)[reply]
  33. TBloemink (view pages • done: log) I will have the simple en and nl versions undeleted when done.
  34. Jamesofur (view pages • done: log)
  35. Tegel (view pages • done: log)
  36. Techman224 (view pages • done: log)
  37. Heldergeovane (view pages • done: log) ignore 1 revision rule
  38. Teles (view pages • done: log)
    @Krinkle: Sorry for asking again, but my first request left more than 600 pages as they were edited more than once. Please, delete them even if they have more than one edit. Thanks.—Teles «Talk to me ˱C L @ S˲» 22:13, 25 September 2014 (UTC)[reply]
  39. Nirmos (view pages • done: log) Hello. Could you please delete all local css and js files and ignore the 1 revision rule? Thank you.
    Thank you, Krinkle, I appreciate it. Out of curiosity, why did the script skip als:Benutzer:Nirmos/common.js, s:da:Bruger:Nirmos/common.js and da:Bruger:Nirmos/common.js? The logs at [1] and [2] say they were deleted. So, my first thought was that local admins had restored them not knowing about this new feature, but that's not it (I've checked the logs for the individual pages). Nirmos (talk) 21:13, 2 September 2014 (UTC)[reply]
    Some wikis has AbuseFilter's in place that are a bit too generic (though in practice nothing would run into that) and stop the script from deleting the page. The latest version of the GlobalCssJs maintenance script detects this and reports it as "was not deleted: (reason)". But I ran yours before that. As of today this is fixed (for newer runs it's reported as not deleted in the log). I've also fixed most (if not all) the broken AbuseFilters. I've run it again. –Krinkletalk 23:13, 2 September 2014 (UTC)[reply]
    Awesome, Krinkle, thank you so much. Nirmos (talk) 12:52, 3 September 2014 (UTC)[reply]
  40. Jafeluv (view pages • done: log) Ignore the 1 rev rule, please.
    I made a mistake in the first run, so the rest of the log is at [3]. Legoktm (talk) 04:37, 7 September 2014 (UTC)[reply]
  41. Rxy (view pages) My previous request does not done.
    It was done, see https://noc.wikimedia.org/~legoktm/globalcssjs/Rxy.logKrinkletalk 01:00, 2 September 2014 (UTC)[reply]
    Some pages were skipped because they have more than revision. You can ask to ignore the one-revision rule, or submit a synchbot deletion request for the remaining pages. —Pathoschild 03:21, 02 September 2014 (UTC)
    Thanks for information. I withdraw this request for I requested deletion to User:Pathoschild/Scripts/Synchbot. I forgot my js pages having some revisions existed.--Rxy (talk) 09:15, 2 September 2014 (UTC)[reply]
  42. Rjd0060 (view pages) Delete however many revisions there are.
    Needs synchbot because your scripts are loaded from en.wp, not meta. Legoktm (talk) 04:41, 7 September 2014 (UTC)[reply]
    Done by synchbot. —Pathoschild 13:23, 18 September 2014 (UTC)
  43. Makecat (view pages • done: log) Please use two-revision rule if possible. If not, simply delete all and I will ask local admins to restore some with extra scripts. Sorry for the inconvenience.
    We don't have a two revision limit, it's just one revision or nothing, so I ran it without the limit. Legoktm (talk) 04:55, 7 September 2014 (UTC)[reply]
  44. MarcoAurelio (view pages) Please respect the revision limit. Thanks. — M 14:15, 23 November 2014 (UTC)[reply]
    Done via synchbot. —Pathoschild 15:11, 11 January 2015 (UTC)
  45. Southparkfan (view pages) - only if the .js page just consists one revision. Southparkfan 18:00, 16 February 2015 (UTC)[reply]
  46. Metrophil44 (view pages) but first, what do you mean by the one revision rule? I don't understand.