Changes

Jump to navigation Jump to search
4 bytes removed ,  16:49, 14 July 2010
no edit summary
Line 4: Line 4:  
// Insert a personalized Texttemplate into the Special:Upload edit box.
 
// Insert a personalized Texttemplate into the Special:Upload edit box.
 
//
 
//
function delayedUpdateSpecialUpload()
+
function delayedUpdateSpecialUpload(){
{
+
var editbox = document.getElementById('wpUploadDescription');  
var editbox = document.getElementById('wpUploadDescription');  
     −
if (location.href == "http://wikivet.net/index.php?title=Special:Upload")
+
if (location.href == "http://wikivet.net/index.php?title=Special:Upload"){
{
   
  editbox.value = "{"+"{Information\n"
 
  editbox.value = "{"+"{Information\n"
 
                 + "|Description=\n"
 
                 + "|Description=\n"
Line 18: Line 16:  
                 + "}"+"}\n\n";
 
                 + "}"+"}\n\n";
 
  }
 
  }
   
if(location.href == "http://wikivet.net/index.php?title=Special:Upload&uselang=own"){
 
if(location.href == "http://wikivet.net/index.php?title=Special:Upload&uselang=own"){
   Line 29: Line 26:  
               + "|Permission=See below\n"
 
               + "|Permission=See below\n"
 
               + "}"+"}\n\n";
 
               + "}"+"}\n\n";
}
+
}
 
}
 
}
 
addOnloadHook(delayedUpdateSpecialUpload);
 
addOnloadHook(delayedUpdateSpecialUpload);

Navigation menu