r26149 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26148‎ | r26149 | r26150 >
Date:11:36, 26 September 2007
Author:raymond
Status:old
Tags:
Comment:
Change message function to make usage of {{PLURAL:}} in 'restorelink' the same way as Skin.php uses it.
Modified paths:
  • /trunk/phase3/includes/SpecialUpload.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialUpload.php
@@ -820,7 +820,7 @@
821821 array( 'parse', 'replaceafter' ),
822822 $wgUser->getSkin()->makeKnownLinkObj(
823823 SpecialPage::getTitleFor( 'Undelete', $title->getPrefixedText() ),
824 - wfMsgHtml( 'restorelink', $count )
 824+ wfMsgExt( 'restorelink', array( 'parsemag', 'escape' ), $count )
825825 )
826826 );
827827 $wgOut->addHtml( "<div id=\"contentSub2\">{$link}</div>" );

Follow-up revisions

RevisionCommit summaryAuthorDate
r26257Merged revisions 26134-26247 via svnmerge from...david19:06, 30 September 2007

Status & tagging log