GlobalCssJs
This page is kept for historical interest. Any policies mentioned may be obsolete. If you want to revive the topic, you can use the talk page or start a discussion on the community forum. |
![]() | This script is no longer active. You can request local page deletion via Synchbot instead. |
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 oder 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:
- Make sure you meet these requirements:
- your global CSS/scripts are on Meta at global.css oder global.js (global.css oder 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 oder mw.loader.load.
If you don't meet the requirements, you can use synchbot instead.
- Add your username below (like {{/user|Your username here}}).
- 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]- ✓ Legoktm (view pages • done: log)
- ✓ Ricordisamoa (view pages • done: log)
- ✓ John F. Lewis (view pages • done: log)
- ✓ 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)
- Can't be migrated because global scripts are loaded from pt.wikibooks.org.
- ✓ Hym411 (view pages • done: log)
- ✓ Vogone (view pages • done: log)
- ✓ Rschen7754 (view pages • done: log)
- ✓ Glaisher (view pages • done: log)
- ✓ Trijnstel (view pages • done: log)
- ✓ Wim b (view pages • done: log)
- ✓ Stryn (view pages • done: log)
- ✓ PiRSquared17 (view pages • done: log)
- ✓ Sannita (view pages • done: log)
- ✖ Jacopo Werther (view pages)
- User has no global.js.
- ✓ Microchip08 (view pages • done: log)
- ✓ Krenair (view pages • done: log)
- ✓ Andrew Dalby (view pages • done: log)
- ✓ JurgenNL (view pages • done: log)
- ✓ Wiki13 (view pages • done: log)
- ✓ Steinsplitter (view pages • done: log)
- ✓ Jdforrester (WMF) (view pages • done: log)
- ✓ Rxy (view pages • done: log)
- ✓ Hosiryuhosi (view pages • done: log)
- ✓ संतोष दहिवळ (view pages • done: log)
- ✓ Alan (view pages • done: log)
- → 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.
- → Kolega2357 (view pages) — please delete my local common.js and vector.js (keep on sr wiki) on every WMF projects.
- ✓ Mh7kJ (view pages • done: log)
- ✓ 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)
- ✓ Ebraminio (view pages • done: log)
- ✓ Zhuyifei1999 (view pages • done: log) ignore 1 rev rule please
- ✖ 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)
- ✓ TBloemink (view pages • done: log) I will have the simple en and nl versions undeleted when done.
- ✓ Jamesofur (view pages • done: log)
- ✓ Tegel (view pages • done: log)
- ✓ Techman224 (view pages • done: log)
- ✓ Heldergeovane (view pages • done: log) ignore 1 revision rule
- ✓ 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)
- ✓ 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)
- 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)
- Awesome, Krinkle, thank you so much. Nirmos (talk) 12:52, 3 September 2014 (UTC)
- 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)
- 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)
- ✓ 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)
✓ Rxy (view pages) My previous request does not done.- It was done, see https://noc.wikimedia.org/~legoktm/globalcssjs/Rxy.log -Krinkletalk 01:00, 2 September 2014 (UTC)
- 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)
- 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)
- It was done, see https://noc.wikimedia.org/~legoktm/globalcssjs/Rxy.log -Krinkletalk 01:00, 2 September 2014 (UTC)
- ✓ 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)
- Done by synchbot. —Pathoschild 13:23, 18 September 2014 (UTC)
- Needs synchbot because your scripts are loaded from en.wp, not meta. Legoktm (talk) 04:41, 7 September 2014 (UTC)
- ✓ 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)
- ✓ MarcoAurelio (view pages) Please respect the revision limit. Thanks. — M 14:15, 23 November 2014 (UTC)
- Done via synchbot. —Pathoschild 15:11, 11 January 2015 (UTC)
- → Southparkfan (view pages) - only if the .js page just consists one revision. Southparkfan 18:00, 16 February 2015 (UTC)
- → Metrophil44 (view pages) but first, what do you mean by the one revision rule? I don't understand.