From 4ac9fa081a7c045f6a9f1cfc529d82423f485b2e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 8 Dec 2013 09:55:49 +0100 Subject: Update to MediaWiki 1.22.0 --- includes/api/ApiQueryAllPages.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'includes/api/ApiQueryAllPages.php') diff --git a/includes/api/ApiQueryAllPages.php b/includes/api/ApiQueryAllPages.php index d718b967..d95980c2 100644 --- a/includes/api/ApiQueryAllPages.php +++ b/includes/api/ApiQueryAllPages.php @@ -174,7 +174,7 @@ class ApiQueryAllPages extends ApiQueryGeneratorBase { $res = $this->select( __METHOD__ ); //Get gender information - if( MWNamespace::hasGenderDistinction( $params['namespace'] ) ) { + if ( MWNamespace::hasGenderDistinction( $params['namespace'] ) ) { $users = array(); foreach ( $res as $row ) { $users[] = $row->page_title; @@ -304,7 +304,10 @@ class ApiQueryAllPages extends ApiQueryGeneratorBase { 'prtype' => 'Limit to protected pages only', 'prlevel' => "The protection level (must be used with {$p}prtype= parameter)", 'prfiltercascade' => "Filter protections based on cascadingness (ignored when {$p}prtype isn't set)", - 'filterlanglinks' => 'Filter based on whether a page has langlinks', + 'filterlanglinks' => array( + 'Filter based on whether a page has langlinks', + 'Note that this may not consider langlinks added by extensions.', + ), 'limit' => 'How many total pages to return.', 'prexpiry' => array( 'Which protection expiry to filter the page on', -- cgit v1.2.3-54-g00ecf