r79806 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79805‎ | r79806 | r79807 >
Date:04:53, 7 January 2011
Author:reedy
Status:deferred
Tags:
Comment:
Make SpecialNovaProject subclass SpecialNova, remove duplicated methods
Modified paths:
  • /trunk/extensions/OpenStackManager/SpecialNovaProject.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenStackManager/SpecialNovaProject.php
@@ -1,5 +1,5 @@
22 <?php
3 -class SpecialNovaProject extends SpecialPage {
 3+class SpecialNovaProject extends SpecialNova {
44
55 var $userNova, $adminNova;
66
@@ -52,21 +52,6 @@
5353 }
5454 }
5555
56 - function notLoggedIn() {
57 - global $wgOut;
58 - $this->setHeaders();
59 - $wgOut->setPagetitle( wfMsg( 'openstackmanager-notloggedin' ) );
60 - $wgOut->addWikiMsg( 'openstackmanager-mustbeloggedin' );
61 - }
62 -
63 - function noCredentials() {
64 - global $wgOut;
65 -
66 - $this->setHeaders();
67 - $wgOut->setPagetitle( wfMsg( 'openstackmanager-nonovacred' ) );
68 - $wgOut->addWikiMsg( 'openstackmanager-nonovacred-admincreate' );
69 - }
70 -
7156 function createProject() {
7257 global $wgRequest, $wgOut;
7358

Status & tagging log