User:ImprovedWikiImprovment/Highlight scripts

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

I have two scripts that can be added to your global.js file to mark Stewards and Global Sysops respectively. Stewards are highlighted in yellow and Global Sysops in green (though you can copy it into your userspace and change the colour to whatever you want). It was slightly adapted from simple:MediaWiki:Gadget-HighlightAdmins.js, but mostly copies it. It requires me to manually update it when Stewards/GS are added or removed, so if any are missing let me know.

Scripts[edit]

Highlight Stewards[edit]

The scripts can be found below:

Add this to your global.js (or common.js locally) file:
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:ImprovedWikiImprovment/HighlightStewards.js&action=raw&ctype=text/javascript'); // Doc: [[meta:User:ImprovedWikiImprovment/Highlight scripts]]

Highlight Global Sysops[edit]

Add this to your global.js (or common.js locally) file:
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:ImprovedWikiImprovment/HighlightGS.js&action=raw&ctype=text/javascript'); // Doc: [[meta:User:ImprovedWikiImprovment/Highlight scripts]]