r70750 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70749‎ | r70750 | r70751 >
Date:07:04, 9 August 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Added titles for the special pages
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
@@ -53,7 +53,7 @@
5454 public function execute( $arg ) {
5555 global $wgOut, $wgUser;
5656
57 - //$wgOut->setPageTitle( wfMsg( 'extensions' ) );
 57+ $wgOut->setPageTitle( wfMsg( 'extensions-title' ) );
5858
5959 // If the user is authorized, display the page, if not, show an error.
6060 if ( $this->userCanExecute( $wgUser ) ) {
Index: trunk/extensions/Deployment/specials/SpecialUpdate.php
@@ -40,6 +40,8 @@
4141 public function execute( $arg ) {
4242 global $wgOut, $wgUser;
4343
 44+ $wgOut->setPageTitle( wfMsg( 'update-title' ) );
 45+
4446 // If the user is authorized, display the page, if not, show an error.
4547 if ( $this->userCanExecute( $wgUser ) ) {
4648
Index: trunk/extensions/Deployment/specials/SpecialInstall.php
@@ -40,6 +40,8 @@
4141 public function execute( $arg ) {
4242 global $wgOut, $wgUser;
4343
 44+ $wgOut->setPageTitle( wfMsg( 'install-title' ) );
 45+
4446 // If the user is authorized, display the page, if not, show an error.
4547 if ( $this->userCanExecute( $wgUser ) ) {
4648
Index: trunk/extensions/Deployment/specials/SpecialDashboard.php
@@ -40,6 +40,8 @@
4141 public function execute( $arg ) {
4242 global $wgOut, $wgUser;
4343
 44+ $wgOut->setPageTitle( wfMsg( 'dashboard-title' ) );
 45+
4446 // If the user is authorized, display the page, if not, show an error.
4547 if ( $this->userCanExecute( $wgUser ) ) {
4648
Index: trunk/extensions/Deployment/Deployment.i18n.php
@@ -20,11 +20,17 @@
2121
2222 // Special pages
2323 'specialpages-group-administration' => 'Wiki administration',
 24+
2425 'dashboard' => 'Administration dashboard',
2526 'extensions' => 'Manage extensions',
2627 'update' => 'Update wiki and extensions',
2728 'install' => 'Install extensions',
2829
 30+ 'dashboard-title' => 'Dashboard',
 31+ 'extensions-title' => 'Extensions',
 32+ 'update-title' => 'MediaWiki updates',
 33+ 'install-title' => 'Install extensions',
 34+
2935 // Filesystem: FTP
3036 'deploy-ftp-not-loaded' => 'The FTP PHP extension is not available',
3137 'deploy-ftp-ssl-not-loaded' => 'The loaded FTP PHP extension does not support SSL',

Status & tagging log