FANDOM


m (Comma before the coordinating conjunction.)
m
Line 5: Line 5:
 
| Author = Russian Wikipedia, ported by [[User:OneTwoThreeFall|OneTwoThreeFall]]
 
| Author = Russian Wikipedia, ported by [[User:OneTwoThreeFall|OneTwoThreeFall]]
 
| Updated = 27 March 2016
 
| Updated = 27 March 2016
| Code = [[MediaWiki:MarkBlocked.js|MarkBlocked.js]]
+
| Code = [[MediaWiki:MarkBlocked.js|code.js]]
 
| Skins =
 
| Skins =
 
| Languages = N/A
 
| Languages = N/A
Line 11: Line 11:
 
'''MarkBlocked''' strikes out usernames that have been blocked. It is modified in order to be compatible with [[AjaxRC]].
 
'''MarkBlocked''' strikes out usernames that have been blocked. It is modified in order to be compatible with [[AjaxRC]].
   
{{Script Install|Use=GPS
+
{{Script Install
|Source=<syntaxhighlight lang="javascript">importScriptPage('MarkBlocked.js', 'dev');</syntaxhighlight>
+
|Use=GPS
  +
|Source=<syntaxhighlight lang="javascript">importScriptPage('MediaWiki:MarkBlocked.js', 'dev');</syntaxhighlight>
 
}}
 
}}
   

Revision as of 18:58, August 9, 2016

MarkBlocked strikes out usernames that have been blocked. It is modified in order to be compatible with AjaxRC.

Customization

You can use window.mbTempStyle and window.mbIndefStyle to customize the username link styles. window.mbTempStyle is for usernames that are blocked temporarily, and window.mbIndefStyle are for those who are blocked indefinitely.

These are the default settings, which is loaded automatically when custom settings are not defined:

window.mbTempStyle = 'opacity: 0.7; text-decoration: line-through';
window.mbIndefStyle = 'opacity: 0.4; font-style: italic; text-decoration: line-through';
Community content is available under CC-BY-SA unless otherwise noted.