From: Rob Church Date: Wed, 18 Jul 2007 19:48:43 +0000 (+0000) Subject: Fix double-escaping X-Git-Tag: 1.31.0-rc.0~52026 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=09e84a61e6a6fe0e4b835b0db8a0bdb92843ee87;p=lhc%2Fweb%2Fwiklou.git Fix double-escaping --- diff --git a/includes/SpecialImport.php b/includes/SpecialImport.php index 7b1d68b73f..c694e2bf56 100644 --- a/includes/SpecialImport.php +++ b/includes/SpecialImport.php @@ -94,7 +94,7 @@ function wfSpecialImport( $page = '' ) { } } - $action = $wgTitle->escapeLocalUrl( 'action=submit' ); + $action = $wgTitle->getLocalUrl( 'action=submit' ); if( $wgUser->isAllowed( 'importupload' ) ) { $wgOut->addWikiText( wfMsg( "importtext" ) );