r95771 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95770‎ | r95771 | r95772 >
Date:13:04, 30 August 2011
Author:siebrand
Status:ok
Tags:
Comment:
Add small feature suggestion based on former live hack.
Modified paths:
  • /trunk/extensions/Translate/specials/SpecialLanguageStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/specials/SpecialLanguageStats.php
@@ -231,6 +231,13 @@
232232 $out = wfMsgExt( 'translate-nothing-to-do', 'parse' );
233233 }
234234
 235+ // @todo: Allow extra message here, once total translated volume goes
 236+ // over a certain percentage? (former live hack at translatewiki)
 237+ // if ( $this->totals['2'] && ( $this->totals['1'] / $this->totals['2'] ) > 0.95 ) {
 238+ // global $wgOut;
 239+ // $out .= $wfMessage( 'translate-somekey' );
 240+ // }
 241+
235242 return $out;
236243 }
237244

Follow-up revisions

RevisionCommit summaryAuthorDate
r95772Fix comments added in r95771. Thanks ialex.siebrand13:07, 30 August 2011
r96332Follow-up r95771: doxygen will allegedly pick it up now.siebrand13:51, 6 September 2011

Status & tagging log