Jump to content

MediaWiki:Common.js: Difference between revisions

From nUSA Wiki
No edit summary
Tag: Reverted
Blanked the page
Tags: Blanking Manual revert
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
$(function() {


    if (mw.config.get('wgRestrictions') && mw.config.get('wgRestrictions').edit) {
        var protectionBanner = '{{ProtectionBanner}}';
       
        // Prepend the banner to the content
        $('#content').before(protectionBanner);
    }
});

Latest revision as of 01:01, 14 January 2025