SuperSajuuk (talk | contribs) m (formatting cleanup) |
No edit summary Tag: sourceedit |
||
Line 7: | Line 7: | ||
| Code = [[/code.js]] |
| Code = [[/code.js]] |
||
| Skins = Oasis |
| Skins = Oasis |
||
− | | Languages = |
+ | | Languages = All |
}} |
}} |
||
− | '''InputUsername''' is a plugin that shows your username on the page. |
+ | '''InputUsername''' is a plugin that shows your username on the page where designated. It only works for logged-in users. |
+ | |||
+ | If a user wishes to disable the replacement on a particular wiki (for instance if it is being added in a confusing way), he or she may add <source lang="javascript">window.disableUsernameReplace = true;</source> to their personal common.js file and the script will be ignored without affecting other users. |
||
{{Script Install |
{{Script Install |
Revision as of 16:28, 5 April 2015
InputUsername is a plugin that shows your username on the page where designated. It only works for logged-in users.
If a user wishes to disable the replacement on a particular wiki (for instance if it is being added in a confusing way), he or she may add
window.disableUsernameReplace = true;
to their personal common.js file and the script will be ignored without affecting other users.
Syntax
<span class="InputUsername">​</span>
Typically, this will be added as a template such as Template:USERNAME, which mimics existing magic words when added to a page, e.g. {{USERNAME}}