Board Thread:Support Requests - Getting Technical/@comment-4146635-20131120215300/@comment-4519283-20131124203933

I can't believe I didn't think of this sooner. The script is trying to change the contents of the page before the page has loaded. I just have to hook it into window.onload: // Special:Upload script by iggyvolz window.onload=function { if (wgPageName == 'Special:Upload') {       document.getElementById('mw-htmlform-description').childNodes[0].childNodes[6].style.display="none";  // Remove "licensing" tab document.getElementById('mw-htmlform-description').childNodes[0].childNodes[7].style.display="none"; // Remove space that was under "licensing" tab document.getElementById('wpUploadDescription').value=''; // Preload Template:Imagebox into description } }

I'm so sorry this is taking so long but this should be the final script needed.

The person uploading an image should see the format of Template:Infobox in the Description box that they should fill out. I could add a hook to ensure they fill this out if you'd like.