r35809 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35808‎ | r35809 | r35810 >
Date:18:35, 3 June 2008
Author:siebrand
Status:old
Tags:
Comment:
Add support for TorBlock
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -11,7 +11,7 @@
1212 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1313 */
1414
15 -define( 'TRANSLATE_VERSION', '8.40' );
 15+define( 'TRANSLATE_VERSION', '8.41' );
1616
1717 $wgExtensionCredits['specialpage'][] = array(
1818 'name' => 'Translate',
@@ -309,6 +309,7 @@
310310 'ext-todotasks' => 'TodoTasksMessageGroup',
311311 'ext-tooltip' => 'TooltipMessageGroup',
312312 'ext-translate' => 'TranslateMessageGroup',
 313+'ext-torblock' => 'TorBlockMessageGroup',
313314 'ext-usagestatistics' => 'UsageStatisticsMessageGroup',
314315 'ext-usercontactlinks' => 'UserContactLinksMessageGroup',
315316 'ext-userimages' => 'UserImagesMessageGroup',
Index: trunk/extensions/Translate/MessageGroups.php
@@ -2619,6 +2619,16 @@
26202620 );
26212621 }
26222622
 2623+class TorBlockMessageGroup extends ExtensionMessageGroup {
 2624+ protected $label = 'TOr Block';
 2625+ protected $id = 'ext-torblock';
 2626+
 2627+ protected $arrName = 'messages';
 2628+ protected $messageFile = 'TorBlock/TorBlock.i18n.php';
 2629+}
 2630+
 2631+
 2632+
26232633 class UsageStatisticsMessageGroup extends ExtensionMessageGroup {
26242634 protected $label = 'Usage Statistics';
26252635 protected $id = 'ext-usagestatistics';

Status & tagging log