$reupload = wfMsg( "reupload" );
$iw = wfMsg( "ignorewarning" );
$reup = wfMsg( "reuploaddesc" );
- $action = wfLocalUrlE( $wgLang->specialPage( "Upload" ),
- "action=submit" );
+ $titleObj = Title::makeTitle( NS_SPECIAL, "Upload" );
+ $action = $titleObj->getURL( "action=submit", true );
if ( $wgUseCopyrightUpload )
{
$ca = wfMsg( "affirmation", $clink );
$iw = wfMsg( "ignorewarning" );
- $action = wfLocalUrl( $wgLang->specialPage( "Upload" ) );
+ $titleObj = Title::makeTitle( NS_SPECIAL, "Upload" );
+ $action = $titleObj->getURL( "", true );
$source = "
<td align=right>