r60559 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60558‎ | r60559 | r60560 >
Date:15:03, 2 January 2010
Author:btongminh
Status:reverted (Comments)
Tags:
Comment:
Fix for r58980: use wfMsgForContent
Modified paths:
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -742,8 +742,8 @@
743743 if ( ( $wgArticle && $wgArticle->isCurrent() && $istalk ) || $wgOut->showNewSectionLink() ) {
744744 if ( !$wgOut->forceHideNewSectionLink() ) {
745745 $urlArgs = 'action=edit&section=new';
746 - $preloadMsg = wfMsg( 'talk-addsection-preload' );
747 - $editintroMsg = wfMsg( 'talk-addsection-editintro' );
 746+ $preloadMsg = wfMsgForContent( 'talk-addsection-preload' );
 747+ $editintroMsg = wfMsgForContent( 'talk-addsection-editintro' );
748748 if( '' != $preloadMsg ) {
749749 $urlArgs .= '&preload=' . urlencode( $preloadMsg );
750750 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r58980* (bug 17662) Customizable default preload/editintro in add-new-section link ...btongminh22:35, 12 November 2009

Comments

#Comment by Bryan (talk | contribs)   11:55, 11 January 2010

Status & tagging log