r5555 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r5554‎ | r5555 | r5556 >
Date:23:45, 26 September 2004
Author:zhengzhu
Status:old
Tags:
Comment:
Use wfMsgForContent() when making links
Modified paths:
  • /trunk/phase3/includes/SkinPHPTal.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinPHPTal.php
@@ -571,7 +571,7 @@
572572 foreach ( $wgNavigationLinks as $link ) {
573573 $result[] = array(
574574 'text' => wfMsg( $link['text'] ),
575 - 'href' => $this->makeInternalOrExternalUrl( wfMsg( $link['href'] ) ),
 575+ 'href' => $this->makeInternalOrExternalUrl( wfMsgForContent( $link['href'] ) ),
576576 'id' => 'n-'.$link['text']
577577 );
578578 }

Status & tagging log