r80820 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80819‎ | r80820 | r80821 >
Date:16:50, 23 January 2011
Author:ialex
Status:deferred
Tags:
Comment:
Made 'mvadmin' a normal message
Modified paths:
  • /trunk/extensions/MetavidWiki/includes/specials/MV_SpecialMVAdmin.php (modified) (history)
  • /trunk/extensions/MetavidWiki/languages/MV_Messages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/includes/specials/MV_SpecialMVAdmin.php
@@ -31,8 +31,6 @@
3232 * Constructor
3333 */
3434 public function __construct() {
35 - global $wgMessageCache; // /TODO: should these be messages?
36 - $wgMessageCache->addMessages( array( 'mvadmin' => 'Admin functions for MetavidWiki' ) );
3735 parent::__construct( 'MVAdmin', 'delete' );
3836 }
3937
Index: trunk/extensions/MetavidWiki/languages/MV_Messages.php
@@ -14,6 +14,8 @@
1515
1616 'mv-desc' => '[http://metavid.org/wiki/MetaVidWiki_Software Video Metadata Editor & Media Search]',
1717
 18+ 'mvadmin' => 'Admin functions for MetavidWiki',
 19+
1820 # javascript mappings have moved to /js/mwEmbed/languages (so mwEmbed is more self contained)
1921
2022 # normal php based msg keys:

Status & tagging log