r51699 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51698‎ | r51699 | r51700 >
Date:18:04, 10 June 2009
Author:purodha
Status:resolved (Comments)
Tags:
Comment:
Adding GENDER and PLURAL capability to message, following request of EugeneZelenko at
http://translatewiki.net/w/i.php?title=Support&oldid=1252184#Contributionseditcount_should_support_PLURAL_and_GENDER
Modified paths:
  • /trunk/extensions/Contributionseditcount/Contributionseditcount.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contributionseditcount/Contributionseditcount.php
@@ -40,7 +40,9 @@
4141 global $wgOut, $wgLang;
4242 if ( $uid != 0 )
4343 wfLoadExtensionMessages( 'Contributionseditcount' );
44 - $wgOut->addWikiText( wfMsg( 'contributionseditcount', $wgLang->formatNum( User::edits( $uid ) ) ) );
 44+ $wgOut->addWikiText( wfMsgExt( 'contributionseditcount', array(),
 45+ $wgLang->formatNum( User::edits( $uid ) ),
 46+ User::whoIs( $uid ) ) );
4547 return true;
4648 }
4749 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r51712Followup to r51699: Actually parse the message, wfMsgExt() by itself doesn't ...demon22:12, 10 June 2009

Comments

#Comment by Siebrand (talk | contribs)   18:58, 10 June 2009

Empty parameter 2 for wfMsgExt?

#Comment by 😂 (talk | contribs)   22:12, 10 June 2009

Resolved in r51712

Status & tagging log