r96332 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96331‎ | r96332 | r96333 >
Date:13:51, 6 September 2011
Author:siebrand
Status:ok
Tags:
Comment:
Follow-up r95771: doxygen will allegedly pick it up now.
Modified paths:
  • /trunk/extensions/Translate/specials/SpecialLanguageStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/specials/SpecialLanguageStats.php
@@ -231,11 +231,11 @@
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 - // $out .= wfMessage( 'translate-somekey' );
239 - // }
 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+ /// $out .= wfMessage( 'translate-somekey' );
 239+ /// }
240240
241241 return $out;
242242 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95771Add small feature suggestion based on former live hack.siebrand13:04, 30 August 2011

Status & tagging log