https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113002
Revision: 113002 Author: santhosh Date: 2012-03-05 06:28:47 +0000 (Mon, 05 Mar 2012) Log Message: ----------- Add a message in Special:MessageGroupStats if the group has priority languages. Modified Paths: -------------- trunk/extensions/Translate/specials/SpecialMessageGroupStats.php Modified: trunk/extensions/Translate/specials/SpecialMessageGroupStats.php =================================================================== --- trunk/extensions/Translate/specials/SpecialMessageGroupStats.php 2012-03-05 05:53:12 UTC (rev 113001) +++ trunk/extensions/Translate/specials/SpecialMessageGroupStats.php 2012-03-05 06:28:47 UTC (rev 113002) @@ -52,7 +52,12 @@ /// Overwritten from SpecialLanguageStats protected function outputIntroduction() { - return ''; + global $wgRequest, $wgOut; + $group = $wgRequest->getVal( 'group' ); + $priorityLangs = TranslateMetadata::get( $group, 'prioritylangs' ); + if( $priorityLangs ){ + $wgOut->addHTML( wfMsg('tpt-priority-languages', $priorityLangs ) ); + } } /// Overwriten from SpecialLanguageStats _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs