r93091 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93090‎ | r93091 | r93092 >
Date:19:11, 25 July 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
added user rights group
Modified paths:
  • /trunk/extensions/LiveTranslate/LiveTranslate.i18n.php (modified) (history)
  • /trunk/extensions/LiveTranslate/LiveTranslate.php (modified) (history)
  • /trunk/extensions/LiveTranslate/LiveTranslate_Settings.php (modified) (history)
  • /trunk/extensions/LiveTranslate/RELEASE-NOTES (modified) (history)

Diff [purge]

Index: trunk/extensions/LiveTranslate/LiveTranslate.i18n.php
@@ -17,6 +17,10 @@
1818 $messages['en'] = array(
1919 'livetranslate-desc' => 'Enables live translation of page content using the Google Translate service',
2020 'right-managetms' => '[[Special:SpecialLiveTranslate|Modify]] the list of translation memories',
 21+
 22+ 'group-tmxadmin' => 'TMX admins',
 23+ 'group-tmxadmin-member' => 'TMX admin',
 24+ 'grouppage-tmxadmin' => 'Project:TMX_admins',
2125
2226 // Translation interface
2327 'livetranslate-translate-to' => 'Translate this page to',
Index: trunk/extensions/LiveTranslate/LiveTranslate.php
@@ -24,7 +24,7 @@
2525 die( 'Not an entry point.' );
2626 }
2727
28 -define( 'LiveTranslate_VERSION', '1.1.1' );
 28+define( 'LiveTranslate_VERSION', '1.2 alpha' );
2929
3030 $wgExtensionCredits['other'][] = array(
3131 'path' => __FILE__,
Index: trunk/extensions/LiveTranslate/LiveTranslate_Settings.php
@@ -25,6 +25,7 @@
2626
2727 # Permission to mannage translation memories.
2828 $wgGroupPermissions['sysop']['managetms'] = true;
 29+$wgGroupPermissions['tmxadmin']['managetms'] = true;
2930
3031 # Default translation memory type.
3132 # TMT_LTF, TMT_TMX, TMT_GCSV
Index: trunk/extensions/LiveTranslate/RELEASE-NOTES
@@ -4,6 +4,11 @@
55 Latest version of the release notes: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/LiveTranslate/RELEASE-NOTES?view=co
66
77
 8+=== Version 1.2 ===
 9+2011-xx-xx
 10+
 11+* Added TMX admin user rights group.
 12+
813 === Version 1.1.1 ===
914 2011-06-22
1015

Status & tagging log