r59339 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59338‎ | r59339 | r59340 >
Date:18:57, 22 November 2009
Author:ialex
Status:ok
Tags:
Comment:
* Fix key in $wgExtensionMessagesFiles 'myextension' -> 'GroupsSidebar'
* Removed period in message for consistency with other messages
* Add extension to Translate
Modified paths:
  • /trunk/extensions/GroupsSidebar/GroupsSidebar.i18n.php (modified) (history)
  • /trunk/extensions/GroupsSidebar/GroupsSidebar.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -496,6 +496,8 @@
497497 descmsg = grouppermissions-desc
498498 optional = grouppermissions-display
499499
 500+Groups Sidebar
 501+
500502 Honeypot Integration
501503 descmsg = honeypot-desc
502504
Index: trunk/extensions/GroupsSidebar/GroupsSidebar.php
@@ -18,5 +18,5 @@
1919
2020 $wgAutoloadClasses['GroupsSidebar'] = $dir . 'GroupsSidebar.body.php'; # Tell MediaWiki to load the extension body.
2121 $wgHooks['SkinBuildSidebar'][] = array(new GroupsSidebar(), 'efHideSidebar');
22 -$wgExtensionMessagesFiles['myextension'] = $dir . 'GroupsSidebar.i18n.php';
 22+$wgExtensionMessagesFiles['GroupsSidebar'] = $dir . 'GroupsSidebar.i18n.php';
2323 $wgGroupsSidebar = array();
Index: trunk/extensions/GroupsSidebar/GroupsSidebar.i18n.php
@@ -1,6 +1,6 @@
22 <?php
33 $messages = array();
44 $messages['en'] = array(
5 - 'groupssidebar-desc' => 'This extension enables site admins to include sidebar elements for specific user groups.'
 5+ 'groupssidebar-desc' => 'This extension enables site admins to include sidebar elements for specific user groups'
66 );
77

Status & tagging log