wiki.techinc.nl/includes/api
Brad Jorsch 2c9dfcb7d1 Clean up ApiQueryImageInfo continuation
Reviewing this code, I spotted a few issues:
* 'imagerepository' is added to non-images, and to images that were
  skipped this round due to iicontinue. The latter is particularly
  troublesome, as clients may wind up with an incorrect value when
  merging continued results.
* Say two images are being queried, A.jpg and B.jpg. If the query needs
  to be continued somewhere in the middle of A.jpg's old versions, but
  then A.jpg is deleted before the client sends the continuation query,
  it will start in the middle of B.jpg's old versions instead of at the
  beginning of B.jpg's revisions.
* If the query needs to be continued somewhere in the middle of A.jpg's
  old versions, but in the continuation query some other module that is
  also being continued fills the result object, iicontinue will be
  reset to the *beginning* of A.jpg's old versions instead of preserving
  the position in the middle.

Change-Id: I08e2941010c7a70ff90b6244bfddd5ed0540fc9f
2013-02-07 16:50:17 -05:00
..
ApiBase.php API module manager and help rewrite 2013-02-05 01:52:55 -05:00
ApiBlock.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiComparePages.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiCreateAccount.php (bug 44202) Account creation through API no longer leaks IP address of account creator 2013-01-21 22:00:25 +01:00
ApiDelete.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiDisabled.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiEditPage.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiEmailUser.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiExpandTemplates.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiFeedContributions.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiFeedWatchlist.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiFileRevert.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiFormatBase.php The abstract declaration must precede the visibility declaration 2013-01-26 20:00:09 +01:00
ApiFormatDbg.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiFormatDump.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiFormatJson.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiFormatNone.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiFormatPhp.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiFormatRaw.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiFormatTxt.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiFormatWddx.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiFormatXml.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiFormatYaml.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiHelp.php API module manager and help rewrite 2013-02-05 01:52:55 -05:00
ApiImport.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiLogin.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiLogout.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiMain.php API module manager and help rewrite 2013-02-05 01:52:55 -05:00
ApiModuleManager.php API module manager and help rewrite 2013-02-05 01:52:55 -05:00
ApiMove.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiOpenSearch.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiOptions.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiPageSet.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiParamInfo.php API module manager and help rewrite 2013-02-05 01:52:55 -05:00
ApiParse.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiPatrol.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiProtect.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiPurge.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiQuery.php API: Fix using the same module as generator and prop 2013-02-05 15:08:12 -05:00
ApiQueryAllCategories.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryAllImages.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryAllLinks.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryAllMessages.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryAllPages.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryAllUsers.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryBacklinks.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryBase.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiQueryBlocks.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiQueryCategories.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryCategoryInfo.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryCategoryMembers.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiQueryDeletedrevs.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryDisabled.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiQueryDuplicateFiles.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryExternalLinks.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryExtLinksUsage.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryFilearchive.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryImageInfo.php Clean up ApiQueryImageInfo continuation 2013-02-07 16:50:17 -05:00
ApiQueryImages.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryInfo.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryIWBacklinks.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryIWLinks.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryLangBacklinks.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryLangLinks.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryLinks.php Fix double colons in api help output 2013-01-30 19:19:18 +00:00
ApiQueryLogEvents.php fix some spacing 2013-01-26 22:11:09 +01:00
ApiQueryORM.php The abstract declaration must precede the visibility declaration 2013-01-26 20:00:09 +01:00
ApiQueryPageProps.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiQueryProtectedTitles.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryQueryPage.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiQueryRandom.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryRecentChanges.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiQueryRevisions.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiQuerySearch.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQuerySiteinfo.php (Bug 37957) Replace php_sapi_name() with PHP_SAPI 2013-02-04 12:50:45 -08:00
ApiQueryStashImageInfo.php style: normalize end of files 2013-02-03 15:04:39 +01:00
ApiQueryTags.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryUserContributions.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiQueryUserInfo.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryUsers.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiQueryWatchlist.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiQueryWatchlistRaw.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiResult.php (bug 35885) remove api version string and parameter 2013-01-18 12:41:18 -05:00
ApiRollback.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiRsd.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiSetNotificationTimestamp.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiTokens.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiUnblock.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiUndelete.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiUpload.php fix some spacing 2013-02-04 19:59:14 +00:00
ApiUserrights.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00
ApiWatch.php api: remove duplicate __contruct calls 2013-01-29 09:38:17 +01:00