r36195 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36194‎ | r36195 | r36196 >
Date:17:45, 11 June 2008
Author:brion
Status:old
Tags:
Comment:
cleanup for r36190 -- remove extra parameters left over from wfMsgExt() call
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -650,7 +650,7 @@
651651 return;
652652 }
653653 $wgOut->addHTML( "<div id='mw-imagepage-section-linkstoimage'>\n" );
654 - $wgOut->addWikiMsg( 'linkstoimage', $count, array( 'parsemag' ) );
 654+ $wgOut->addWikiMsg( 'linkstoimage', $count );
655655 $wgOut->addHTML( "<ul class='mw-imagepage-linktoimage'>\n" );
656656
657657 $sk = $wgUser->getSkin();
@@ -680,7 +680,7 @@
681681 if ( count( $redirects ) == 0 ) return;
682682
683683 $wgOut->addHTML( "<div id='mw-imagepage-section-redirectstofile'>\n" );
684 - $wgOut->addWikiMsg( 'redirectstofile', count( $redirects ), array( 'parsemag' ) );
 684+ $wgOut->addWikiMsg( 'redirectstofile', count( $redirects ) );
685685 $wgOut->addHTML( "<ul class='mw-imagepage-redirectstofile'>\n" );
686686
687687 $sk = $wgUser->getSkin();
@@ -701,7 +701,7 @@
702702 if ( count( $dupes ) == 0 ) return;
703703
704704 $wgOut->addHTML( "<div id='mw-imagepage-section-duplicates'>\n" );
705 - $wgOut->addWikiMsg( 'duplicatesoffile', count( $dupes ), array( 'parsemag' ) );
 705+ $wgOut->addWikiMsg( 'duplicatesoffile', count( $dupes ) );
706706 $wgOut->addHTML( "<ul class='mw-imagepage-duplicates'>\n" );
707707
708708 $sk = $wgUser->getSkin();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r36190Tweak for r36189: Back to addWikiMsg but now with the appropriate parameter. ...raymond12:53, 11 June 2008

Status & tagging log