X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryAllPages.php;h=d95980c287be5ecc09f5aa2c76a09f7fc9957dd7;hb=d95454b44fd560bffd2b480dc60b6d821ca7e6f8;hp=5cf0c0b7b26ebf65e09f8a92aa5b42a71e3fadf4;hpb=ba940af288b377a08298ccf9dc2f6d207b881037;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryAllPages.php b/includes/api/ApiQueryAllPages.php index 5cf0c0b7b2..d95980c287 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', @@ -347,7 +350,7 @@ class ApiQueryAllPages extends ApiQueryGeneratorBase { 'Show info about 4 pages starting at the letter "T"', ), 'api.php?action=query&generator=allpages&gaplimit=2&gapfilterredir=nonredirects&gapfrom=Re&prop=revisions&rvprop=content' => array( - 'Show content of first 2 non-redirect pages begining at "Re"', + 'Show content of first 2 non-redirect pages beginning at "Re"', ) ); }