r8765 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r8764‎ | r8765 | r8766 >
Date:01:11, 1 May 2005
Author:zhengzhu
Status:old
Tags:
Comment:
convert link text for category link
Modified paths:
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -1341,7 +1341,7 @@
13421342
13431343 if ( $ns == NS_CATEGORY ) {
13441344 wfProfileIn( "$fname-category" );
1345 - $t = $nt->getText();
 1345+ $t = $wgContLang->convert($nt->getText());
13461346 $s = rtrim($s . "\n"); # bug 87
13471347
13481348 $wgLinkCache->suspend(); # Don't save in links/brokenlinks

Status & tagging log