dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "API: Fix ApiQueryBacklinks redirlinks"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQuery.php
diff --git
a/includes/api/ApiQuery.php
b/includes/api/ApiQuery.php
index
3d6372c
..
7c750e4
100644
(file)
--- a/
includes/api/ApiQuery.php
+++ b/
includes/api/ApiQuery.php
@@
-47,17
+47,20
@@
class ApiQuery extends ApiBase {
'contributors' => 'ApiQueryContributors',
'duplicatefiles' => 'ApiQueryDuplicateFiles',
'extlinks' => 'ApiQueryExternalLinks',
'contributors' => 'ApiQueryContributors',
'duplicatefiles' => 'ApiQueryDuplicateFiles',
'extlinks' => 'ApiQueryExternalLinks',
+ 'fileusage' => 'ApiQueryBacklinksprop',
'images' => 'ApiQueryImages',
'imageinfo' => 'ApiQueryImageInfo',
'info' => 'ApiQueryInfo',
'links' => 'ApiQueryLinks',
'images' => 'ApiQueryImages',
'imageinfo' => 'ApiQueryImageInfo',
'info' => 'ApiQueryInfo',
'links' => 'ApiQueryLinks',
+ 'linkshere' => 'ApiQueryBacklinksprop',
'iwlinks' => 'ApiQueryIWLinks',
'langlinks' => 'ApiQueryLangLinks',
'pageprops' => 'ApiQueryPageProps',
'iwlinks' => 'ApiQueryIWLinks',
'langlinks' => 'ApiQueryLangLinks',
'pageprops' => 'ApiQueryPageProps',
- 'redirects' => 'ApiQuery
Redirects
',
+ 'redirects' => 'ApiQuery
Backlinksprop
',
'revisions' => 'ApiQueryRevisions',
'stashimageinfo' => 'ApiQueryStashImageInfo',
'templates' => 'ApiQueryLinks',
'revisions' => 'ApiQueryRevisions',
'stashimageinfo' => 'ApiQueryStashImageInfo',
'templates' => 'ApiQueryLinks',
+ 'transcludedin' => 'ApiQueryBacklinksprop',
);
/**
);
/**
@@
-526,6
+529,7
@@
class ApiQuery extends ApiBase {
'exportnowrap' => false,
'iwurl' => false,
'continue' => null,
'exportnowrap' => false,
'iwurl' => false,
'continue' => null,
+ 'rawcontinue' => false,
);
if ( $flags ) {
$result += $this->getPageSet()->getFinalParams( $flags );
);
if ( $flags ) {
$result += $this->getPageSet()->getFinalParams( $flags );
@@
-608,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.'
),
'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.',
);
}
);
}