Pass array to Title::getLocalURL instead of an urlencoded string
[lhc/web/wiklou.git] / includes / parser / Parser.php
index 47a09c4..836ddf5 100644 (file)
@@ -3805,7 +3805,7 @@ class Parser {
                        return wfMessage( 'scarytranscludedisabled' )->inContentLanguage()->text();
                }
 
-               $url = $title->getFullURL( "action=$action" );
+               $url = $title->getFullURL( array( 'action' => $action ) );
 
                if ( strlen( $url ) > 255 ) {
                        return wfMessage( 'scarytranscludetoolong' )->inContentLanguage()->text();