Line 1: |
Line 1: |
− | /* Any JavaScript here will be loaded for all users on every page load. */ | + | // Show IP instead of "A wikia contributor" |
− | importScriptPage('User:CDRW/js/Popups.js', 'kancolle');
| + | window.RevealAnonIP = { |
− | importScriptPage('BackToTopButton/code.js', 'dev');
| + | permissions : ['user'] |
− | mw.loader.load('https://apis.google.com/js/platform.js'); /* Import Google+ javascript */
| + | }; |
− | importScriptPage('User:Dragonjet/js/VotingTemplate.js', 'kancolle');
| + | |
| + | // 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'); |