- 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"
Jump to navigation
Jump to search
>CDRW |
(Import new scripts) |
||
Line 1: | Line 1: | ||
− | / | + | // Show IP instead of "A wikia contributor" |
− | + | window.RevealAnonIP = { | |
− | + | permissions : ['user'] | |
− | + | }; | |
− | + | ||
+ | // Close Article Comment Threads | ||
+ | window.CloseThread = [155447,158452]; | ||
+ | |||
+ | // Import external scripts | ||
+ | importArticles({ | ||
+ | type: "script", | ||
+ | articles: [ | ||
+ | "User:CDRW/js/Popups.js", | ||
+ | "w:c:dev:BackToTopButton/code.js", | ||
+ | "https://apis.google.com/js/platform.js", | ||
+ | "w:c:dev:RevealAnonIP/code.js", | ||
+ | "w:c:dev:Countdown/code.js", | ||
+ | "User:Dragonjet/scripts/CloseThread.js" | ||
+ | ] | ||
+ | }); | ||
+ | |||
+ | // Google+ JS | ||
+ | mw.loader.load('https://apis.google.com/js/platform.js'); |
Revision as of 10:28, 8 January 2015
// Show IP instead of "A wikia contributor"
window.RevealAnonIP = {
permissions : ['user']
};
// Close Article Comment Threads
window.CloseThread = [155447,158452];
// Import external scripts
importArticles({
type: "script",
articles: [
"User:CDRW/js/Popups.js",
"w:c:dev:BackToTopButton/code.js",
"https://apis.google.com/js/platform.js",
"w:c:dev:RevealAnonIP/code.js",
"w:c:dev:Countdown/code.js",
"User:Dragonjet/scripts/CloseThread.js"
]
});
// Google+ JS
mw.loader.load('https://apis.google.com/js/platform.js');