User:A.allison/Special Upload Changes

Changes made to file 'SpecialUpload.php' located under '/includes/specials/'.

Added at line 864:

<syntaxhighlight lang="php"> $url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; if ($url == "http://wikivet.net/index.php/Special:Upload"){ $editbox = "Template:Information\n\n\n"; }elseif ($url == "http://wikivet.net/index.php?title=Special:Upload&uselang=own"){ $user = $wgUser->getName(); $date = date("m.d.Y, H:i"); $editbox = "Template:Information\n\n\n"; }else /*($end['path'] == "/index.php")*/{

  1. $end = parse_url($url);

$editbox = "Template:Information\n\n\n"; } </syntaxhighlight>