User:Zyephyrus/common.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
importScript('User:Rillke/bigChunkedUpload.js');



mw.loader.load("//www.mediawiki.org/w/index.php?title=User:Magnus_Manske/wikipic.js&action=raw&ctype=text/javascript");

mw.loader.load('http://toolserver.org/~dapete/ime/ime.js');




/* plain upload form */
$(function () {
   var upLI = document.getElementById('n-uploadbtn');
   var upA = upLI.getElementsByTagName('A')[0];
       upA.href = wgScript + '?title=Special:Upload&uploadformstyle=basic';
 
   if (document.getElementById('wpUploadDescription'))
      document.getElementById('wpUploadDescription').style.height = '170px';
});