r113215 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113214‎ | r113215 | r113216 >
Date:05:23, 7 March 2012
Author:santhosh
Status:ok
Tags:
Comment:
AggregateGroups needs an entry for $wgSpecialPageGroups
And special page title message changes.
Ping r113032
Modified paths:
  • /trunk/extensions/Translate/PageTranslation.i18n.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)
  • /trunk/extensions/Translate/specials/SpecialAggregateGroups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -82,6 +82,7 @@
8383 // Unlisted special page; does not need $wgSpecialPageGroups.
8484 $wgSpecialPages['MyLanguage'] = 'SpecialMyLanguage';
8585 $wgSpecialPages['AggregateGroups'] = 'SpecialAggregateGroups';
 86+$wgSpecialPageGroups['AggregateGroups'] = 'wiki';
8687
8788 // API
8889 $wgAPIListModules['messagecollection'] = 'ApiQueryMessageCollection';
Index: trunk/extensions/Translate/PageTranslation.i18n.php
@@ -111,8 +111,7 @@
112112 'tpt-render-summary' => 'Updating to match new version of source page',
113113
114114 'tpt-download-page' => 'Export page with translations',
115 -
116 - 'tpt-aggregategroups' => 'Aggregate Groups',
 115+ 'aggregategroups' => 'Aggregate Groups',
117116 'tpt-aggregategroup-add' => 'Add',
118117 'tpt-aggregategroup-save' => 'Save',
119118 'tpt-aggregategroup-add-new' => 'Add a new aggregate group',
@@ -276,7 +275,7 @@
277276 'tpt-discouraged-language-force' => 'Warning shown along with group description if the language is prevented from translation for the selected language',
278277 'tpt-discouraged-language' => 'Warning shown along with group description if the language is discouraged from translation for the selected language',
279278 'tpt-priority-languages' => 'Message to be shown before the messagestats table. $1 is a comma-separated list of language codes.',
280 - 'tpt-aggregategroups' => 'The title of the special page [[Special:AggregateGroups]]',
 279+ 'aggregategroups' => 'Title of [[Special:AggregateGroups]] and its name in [[Special:AggregateGroups]].',
281280 'tpt-aggregategroup-add' => 'Label for the button to add a new page to aggregate group in [[Special:AggregateGroups]]',
282281 'tpt-aggregategroup-save' => 'Label for the button to save a new aggregate group in [[Special:AggregateGroups]]',
283282 'tpt-aggregategroup-add-new' => 'Label for the link that gives a form to enter new group details in [[Special:AggregateGroups]]',
Index: trunk/extensions/Translate/specials/SpecialAggregateGroups.php
@@ -38,7 +38,6 @@
3939 $wgOut->permissionRequired( 'translate-manage' );
4040 return;
4141 }
42 - $wgOut->setPageTitle( wfMsg( 'tpt-aggregategroups' ) );
4342 $this->showAggregateGroups();
4443
4544 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113032Group translatable pages into aggregate groups, - Special page and associated...santhosh14:10, 5 March 2012

Status & tagging log