r5959 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r5958‎ | r5959 | r5960 >
Date:00:54, 18 October 2004
Author:zhengzhu
Status:old
Tags:
Comment:
toc should be translated using content language
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Skin.php
@@ -2569,7 +2569,7 @@
25702570 $hideline = ' <script type="text/javascript">showTocToggle("' . addslashes( wfMsg('showtoc') ) . '","' . addslashes( wfMsg('hidetoc') ) . '")</script>';
25712571 return
25722572 '<table border="0" id="toc"><tr id="toctitle"><td align="center">'."\n".
2573 - '<b>'.wfMsg('toc').'</b>' .
 2573+ '<b>'.wfMsgForContent('toc').'</b>' .
25742574 $hideline .
25752575 '</td></tr><tr id="tocinside"><td>'."\n".
25762576 $toc."</td></tr></table>\n";

Status & tagging log