r90045 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90044‎ | r90045 | r90046 >
Date:14:21, 14 June 2011
Author:werdna
Status:ok
Tags:
Comment:
Rename messages file (apparently it helps the Translate extension)
Modified paths:
  • /trunk/extensions/MoodBar/Messages.php (deleted) (history)
  • /trunk/extensions/MoodBar/MoodBar.i18n.php (added) (history)
  • /trunk/extensions/MoodBar/MoodBar.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/Messages.php
@@ -1,5 +0,0 @@
2 -<?php
3 -
4 -$messages['en'] = array(
5 - 'moodbar-desc' => 'Allows specified users to send their "mood" back to the site operator.",
6 -);
Index: trunk/extensions/MoodBar/MoodBar.i18n.php
@@ -0,0 +1,5 @@
 2+<?php
 3+
 4+$messages['en'] = array(
 5+ 'moodbar-desc' => 'Allows specified users to send their "mood" back to the site operator.",
 6+);
Index: trunk/extensions/MoodBar/MoodBar.php
@@ -26,7 +26,7 @@
2727 $wgHooks['LoadExtensionSchemaUpdates'][] = 'MoodBarHooks::onLoadExtensionSchemaUpdates';
2828
2929 // Internationalisation
30 -$wgExtensionMessagesFiles = dirname(__FILE__).'/Messages.php';
 30+$wgExtensionMessagesFiles = dirname(__FILE__).'/MoodBar.i18n.php';
3131
3232 // Resources
3333 $mbResourceTemplate = array(

Status & tagging log