🏳️‍🌈Happy pride month to all ppl.🏳️‍⚧️ --Screamer1234 (talk) 17:03, 31 May 2024 (MST)

MediaWiki:Common.js: Difference between revisions

Jump to: navigation, search
no edit summary
No edit summary
No edit summary
Line 33: Line 33:
         ).addClass('loaded');
         ).addClass('loaded');
     });
     });
});
/* 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);
}
addOnloadHook(UserNameReplace);
importArticles({
    type: 'script',
    articles: [
        'u:dev:MediaWiki:YoutubePlayer/code.js'
    ]
});
});

Navigation menu