diff options
Diffstat (limited to 'includes/api/ApiQueryAllPages.php')
-rw-r--r-- | includes/api/ApiQueryAllPages.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/includes/api/ApiQueryAllPages.php b/includes/api/ApiQueryAllPages.php index a3ba5ab63e48..b7bd65a53cbf 100644 --- a/includes/api/ApiQueryAllPages.php +++ b/includes/api/ApiQueryAllPages.php @@ -328,31 +328,10 @@ class ApiQueryAllPages extends ApiQueryGeneratorBase { ); } - public function getResultProperties() { - return array( - '' => array( - 'pageid' => 'integer', - 'ns' => 'namespace', - 'title' => 'string' - ) - ); - } - public function getDescription() { return 'Enumerate all pages sequentially in a given namespace.'; } - public function getPossibleErrors() { - return array_merge( parent::getPossibleErrors(), array( - array( - 'code' => 'params', - 'info' => 'Use "gapfilterredir=nonredirects" option instead of ' . - '"redirects" when using allpages as a generator' - ), - array( 'code' => 'params', 'info' => 'prlevel may not be used without prtype' ), - ) ); - } - public function getExamples() { return array( 'api.php?action=query&list=allpages&apfrom=B' => array( |