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), they can add
window.disableUsernameReplace = true;
to their personal common.js page and the script will be ignored without affecting other users.
window.UsernameReplaceSelector = '.custom';
can be used to add a selector to the script.
Whatever is between the
<span class="InputUsername"> and the
</span> is the text to display if the current viewer isn't signed into an account.
Hello, <span class="InputUsername">anonymous user</span>!
- Hello, anonymous user!