Anonymous
×
Create a new article
Write your page title here:
We currently have 5 articles on CATCRAFT WIKI. Type your article name above or click on one of the titles below and start writing!



CATCRAFT WIKI

File:2020-12-14 22.27.13.png and MediaWiki:Common.js: Difference between pages

(Difference between pages)
No edit summary
 
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: // Hide the toolbar for everyone except the owner mw.loader.using('mediawiki.util', function () { if (mw.config.get('wgUserName') !== 'DarkChroma') { var toolbar = document.getElementById('p-tb'); if (toolbar) { toolbar.style.display = 'none'; } } });")
 
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
// Hide the toolbar for everyone except the owner
mw.loader.using('mediawiki.util', function () {
    if (mw.config.get('wgUserName') !== 'DarkChroma') {
        var toolbar = document.getElementById('p-tb');
        if (toolbar) {
            toolbar.style.display = 'none';
        }
    }
});

Revision as of 11:30, 5 May 2023

/* Any JavaScript here will be loaded for all users on every page load. */
// Hide the toolbar for everyone except the owner
mw.loader.using('mediawiki.util', function () {
    if (mw.config.get('wgUserName') !== 'DarkChroma') {
        var toolbar = document.getElementById('p-tb');
        if (toolbar) {
            toolbar.style.display = 'none';
        }
    }
});

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current03:21, 5 May 2023Thumbnail for version as of 03:21, 5 May 2023340 × 180 (93 KB)DarkChroma (talk | contribs)

The following page uses this file:

Metadata