MediaWiki:Gadget-markblocked.js explained

/******************************************************************************//**** THIS PAGE TRACKS . PLEASE AVOID EDITING DIRECTLY. /**** EDITS SHOULD BE PROPOSED DIRECTLY to ./**** A BOT WILL RAISE AN EDIT REQUEST IF IT BECOMES DIFFERENT FROM UPSTREAM./******************************************************************************/

/*You can import this gadget to other wikis by using mw.loader.load and specifying the local alias for Special:Contributions. For example:var markblocked_contributions = 'Special:Contributions';mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&bcache=1&maxage=259200&action=raw&ctype=text/javascript');

This gadget will pull the user accounts and IPs from the history page and will strike out the users that are currently blocked.

Configuration variables:- window.markblocked_contributions - Let wikis that are importing this gadget specify the local alias of Special:Contributions- window.mbIndefStyle - custom CSS to override default CSS for indefinite blocks- window.mbNoAutoStart - if set to true, doesn't mark blocked until you click "XX" in the "More" menu- window.mbPartialStyle - custom CSS to override default CSS for partial blocks- window.mbTempStyle - custom CSS to override default CSS for short duration blocks- window.mbTipBox - if set to true, loads a yellow box with a pound sign next to blocked usernames. upon hovering over it, displays a tooltip.- window.mbTipBoxStyle - custom CSS to override default CSS for the tip box (see above)- window.mbTooltip - custom pattern to use for tooltips. default is '; blocked ($1) by $2: $3 ($4 ago)'

Forked from https://ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&oldid=77732587 on July 13, 2016

(=>);