User:PSL600/common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "→‎Users blocked infinite: window.addEventListener('load', function() { // Timeouts are always a terrible way to go, but UserTags has no event dispatched when it finishe...")
 
No edit summary
Line 1: Line 1:
/* Replaces {{USERNAME}} with the name of the user browsing the page.
  Requires copying Template:USERNAME. */
$(function UserNameReplace() {
    if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName === null) return;
    $("span.insertusername").html(wgUserName);
});
/* End of the {{USERNAME}} replacement */
// RevealAnonIP
window.RevealAnonIP = {
    permissions: ['rollback', 'sysop', 'bureaucrat']
};
/* Auto updating recent changes opt-in
  * See w:c:dev:AjaxRC for info & attribution
  */
AjaxRCRefreshText = 'Auto-Refresh';
AjaxRCRefreshHoverText = 'Automatically refresh the page';
ajaxPages = ["Special:RecentChanges","Special:WikiActivity","Special:UncategorizedPages","Special:AllPages"];
importScriptPage('AjaxRC/code.js', 'dev');
window.UserTagsJS = {
modules: {},
tags: {},
oasisPlaceBefore: ''
};
/* Users blocked infinite */
/* Users blocked infinite */
window.addEventListener('load', function() {
window.addEventListener('load', function() {
132

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu