From: Shinjiman Date: Sat, 16 Aug 2008 10:09:18 +0000 (+0000) Subject: sequel of r38784, adding the test case for the 'submit' action X-Git-Tag: 1.31.0-rc.0~45876 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=d3f7a35bdfee32a3ad850c887fa61fe2e8b8117f;p=lhc%2Fweb%2Fwiklou.git sequel of r38784, adding the test case for the 'submit' action patch by PhiLiP --- diff --git a/languages/LanguageConverter.php b/languages/LanguageConverter.php index f6fb37e50b..b937915490 100644 --- a/languages/LanguageConverter.php +++ b/languages/LanguageConverter.php @@ -392,7 +392,7 @@ class LanguageConverter { $isredir = $wgRequest->getText( 'redirect', 'yes' ); $action = $wgRequest->getText( 'action' ); $linkconvert = $wgRequest->getText( 'linkconvert', 'yes' ); - if ( $isredir == 'no' || $action == 'edit' || $linkconvert == 'no' ) { + if ( $isredir == 'no' || $action == 'edit' || $action == 'submit' || $linkconvert == 'no' ) { return $text; } else { $this->mTitleDisplay = $this->convert($text); @@ -479,7 +479,7 @@ class LanguageConverter { $ns=NS_MAIN; - if ( $disableLinkConversion || $isredir == 'no' || $action == 'edit' + if ( $disableLinkConversion || $isredir == 'no' || $action == 'edit' || $action == 'submit' || $linkconvert == 'no' || $wgUser->getOption('noconvertlink') == 1 ) { return; }