331 bytes removed ,  11:57, 21 August 2010
no edit summary
Line 1: Line 1:  
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
   −
  −
//Fix "Upload file" link when using the secure proxy
  −
//This is a workaround that can be removed when bug 10843 is fixed
  −
addOnloadHook(function()
  −
{
  −
    if (document.getElementById("t-upload"))
  −
    {
  −
        document.getElementById("t-upload").getElementsByTagName("a")[0].href = wgArticlePath.replace("$1", "Help:Upload")
  −
    }
  −
})
      
//
 
//