Changes

Jump to navigation Jump to search
442 bytes removed ,  22:17, 14 July 2010
no edit summary
Line 17: Line 17:  
var editbox = document.getElementById('wpUploadDescription');  
 
var editbox = document.getElementById('wpUploadDescription');  
   −
if (location.href == ("http://www.wikivet.net/index.php/Special:Upload"){
+
if (location.href == "http://wikivet.net/index.php/Special:Upload"){
    
  editbox.value = "{"+"{Information\n"
 
  editbox.value = "{"+"{Information\n"
Line 27: Line 27:  
                 + "|Other_versions=\n"
 
                 + "|Other_versions=\n"
 
                 + "}"+"}\n\n";
 
                 + "}"+"}\n\n";
  }else{
+
  }
   −
if (location.href == ("http://wikivet.net/index.php/Special:Upload"){
+
if (location.href == "http://wikivet.net/index.php?title=Special:Upload&uselang=own"){
 
  −
editbox.value = "{"+"{Information\n"
  −
                + "|Description=\n"
  −
                + "|Source=\n"
  −
                + "|Date=\n"
  −
                + "|Author=\n"
  −
                + "|Permission=See below\n"
  −
                + "|Other_versions=\n"
  −
                + "}"+"}\n\n";
  −
};
  −
};
  −
 
  −
if (location.href == ("http://wikivet.net/index.php?title=Special:Upload&uselang=own" || "http://www.wikivet.net/index.php?title=Special:Upload&uselang=own")){
      
editbox.value = "{"+"{Information\n"
 
editbox.value = "{"+"{Information\n"
Line 51: Line 38:  
               + "|Permission=See below\n"
 
               + "|Permission=See below\n"
 
               + "}"+"}\n\n";
 
               + "}"+"}\n\n";
  };
+
  }
    
}
 
}

Navigation menu