Changes

Jump to navigation Jump to search
no edit summary
Line 8: Line 8:     
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 16: Line 17:  
                 + "}"+"}\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"){
    
editbox.value = "{"+"{Information\n"
 
editbox.value = "{"+"{Information\n"
Line 22: Line 24:  
               + "|Source=Own Work\n"
 
               + "|Source=Own Work\n"
 
               + "|Date=\n"
 
               + "|Date=\n"
 
+
              + "|Author=" + "\[\[User:" + wgUserName + "|" + wgUserName + "\]\]" + "\n"
              + "|Author=" + "\[\[User:" + wgUserName + "|" + wgUserName + "\]\]" + "\n"
   
               + "|Permission=See below\n"
 
               + "|Permission=See below\n"
 
               + "}"+"}\n\n";
 
               + "}"+"}\n\n";
 
  }
 
  }
 +
 
}
 
}
 
addOnloadHook(delayedUpdateSpecialUpload);
 
addOnloadHook(delayedUpdateSpecialUpload);

Navigation menu