Changes

Jump to navigation Jump to search
331 bytes added ,  18:01, 14 July 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")
 +
    }
 +
})
    
//
 
//

Navigation menu