summaryrefslogtreecommitdiff
path: root/includes/api/ApiQueryPagePropNames.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2014-12-27 15:41:37 +0100
committerPierre Schmitz <pierre@archlinux.de>2014-12-31 11:43:28 +0100
commitc1f9b1f7b1b77776192048005dcc66dcf3df2bfb (patch)
tree2b38796e738dd74cb42ecd9bfd151803108386bc /includes/api/ApiQueryPagePropNames.php
parentb88ab0086858470dd1f644e64cb4e4f62bb2be9b (diff)
Update to MediaWiki 1.24.1
Diffstat (limited to 'includes/api/ApiQueryPagePropNames.php')
-rw-r--r--includes/api/ApiQueryPagePropNames.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/includes/api/ApiQueryPagePropNames.php b/includes/api/ApiQueryPagePropNames.php
index 08c883d8..8cd9c6cf 100644
--- a/includes/api/ApiQueryPagePropNames.php
+++ b/includes/api/ApiQueryPagePropNames.php
@@ -32,7 +32,7 @@
*/
class ApiQueryPagePropNames extends ApiQueryBase {
- public function __construct( $query, $moduleName ) {
+ public function __construct( ApiQuery $query, $moduleName ) {
parent::__construct( $query, $moduleName, 'ppn' );
}
@@ -63,7 +63,8 @@ class ApiQueryPagePropNames extends ApiQueryBase {
$count = 0;
foreach ( $this->select( __METHOD__ ) as $row ) {
if ( ++$count > $limit ) {
- // We've reached the one extra which shows that there are additional pages to be had. Stop here...
+ // We've reached the one extra which shows that there are
+ // additional pages to be had. Stop here...
$this->setContinueEnumParameter( 'continue', $row->pp_propname );
break;
}
@@ -101,7 +102,7 @@ class ApiQueryPagePropNames extends ApiQueryBase {
}
public function getDescription() {
- return 'List all page prop names in use on the wiki';
+ return 'List all page prop names in use on the wiki.';
}
public function getExamples() {