https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113215
Revision: 113215
Author: santhosh
Date: 2012-03-07 05:23:22 +0000 (Wed, 07 Mar 2012)
Log Message:
-----------
AggregateGroups needs an entry for $wgSpecialPageGroups
And special page title message changes.
Ping r113032
Modified Paths:
--------------
trunk/extensions/Translate/PageTranslation.i18n.php
trunk/extensions/Translate/Translate.php
trunk/extensions/Translate/specials/SpecialAggregateGroups.php
Modified: trunk/extensions/Translate/PageTranslation.i18n.php
===================================================================
--- trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-07 02:58:11 UTC
(rev 113214)
+++ trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-07 05:23:22 UTC
(rev 113215)
@@ -111,8 +111,7 @@
'tpt-render-summary' => 'Updating to match new version of source page',
'tpt-download-page' => 'Export page with translations',
-
- 'tpt-aggregategroups' => 'Aggregate Groups',
+ 'aggregategroups' => 'Aggregate Groups',
'tpt-aggregategroup-add' => 'Add',
'tpt-aggregategroup-save' => 'Save',
'tpt-aggregategroup-add-new' => 'Add a new aggregate group',
@@ -276,7 +275,7 @@
'tpt-discouraged-language-force' => 'Warning shown along with group
description if the language is prevented from translation for the selected
language',
'tpt-discouraged-language' => 'Warning shown along with group
description if the language is discouraged from translation for the selected
language',
'tpt-priority-languages' => 'Message to be shown before the
messagestats table. $1 is a comma-separated list of language codes.',
- 'tpt-aggregategroups' => 'The title of the special page
[[Special:AggregateGroups]]',
+ 'aggregategroups' => 'Title of [[Special:AggregateGroups]] and its name
in [[Special:AggregateGroups]].',
'tpt-aggregategroup-add' => 'Label for the button to add a new page to
aggregate group in [[Special:AggregateGroups]]',
'tpt-aggregategroup-save' => 'Label for the button to save a new
aggregate group in [[Special:AggregateGroups]]',
'tpt-aggregategroup-add-new' => 'Label for the link that gives a form
to enter new group details in [[Special:AggregateGroups]]',
Modified: trunk/extensions/Translate/Translate.php
===================================================================
--- trunk/extensions/Translate/Translate.php 2012-03-07 02:58:11 UTC (rev
113214)
+++ trunk/extensions/Translate/Translate.php 2012-03-07 05:23:22 UTC (rev
113215)
@@ -82,6 +82,7 @@
// Unlisted special page; does not need $wgSpecialPageGroups.
$wgSpecialPages['MyLanguage'] = 'SpecialMyLanguage';
$wgSpecialPages['AggregateGroups'] = 'SpecialAggregateGroups';
+$wgSpecialPageGroups['AggregateGroups'] = 'wiki';
// API
$wgAPIListModules['messagecollection'] = 'ApiQueryMessageCollection';
Modified: trunk/extensions/Translate/specials/SpecialAggregateGroups.php
===================================================================
--- trunk/extensions/Translate/specials/SpecialAggregateGroups.php
2012-03-07 02:58:11 UTC (rev 113214)
+++ trunk/extensions/Translate/specials/SpecialAggregateGroups.php
2012-03-07 05:23:22 UTC (rev 113215)
@@ -38,7 +38,6 @@
$wgOut->permissionRequired( 'translate-manage' );
return;
}
- $wgOut->setPageTitle( wfMsg( 'tpt-aggregategroups' ) );
$this->showAggregateGroups();
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs