wiki.techinc.nl/includes/api
Brad Jorsch d0e16713bc Check for result size failure in ApiQuery
If someone sets $wgAPIMaxResultSize crazily small and then queries a
large number of pages, it can cause ApiQuery to fail to populate the
'pages' node. Then submodules might add data to the node, leading to
errors from the XML formatter (or bogus output from other formatters).

While that particular failure mode is probably going away soon, it's
still good to catch the error situation.

Bug: 68989
Change-Id: If0b2eda421fd86dd7acc4fe48cec47741e214221
2014-08-01 12:26:49 -04:00
..
ApiBase.php Added ApiResult::NO_SIZE_CHECK flag for addValue() 2014-07-11 14:53:58 -04:00
ApiBlock.php Add final period to API module descriptions 2014-03-10 09:04:08 +00:00
ApiComparePages.php Fixed some @params documentation (includes/api) 2014-04-18 13:55:36 +00:00
ApiCreateAccount.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiDelete.php Cleanup some docs (includes/[a-d]) 2014-07-24 19:42:45 +02:00
ApiDisabled.php Add final period to API module descriptions 2014-03-10 09:04:08 +00:00
ApiEditPage.php Enable the creation of empty pages 2014-07-25 23:26:18 -04:00
ApiEmailUser.php Add final period to API module descriptions 2014-03-10 09:04:08 +00:00
ApiExpandTemplates.php Fixed spacing 2014-07-20 21:41:41 +02:00
ApiFeedContributions.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiFeedRecentChanges.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiFeedWatchlist.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiFileRevert.php Fixed some @params documentation (includes/api) 2014-04-18 13:55:36 +00:00
ApiFormatBase.php Cleanup some docs (includes/[a-d]) 2014-07-24 19:42:45 +02:00
ApiFormatDbg.php
ApiFormatDump.php
ApiFormatJson.php SECURITY: Prepend jsonp callback with comment 2014-07-30 20:26:39 +02:00
ApiFormatNone.php
ApiFormatPhp.php
ApiFormatRaw.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiFormatTxt.php
ApiFormatWddx.php Fixed some @params documentation (includes/api) 2014-04-18 13:55:36 +00:00
ApiFormatXml.php Restructure output of ApiExpandTemplates 2014-06-03 16:25:08 -04:00
ApiFormatYaml.php
ApiHelp.php Fixed some @params documentation (includes/api) 2014-04-18 13:55:36 +00:00
ApiImageRotate.php Cleanup some docs (includes/[a-d]) 2014-07-24 19:42:45 +02:00
ApiImport.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiLogin.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiLogout.php Add final period to API module descriptions 2014-03-10 09:04:08 +00:00
ApiMain.php Cleanup some docs (includes/[a-d]) 2014-07-24 19:42:45 +02:00
ApiModuleManager.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiMove.php Fixed some @params documentation (includes/api) 2014-04-18 13:55:36 +00:00
ApiOpenSearch.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiOptions.php Add final period to API module descriptions 2014-03-10 09:04:08 +00:00
ApiPageSet.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiParamInfo.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiParse.php Provide namespace to ApiParse->getSectionContent 2014-07-22 18:26:53 -07:00
ApiPatrol.php Add final period to API module descriptions 2014-03-10 09:04:08 +00:00
ApiProtect.php API: Allow 'infinity' as a valid protection expiry 2014-06-15 23:46:37 +00:00
ApiPurge.php API: Refactor continuation code and add to purge, watch, etc. 2014-07-04 15:48:35 -04:00
ApiQuery.php Check for result size failure in ApiQuery 2014-08-01 12:26:49 -04:00
ApiQueryAllCategories.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryAllImages.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiQueryAllLinks.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryAllMessages.php Capitalise Message in SpecialAllMessages files 2014-06-16 18:25:53 +01:00
ApiQueryAllPages.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiQueryAllUsers.php API: Fix queries for list=allusers&auactiveusers 2014-06-30 12:33:27 -04:00
ApiQueryBacklinks.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryBase.php Split "suppressrevision" into two user rights 2014-07-19 18:11:15 +02:00
ApiQueryBlocks.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiQueryCategories.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryCategoryInfo.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryCategoryMembers.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiQueryContributors.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryDeletedrevs.php Split "suppressrevision" into two user rights 2014-07-19 18:11:15 +02:00
ApiQueryDisabled.php Add final period to API module descriptions 2014-03-10 09:04:08 +00:00
ApiQueryDuplicateFiles.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryExternalLinks.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryExtLinksUsage.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiQueryFilearchive.php Split "suppressrevision" into two user rights 2014-07-19 18:11:15 +02:00
ApiQueryFileRepoInfo.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryImageInfo.php Cleanup some docs (includes/[a-d]) 2014-07-24 19:42:45 +02:00
ApiQueryImages.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryInfo.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiQueryIWBacklinks.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryIWLinks.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryLangBacklinks.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryLangLinks.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryLinks.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryLogEvents.php list=logevent userid is returned as string, should be integer 2014-07-31 15:24:58 +01:00
ApiQueryORM.php
ApiQueryPagePropNames.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryPageProps.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryPagesWithProp.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryPrefixSearch.php Pass phpcs-strict on various files in includes/ 2014-04-24 21:50:01 +02:00
ApiQueryProtectedTitles.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiQueryQueryPage.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiQueryRandom.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryRecentChanges.php Cleanup some docs (includes/[a-d]) 2014-07-24 19:42:45 +02:00
ApiQueryRedirects.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryRevisions.php Split "suppressrevision" into two user rights 2014-07-19 18:11:15 +02:00
ApiQuerySearch.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiQuerySiteinfo.php Fixed spacing 2014-07-20 21:41:41 +02:00
ApiQueryStashImageInfo.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryTags.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryUserContributions.php Split "suppressrevision" into two user rights 2014-07-19 18:11:15 +02:00
ApiQueryUserInfo.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiQueryUsers.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiQueryWatchlist.php Split "suppressrevision" into two user rights 2014-07-19 18:11:15 +02:00
ApiQueryWatchlistRaw.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiResult.php Fixed spacing 2014-07-19 23:12:10 +02:00
ApiRevisionDelete.php Fix possible error list of action=revisiondelete 2014-03-20 21:10:50 +00:00
ApiRollback.php Create preference to watchlist pages after rollbacking 2014-07-30 21:51:41 +00:00
ApiRsd.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
ApiSetNotificationTimestamp.php API: Refactor continuation code and add to purge, watch, etc. 2014-07-04 15:48:35 -04:00
ApiTokens.php Add final period to API module descriptions 2014-03-10 09:04:08 +00:00
ApiUnblock.php Add final period to API module descriptions 2014-03-10 09:04:08 +00:00
ApiUndelete.php API: Allow undeleting files 2014-07-31 16:07:26 +00:00
ApiUpload.php Switch API to use Config classes 2014-06-15 23:56:38 +01:00
ApiUserrights.php Add final period to API module descriptions 2014-03-10 09:04:08 +00:00
ApiWatch.php API: Refactor continuation code and add to purge, watch, etc. 2014-07-04 15:48:35 -04:00