• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "MediaWiki:Common.js"

From Kancolle Wiki
Jump to navigation Jump to search
m (test comment thread to be closed)
m (back to the drawing board for closing threads)
Line 1: Line 1:
console.log("KanColle Wiki Script 005");
+
console.log("KanColle Wiki Script 006");
  
 
// Show IP instead of "A wikia contributor"
 
// Show IP instead of "A wikia contributor"
Line 5: Line 5:
 
     permissions : ['user']
 
     permissions : ['user']
 
};
 
};
 
// Close Article Comment Threads
 
window.CloseThread = [155447,158461];
 
  
 
// Google+ JS
 
// Google+ JS
Line 20: Line 17:
 
         "w:c:dev:RevealAnonIP/code.js",
 
         "w:c:dev:RevealAnonIP/code.js",
 
         "w:c:dev:Countdown/code.js",
 
         "w:c:dev:Countdown/code.js",
         "User:Dragonjet/scripts/SidebarBox.js",
+
         "User:Dragonjet/scripts/SidebarBox.js"
        "User:Dragonjet/scripts/CloseThread.js"
 
 
     ]
 
     ]
 
});
 
});

Revision as of 11:28, 8 January 2015

console.log("KanColle Wiki Script 006");

// Show IP instead of "A wikia contributor"
window.RevealAnonIP = {
    permissions : ['user']
};

// Google+ JS
mw.loader.load('https://apis.google.com/js/platform.js');

// Import external scripts
importArticles({
    type: "script",
    articles: [
        "User:CDRW/js/Popups.js",
        "w:c:dev:BackToTopButton/code.js",
        "w:c:dev:RevealAnonIP/code.js",
        "w:c:dev:Countdown/code.js",
        "User:Dragonjet/scripts/SidebarBox.js"
    ]
});