From: Roan Kattouw Date: Sun, 2 Dec 2007 14:43:37 +0000 (+0000) Subject: Oops, forgot a few. X-Git-Tag: 1.31.0-rc.0~50613 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=6e2d0cd173c61e8c20cb8c3633437bb0545bdd87;p=lhc%2Fweb%2Fwiklou.git Oops, forgot a few. --- diff --git a/includes/api/ApiBlock.php b/includes/api/ApiBlock.php index 947a3c111d..103a7757a9 100644 --- a/includes/api/ApiBlock.php +++ b/includes/api/ApiBlock.php @@ -38,8 +38,8 @@ class ApiBlock extends ApiBase { public function execute() { global $wgUser; - $this->requestWriteMode(); - $params = $this->getMain()->extractRequestParams(); + $this->getMain()->requestWriteMode(); + $params = $this->extractRequestParams(); if($params['gettoken']) { diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php index 078b9753c4..2d7620a4e6 100644 --- a/includes/api/ApiDelete.php +++ b/includes/api/ApiDelete.php @@ -84,8 +84,8 @@ class ApiDelete extends ApiBase { public function execute() { global $wgUser; - $this->requestWriteMode(); - $params = $this->getMain()->extractRequestParams(); + $this->getMain()->requestWriteMode(); + $params = $this->extractRequestParams(); $titleObj = NULL; if(!isset($params['title'])) diff --git a/includes/api/ApiMove.php b/includes/api/ApiMove.php index e410aecfbe..cdda5b1517 100644 --- a/includes/api/ApiMove.php +++ b/includes/api/ApiMove.php @@ -39,8 +39,8 @@ class ApiMove extends ApiBase { public function execute() { global $wgUser; - $this->requestWriteMode(); - $params = $this->getMain()->extractRequestParams(); + $this->getMain()->requestWriteMode(); + $params = $this->extractRequestParams(); if(is_null($params['reason'])) $params['reason'] = ''; diff --git a/includes/api/ApiRollback.php b/includes/api/ApiRollback.php index 347b149b4d..ab0a6a504b 100644 --- a/includes/api/ApiRollback.php +++ b/includes/api/ApiRollback.php @@ -38,8 +38,8 @@ class ApiRollback extends ApiBase { public function execute() { global $wgUser; - $this->requestWriteMode(); - $params = $this->getMain()->extractRequestParams(); + $this->getMain()->equestWriteMode(); + $params = $this->extractRequestParams(); $titleObj = NULL; if(!isset($params['title'])) diff --git a/includes/api/ApiUnblock.php b/includes/api/ApiUnblock.php index 61311796ea..7b82998ca8 100644 --- a/includes/api/ApiUnblock.php +++ b/includes/api/ApiUnblock.php @@ -38,8 +38,8 @@ class ApiUnblock extends ApiBase { public function execute() { global $wgUser; - $this->requestWriteMode(); - $params = $this->getMain()->extractRequestParams(); + $this->getMain()->requestWriteMode(); + $params = $this->extractRequestParams(); if($params['gettoken']) {