X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQuery.php;h=7c750e41bd9d4249a7ad403ac967af4c24b416d9;hb=89fc181ab99fcd2024824aac343639d8a9ece28f;hp=9ffcf0e5d3b049cd07a58b0567ddcff74dde0ec4;hpb=7cf98015746d96c371133451a4c5ff3c65faeef1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php index 9ffcf0e5d3..7c750e41bd 100644 --- a/includes/api/ApiQuery.php +++ b/includes/api/ApiQuery.php @@ -47,17 +47,20 @@ class ApiQuery extends ApiBase { 'contributors' => 'ApiQueryContributors', 'duplicatefiles' => 'ApiQueryDuplicateFiles', 'extlinks' => 'ApiQueryExternalLinks', + 'fileusage' => 'ApiQueryBacklinksprop', 'images' => 'ApiQueryImages', 'imageinfo' => 'ApiQueryImageInfo', 'info' => 'ApiQueryInfo', 'links' => 'ApiQueryLinks', + 'linkshere' => 'ApiQueryBacklinksprop', 'iwlinks' => 'ApiQueryIWLinks', 'langlinks' => 'ApiQueryLangLinks', 'pageprops' => 'ApiQueryPageProps', - 'redirects' => 'ApiQueryRedirects', + 'redirects' => 'ApiQueryBacklinksprop', 'revisions' => 'ApiQueryRevisions', 'stashimageinfo' => 'ApiQueryStashImageInfo', 'templates' => 'ApiQueryLinks', + 'transcludedin' => 'ApiQueryBacklinksprop', ); /** @@ -108,6 +111,7 @@ class ApiQuery extends ApiBase { 'siteinfo' => 'ApiQuerySiteinfo', 'userinfo' => 'ApiQueryUserInfo', 'filerepoinfo' => 'ApiQueryFileRepoInfo', + 'tokens' => 'ApiQueryTokens', ); /** @@ -525,6 +529,7 @@ class ApiQuery extends ApiBase { 'exportnowrap' => false, 'iwurl' => false, 'continue' => null, + 'rawcontinue' => false, ); if ( $flags ) { $result += $this->getPageSet()->getFinalParams( $flags ); @@ -607,6 +612,8 @@ class ApiQuery extends ApiBase { 'This parameter is recommended for all new development, and ' . 'will be made default in the next API version.' ), + 'rawcontinue' => 'Currently ignored. In the future, \'continue=\' will become the ' . + 'default and this will be needed to receive the raw query-continue data.', ); }