X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryAllPages.php;h=78e3621738485eaf71f211004c38080aba596a18;hb=c54766586acab549f186e81eeab259845112809d;hp=e441991af87f6114e4703d7e7bc474452fc62aad;hpb=d5564b17b5973925f7a0a6b578901f6d37f72f95;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryAllPages.php b/includes/api/ApiQueryAllPages.php index e441991af8..78e3621738 100644 --- a/includes/api/ApiQueryAllPages.php +++ b/includes/api/ApiQueryAllPages.php @@ -200,14 +200,14 @@ class ApiQueryAllPages extends ApiQueryGeneratorBase { $this->addOption( 'LIMIT', $limit + 1 ); $res = $this->select( __METHOD__ ); - //Get gender information + // Get gender information if ( MWNamespace::hasGenderDistinction( $params['namespace'] ) ) { $users = array(); foreach ( $res as $row ) { $users[] = $row->page_title; } GenderCache::singleton()->doQuery( $users, __METHOD__ ); - $res->rewind(); //reset + $res->rewind(); // reset } $count = 0;