r71161 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71160‎ | r71161 | r71162 >
Date:12:42, 16 August 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Prefixed special page title messages with special-
Modified paths:
  • /trunk/extensions/Deployment/Deployment.i18n.php (modified) (history)
  • /trunk/extensions/Deployment/specials/SpecialDashboard.php (modified) (history)
  • /trunk/extensions/Deployment/specials/SpecialExtensions.php (modified) (history)
  • /trunk/extensions/Deployment/specials/SpecialInstall.php (modified) (history)
  • /trunk/extensions/Deployment/specials/SpecialUpdate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Deployment/specials/SpecialExtensions.php
@@ -44,6 +44,13 @@
4545 public function __construct() {
4646 parent::__construct( 'Extensions' );
4747 }
 48+
 49+ /**
 50+ * @see SpecialPage::getDescription
 51+ */
 52+ public function getDescription() {
 53+ return wfMsg( 'special-' . strtolower( $this->mName ) );
 54+ }
4855
4956 /**
5057 * Main method.
Index: trunk/extensions/Deployment/specials/SpecialUpdate.php
@@ -29,6 +29,13 @@
3030 public function __construct() {
3131 parent::__construct( 'Update', 'siteadmin' );
3232 }
 33+
 34+ /**
 35+ * @see SpecialPage::getDescription
 36+ */
 37+ public function getDescription() {
 38+ return wfMsg( 'special-' . strtolower( $this->mName ) );
 39+ }
3340
3441 /**
3542 * Main method.
Index: trunk/extensions/Deployment/specials/SpecialInstall.php
@@ -29,6 +29,13 @@
3030 public function __construct() {
3131 parent::__construct( 'Install', 'siteadmin' );
3232 }
 33+
 34+ /**
 35+ * @see SpecialPage::getDescription
 36+ */
 37+ public function getDescription() {
 38+ return wfMsg( 'special-' . strtolower( $this->mName ) );
 39+ }
3340
3441 /**
3542 * Main method.
Index: trunk/extensions/Deployment/specials/SpecialDashboard.php
@@ -29,6 +29,13 @@
3030 public function __construct() {
3131 parent::__construct( 'Dashboard', 'siteadmin' );
3232 }
 33+
 34+ /**
 35+ * @see SpecialPage::getDescription
 36+ */
 37+ public function getDescription() {
 38+ return wfMsg( 'special-' . strtolower( $this->mName ) );
 39+ }
3340
3441 /**
3542 * Main method.
Index: trunk/extensions/Deployment/Deployment.i18n.php
@@ -24,10 +24,10 @@
2525 // Special pages
2626 'specialpages-group-administration' => 'Wiki administration',
2727
28 - 'dashboard' => 'Administration dashboard',
29 - 'extensions' => 'Manage extensions',
30 - 'update' => 'Update wiki and extensions',
31 - 'install' => 'Install extensions',
 28+ 'special-dashboard' => 'Administration dashboard',
 29+ 'special-extensions' => 'Manage extensions',
 30+ 'special-update' => 'Update wiki and extensions',
 31+ 'special-install' => 'Install extensions',
3232
3333 'dashboard-title' => 'Dashboard',
3434 'extensions-title' => 'Extensions',

Status & tagging log