dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5d587f
)
Bypass conversion if the page being displayed is the conversion table
author
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Thu, 21 Apr 2005 00:38:32 +0000
(
00:38
+0000)
committer
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Thu, 21 Apr 2005 00:38:32 +0000
(
00:38
+0000)
languages/LanguageConverter.php
patch
|
blob
|
history
diff --git
a/languages/LanguageConverter.php
b/languages/LanguageConverter.php
index
5a13497
..
95c4fdb
100644
(file)
--- a/
languages/LanguageConverter.php
+++ b/
languages/LanguageConverter.php
@@
-186,6
+186,12
@@
class LanguageConverter {
*/
function convert( $text , $isTitle=false) {
global $wgDisableLangConversion;
+ global $wgTitle;
+
+ /* don't do anything if this is the conversion table */
+ if($wgTitle->getNamespace() == NS_MEDIAWIKI &&
+ strpos($wgTitle->getText(), "Conversiontable")!==false)
+ return $text;
if($wgDisableLangConversion)
return $text;