X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQuery.php;h=3609a1190962f6bfc208f01982905c8848158b28;hb=b0630d1b305061cb271d1a3d246dbd2de5663551;hp=5378e9259fb0b975c100c86a700d64cb7991bfcd;hpb=d5564b17b5973925f7a0a6b578901f6d37f72f95;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php index 5378e9259f..3609a11909 100644 --- a/includes/api/ApiQuery.php +++ b/includes/api/ApiQuery.php @@ -301,17 +301,6 @@ class ApiQuery extends ApiBase { } else { $continuationManager->setContinuationIntoResult( $this->getResult() ); } - - /// @todo: Remove this after a suitable period of time. When REL1_26 is cut, if not before. - if ( $this->mParams['continue'] === null && !$this->mParams['rawcontinue'] && - $this->getResult()->getResultData( 'continue' ) !== null - ) { - $this->setWarning( - 'Formatting of continuation data has changed. ' . - 'To receive raw query-continue data, use the \'rawcontinue\' parameter. ' . - 'To silence this warning, pass an empty string for \'continue\' in the initial query.' - ); - } } /** @@ -615,10 +604,6 @@ class ApiQuery extends ApiBase { return implode( "\n", $moduleDescriptions ); } - public function shouldCheckMaxlag() { - return true; - } - protected function getExamplesMessages() { return array( 'action=query&prop=revisions&meta=siteinfo&' .