* Fixed magic quotes in $_REQUEST, in Setup.php
[lhc/web/wiklou.git] / includes / SpecialExport.php
index 2a3291d..913ed72 100644 (file)
@@ -19,7 +19,8 @@ function wfSpecialExport( $page = "" ) {
        }
        
        $wgOut->addWikiText( wfMsg( "exporttext" ) );
-       $action = wfLocalUrlE( $wgLang->SpecialPage( "Export" ) );
+       $titleObj = Title::makeTitle( NS_SPECIAL, "Export" );
+       $action = $titleObj->getURL( "", true );
        $wgOut->addHTML( "
 <form method='post' action=\"$action\">
 <input type='hidden' name='action' value='submit' />