r47602 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47601‎ | r47602 | r47603 >
Date:09:07, 21 February 2009
Author:raymond
Status:ok (Comments)
Tags:
Comment:
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/Statistics/SMW_SpecialStatistics.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/Statistics/SMW_SpecialStatistics.php
@@ -35,14 +35,11 @@
3636 $wpurl = $sp->getFullURL();
3737 $sp = Title::makeTitle( NS_SPECIAL, 'UnusedProperties');
3838 $upurl = $sp->getFullURL();
39 - wfLoadExtensionMessages('SemanticMediaWiki');
40 - $out = wfMsg('smw_semstats_text',
41 - $wgLang->formatNum($semstats['PROPUSES']), $wgLang->formatNum($semstats['USEDPROPS']),
42 - $purl, $wgLang->formatNum($property_pages), $wgLang->formatNum($semstats['DECLPROPS']),
43 - $upurl, $wpurl);
 39+ wfLoadExtensionMessages( 'SemanticMediaWiki' );
 40+ $out = wfMsgExt( 'smw_semstats_text', array( 'parsemag' ),
 41+ $wgLang->formatNum( $semstats['PROPUSES'] ), $wgLang->formatNum( $semstats['USEDPROPS'] ),
 42+ $purl, $wgLang->formatNum( $property_pages ), $wgLang->formatNum( $semstats['DECLPROPS'] ),
 43+ $upurl, $wpurl );
4444
4545 $wgOut->addHTML( $out );
4646 }
47 -
48 -
49 -

Follow-up revisions

RevisionCommit summaryAuthorDate
r47696Follow up r47602/r47603: Parse the message properlyraymond09:45, 23 February 2009

Comments

#Comment by Siebrand (talk | contribs)   10:44, 21 February 2009

Followed up removing some unneeded parameters in r47603.

Status & tagging log