Got a spare minute? The Archives need some love. See the to-do list to find a way to help.
If you upload a new image make sure you name and categorize it properly. If in doubt, ask an admin or see our FAQ page.

User:Abcboy/common.js: Difference between revisions

From Bulbagarden Archives
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
if (wgNamespaceNumber==6 && wgAction=='view') {
if (mw.config.get('wgNamespaceNumber') == 6 && mw.config.get('wgAction') == 'view') {
importScriptURI('http://toolserver.org/~dapete/ime/ime.js');
importScriptURI('http://toolserver.org/~dapete/ime/ime.js');
}
}

Revision as of 07:10, 22 April 2021

if (mw.config.get('wgNamespaceNumber') == 6 && mw.config.get('wgAction') == 'view') {
	importScriptURI('http://toolserver.org/~dapete/ime/ime.js');
}