r28053 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r28052‎ | r28053 | r28054 >
Date:14:43, 2 December 2007
Author:catrope
Status:old
Tags:
Comment:
Oops, forgot a few.
Modified paths:
  • /trunk/phase3/includes/api/ApiBlock.php (modified) (history)
  • /trunk/phase3/includes/api/ApiDelete.php (modified) (history)
  • /trunk/phase3/includes/api/ApiMove.php (modified) (history)
  • /trunk/phase3/includes/api/ApiRollback.php (modified) (history)
  • /trunk/phase3/includes/api/ApiUnblock.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiMove.php
@@ -39,8 +39,8 @@
4040
4141 public function execute() {
4242 global $wgUser;
43 - $this->requestWriteMode();
44 - $params = $this->getMain()->extractRequestParams();
 43+ $this->getMain()->requestWriteMode();
 44+ $params = $this->extractRequestParams();
4545 if(is_null($params['reason']))
4646 $params['reason'] = '';
4747
Index: trunk/phase3/includes/api/ApiRollback.php
@@ -38,8 +38,8 @@
3939
4040 public function execute() {
4141 global $wgUser;
42 - $this->requestWriteMode();
43 - $params = $this->getMain()->extractRequestParams();
 42+ $this->getMain()->equestWriteMode();
 43+ $params = $this->extractRequestParams();
4444
4545 $titleObj = NULL;
4646 if(!isset($params['title']))
Index: trunk/phase3/includes/api/ApiBlock.php
@@ -38,8 +38,8 @@
3939
4040 public function execute() {
4141 global $wgUser;
42 - $this->requestWriteMode();
43 - $params = $this->getMain()->extractRequestParams();
 42+ $this->getMain()->requestWriteMode();
 43+ $params = $this->extractRequestParams();
4444
4545 if($params['gettoken'])
4646 {
Index: trunk/phase3/includes/api/ApiDelete.php
@@ -84,8 +84,8 @@
8585
8686 public function execute() {
8787 global $wgUser;
88 - $this->requestWriteMode();
89 - $params = $this->getMain()->extractRequestParams();
 88+ $this->getMain()->requestWriteMode();
 89+ $params = $this->extractRequestParams();
9090
9191 $titleObj = NULL;
9292 if(!isset($params['title']))
Index: trunk/phase3/includes/api/ApiUnblock.php
@@ -38,8 +38,8 @@
3939
4040 public function execute() {
4141 global $wgUser;
42 - $this->requestWriteMode();
43 - $params = $this->getMain()->extractRequestParams();
 42+ $this->getMain()->requestWriteMode();
 43+ $params = $this->extractRequestParams();
4444
4545 if($params['gettoken'])
4646 {

Status & tagging log