From 9e44e9295deb993092ffa28782fd5be96e849215 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 14 Feb 2010 14:29:24 +0000 Subject: [PATCH] Fixup spaces to tabs from r62404 --- includes/api/ApiDelete.php | 4 ++-- includes/api/ApiEditPage.php | 4 ++-- includes/api/ApiImport.php | 4 ++-- includes/api/ApiMove.php | 4 ++-- includes/api/ApiProtect.php | 4 ++-- includes/api/ApiQueryBacklinks.php | 4 ++-- includes/api/ApiQueryBase.php | 4 ++-- includes/api/ApiQueryRevisions.php | 4 ++-- includes/api/ApiRollback.php | 4 ++-- includes/api/ApiUndelete.php | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php index af64a2fb03..f1213b29b6 100644 --- a/includes/api/ApiDelete.php +++ b/includes/api/ApiDelete.php @@ -210,14 +210,14 @@ class ApiDelete extends ApiBase { ); } - public function getPossibleErrors() { + public function getPossibleErrors() { return array_merge( parent::getPossibleErrors(), array( array( 'missingparam', 'token' ), array( 'invalidtitle', 'title' ), array( 'nosuchpageid', 'pageid' ), array( 'notanarticle' ), array( 'hookaborted', 'error' ), - ) ); + ) ); } protected function getExamples() { diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php index 1271610260..d09feace64 100644 --- a/includes/api/ApiEditPage.php +++ b/includes/api/ApiEditPage.php @@ -346,7 +346,7 @@ class ApiEditPage extends ApiBase { return 'Create and edit pages.'; } - public function getPossibleErrors() { + public function getPossibleErrors() { return array_merge( parent::getPossibleErrors(), array( array( 'missingparam', 'title' ), array( 'missingtext' ), @@ -380,7 +380,7 @@ class ApiEditPage extends ApiBase { array( 'unknownerror', 'retval' ), array( 'code' => 'nosuchsection', 'info' => 'There is no section section.' ), array( 'code' => 'invalidsection', 'info' => 'The section parameter must be set to an integer or \'new\'' ), - ) ); + ) ); } private function getMaxArticleSize() { diff --git a/includes/api/ApiImport.php b/includes/api/ApiImport.php index c2b2f25caf..1a127e63d7 100644 --- a/includes/api/ApiImport.php +++ b/includes/api/ApiImport.php @@ -141,7 +141,7 @@ class ApiImport extends ApiBase { ); } - public function getPossibleErrors() { + public function getPossibleErrors() { return array_merge( parent::getPossibleErrors(), array( array( 'cantimport' ), array( 'missingparam', 'token' ), @@ -150,7 +150,7 @@ class ApiImport extends ApiBase { array( 'cantimport-upload' ), array( 'import-unknownerror', 'source' ), array( 'import-unknownerror', 'result' ), - ) ); + ) ); } protected function getExamples() { diff --git a/includes/api/ApiMove.php b/includes/api/ApiMove.php index b9d41fba52..1e0b1efa53 100644 --- a/includes/api/ApiMove.php +++ b/includes/api/ApiMove.php @@ -210,7 +210,7 @@ class ApiMove extends ApiBase { ); } - public function getPossibleErrors() { + public function getPossibleErrors() { return array_merge( parent::getPossibleErrors(), array( array( 'missingparam', 'to' ), array( 'missingparam', 'token' ), @@ -220,7 +220,7 @@ class ApiMove extends ApiBase { array( 'notanarticle' ), array( 'invalidtitle', 'to' ), array( 'sharedfile-exists' ), - ) ); + ) ); } protected function getExamples() { diff --git a/includes/api/ApiProtect.php b/includes/api/ApiProtect.php index bd90e31022..164ebd1ee9 100644 --- a/includes/api/ApiProtect.php +++ b/includes/api/ApiProtect.php @@ -172,7 +172,7 @@ class ApiProtect extends ApiBase { ); } - public function getPossibleErrors() { + public function getPossibleErrors() { return array_merge( parent::getPossibleErrors(), array( array( 'missingparam', 'title' ), array( 'missingparam', 'token' ), @@ -186,7 +186,7 @@ class ApiProtect extends ApiBase { array( 'protect-invalidlevel', 'level' ), array( 'invalidexpiry', 'expiry' ), array( 'pastexpiry', 'expiry' ), - ) ); + ) ); } protected function getExamples() { diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index 3b8d2a254f..a21502ae9d 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -454,13 +454,13 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { } } - public function getPossibleErrors() { + public function getPossibleErrors() { return array_merge( parent::getPossibleErrors(), array( array( 'invalidtitle', 'title' ), array( 'missingparam', 'title' ), array( 'code' => 'bad_image_title', 'info' => "The title for {$this->getModuleName()} query must be an image" ), array( 'code' => '_badcontinue', 'info' => 'Invalid continue param. You should pass the original value returned by the previous query' ), - ) ); + ) ); } protected function getExamples() { diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php index 252d25ed07..cdfb5b9045 100644 --- a/includes/api/ApiQueryBase.php +++ b/includes/api/ApiQueryBase.php @@ -408,11 +408,11 @@ abstract class ApiQueryBase extends ApiBase { return substr( $this->keyToTitle( $keyPart . 'x' ), 0, - 1 ); } - public function getPossibleErrors() { + public function getPossibleErrors() { return array_merge( parent::getPossibleErrors(), array( array( 'invalidtitle', 'title' ), array( 'invalidtitle', 'key' ), - ) ); + ) ); } /** diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index 557d6867f8..e8e33df45a 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -561,7 +561,7 @@ class ApiQueryRevisions extends ApiQueryBase { ); } - public function getPossibleErrors() { + public function getPossibleErrors() { return array_merge( parent::getPossibleErrors(), array( array( 'nosuchrevid', 'diffto' ), array( 'code' => 'revids', 'info' => 'The revids= parameter may not be used with the list options (limit, startid, endid, dirNewer, start, end).' ), @@ -571,7 +571,7 @@ class ApiQueryRevisions extends ApiQueryBase { array( 'code' => 'badparams', 'info' => 'end and endid cannot be used together' ), array( 'code' => 'badparams', 'info' => 'user and excludeuser cannot be used together' ), array( 'code' => 'nosuchsection', 'info' => 'There is no section section in rID' ), - ) ); + ) ); } protected function getExamples() { diff --git a/includes/api/ApiRollback.php b/includes/api/ApiRollback.php index cc9c470adc..fca9e5911b 100644 --- a/includes/api/ApiRollback.php +++ b/includes/api/ApiRollback.php @@ -114,7 +114,7 @@ class ApiRollback extends ApiBase { ); } - public function getPossibleErrors() { + public function getPossibleErrors() { return array_merge( parent::getPossibleErrors(), array( array( 'missingparam', 'title' ), array( 'missingparam', 'user' ), @@ -122,7 +122,7 @@ class ApiRollback extends ApiBase { array( 'invalidtitle', 'title' ), array( 'notanarticle' ), array( 'invaliduser', 'user' ), - ) ); + ) ); } protected function getExamples() { diff --git a/includes/api/ApiUndelete.php b/includes/api/ApiUndelete.php index d594d1ffe7..ff4a9f31d7 100644 --- a/includes/api/ApiUndelete.php +++ b/includes/api/ApiUndelete.php @@ -118,7 +118,7 @@ class ApiUndelete extends ApiBase { ); } - public function getPossibleErrors() { + public function getPossibleErrors() { return array_merge( parent::getPossibleErrors(), array( array( 'missingparam', 'title' ), array( 'missingparam', 'token' ), @@ -127,7 +127,7 @@ class ApiUndelete extends ApiBase { array( 'sessionfailure' ), array( 'invalidtitle', 'title' ), array( 'cannotundelete' ), - ) ); + ) ); } protected function getExamples() { -- 2.20.1