* Made special page names case-insensitive and localisable. Care has been taken to...
[lhc/web/wiklou.git] / includes / SpecialExport.php
index dc52e00..d387f3d 100644 (file)
@@ -123,7 +123,7 @@ function wfSpecialExport( $page = '' ) {
        }
 
        $wgOut->addWikiText( wfMsg( "exporttext" ) );
-       $titleObj = Title::makeTitle( NS_SPECIAL, "Export" );
+       $titleObj = SpecialPage::getTitleFor( "Export" );
        
        $form = wfOpenElement( 'form', array( 'method' => 'post', 'action' => $titleObj->getLocalUrl() ) );
        $form .= wfOpenElement( 'textarea', array( 'name' => 'pages', 'cols' => 40, 'rows' => 10 ) ) . '</textarea><br />';