MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
if (mw.config.get('wgNamespaceNumber')==6 && mw.config.get('wgAction')=='view') { | if (mw.config.get('wgNamespaceNumber')==6 && mw.config.get('wgAction')=='view') { | ||
mw.loader.load('//imagemapedit.toolforge.org/ime.js'); | mw.loader.load('//imagemapedit.toolforge.org/ime.js'); | ||
alert('loaded'); | |||
} else { | |||
alert('failed to load'); | |||
} | } | ||
Revision as of 14:34, 16 November 2022
if (mw.config.get('wgNamespaceNumber')==6 && mw.config.get('wgAction')=='view') { mw.loader.load('//imagemapedit.toolforge.org/ime.js'); alert('loaded'); } else { alert('failed to load'); } //$(document).ready( // function() { //let tree = $('#wikitext-sidebar'); //$('#p-logo').after( tree.html() ); //tree.remove(); // } //); //alert('test');