Index: trunk/phase3/includes/api/ApiMove.php |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | public function execute() {
|
42 | 42 | global $wgUser;
|
43 | 43 | $this->requestWriteMode();
|
44 | | - $params = $this->extractRequestParams();
|
| 44 | + $params = $this->getMain()->extractRequestParams();
|
45 | 45 | if(is_null($params['reason']))
|
46 | 46 | $params['reason'] = '';
|
47 | 47 |
|
Index: trunk/phase3/includes/api/ApiChangeRights.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 |
|
40 | 40 | public function execute() {
|
41 | 41 | global $wgUser, $wgRequest;
|
42 | | - $this->requestWriteMode();
|
| 42 | + $this->getMain()->requestWriteMode();
|
43 | 43 |
|
44 | 44 | if(wfReadOnly())
|
45 | 45 | $this->dieUsage('The wiki is in read-only mode', 'readonly');
|
Index: trunk/phase3/includes/api/ApiProtect.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 |
|
40 | 40 | public function execute() {
|
41 | 41 | global $wgUser;
|
42 | | - $this->requestWriteMode();
|
| 42 | + $this->getMain()->requestWriteMode();
|
43 | 43 | $params = $this->extractRequestParams();
|
44 | 44 |
|
45 | 45 | $titleObj = NULL;
|
Index: trunk/phase3/includes/api/ApiRollback.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | public function execute() {
|
41 | 41 | global $wgUser;
|
42 | 42 | $this->requestWriteMode();
|
43 | | - $params = $this->extractRequestParams();
|
| 43 | + $params = $this->getMain()->extractRequestParams();
|
44 | 44 |
|
45 | 45 | $titleObj = NULL;
|
46 | 46 | if(!isset($params['title']))
|
Index: trunk/phase3/includes/api/ApiBlock.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | public function execute() {
|
41 | 41 | global $wgUser;
|
42 | 42 | $this->requestWriteMode();
|
43 | | - $params = $this->extractRequestParams();
|
| 43 | + $params = $this->getMain()->extractRequestParams();
|
44 | 44 |
|
45 | 45 | if($params['gettoken'])
|
46 | 46 | {
|
Index: trunk/phase3/includes/api/ApiDelete.php |
— | — | @@ -85,7 +85,7 @@ |
86 | 86 | public function execute() {
|
87 | 87 | global $wgUser;
|
88 | 88 | $this->requestWriteMode();
|
89 | | - $params = $this->extractRequestParams();
|
| 89 | + $params = $this->getMain()->extractRequestParams();
|
90 | 90 |
|
91 | 91 | $titleObj = NULL;
|
92 | 92 | if(!isset($params['title']))
|
Index: trunk/phase3/includes/api/ApiUndelete.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 |
|
40 | 40 | public function execute() {
|
41 | 41 | global $wgUser;
|
42 | | - $this->requestWriteMode();
|
| 42 | + $this->getMain()->requestWriteMode();
|
43 | 43 | $params = $this->extractRequestParams();
|
44 | 44 |
|
45 | 45 | $titleObj = NULL;
|
Index: trunk/phase3/includes/api/ApiUnblock.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | public function execute() {
|
41 | 41 | global $wgUser;
|
42 | 42 | $this->requestWriteMode();
|
43 | | - $params = $this->extractRequestParams();
|
| 43 | + $params = $this->getMain()->extractRequestParams();
|
44 | 44 |
|
45 | 45 | if($params['gettoken'])
|
46 | 46 | {
|