wiki.techinc.nl/includes/api
Roan Kattouw 1da7573bb7 WatchedItemStore: Use batching in setNotificationTimestampsForUser
Update rows in batches, using the same logic as is used by
removeWatchBatchForUser().

Also remove the functionality for updating all rows, and move that to
resetAllNotificationTimestampsForUser() instead. To that end, add a
timestamp parameter to that method and to the job it uses, and make
setNotificationTimestampsForUser() behave like a backwards-compatibility
wrapper around resetAllNotificationTimestampsForUser() when no list of
titles is specified.

Bug: T207941
Change-Id: I58342257395de6fcfb4c392b3945b12883ca1680
Follows-Up: I2008ff89c95fe6f66a3fd789d2cef0e8fe52bd93
2019-03-21 04:41:42 +00:00
..
i18n Localisation updates from https://translatewiki.net. 2019-03-20 21:56:08 +01:00
ApiAMCreateAccount.php
ApiAuthManagerHelper.php
ApiBase.php API: Avoid duplicate logs to api-feature-usage 2019-03-05 17:56:55 -05:00
ApiBlock.php Add namespace restrictions to Special:Block and API 2019-01-22 12:48:55 +00:00
ApiChangeAuthenticationData.php
ApiCheckToken.php
ApiClearHasMsg.php
ApiClientLogin.php
ApiComparePages.php Merge "ApiComparePages: Don't error with no prev/next rev" 2018-12-18 10:06:23 +00:00
ApiContinuationManager.php
ApiCSPReport.php
ApiDelete.php ApiDelete: Handle batched deletions properly 2018-12-20 10:03:26 -05:00
ApiDisabled.php Remove use of old API doc methods 2018-10-29 14:58:19 -07:00
ApiEditPage.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiEmailUser.php
ApiErrorFormatter.php ApiDelete: Handle batched deletions properly 2018-12-20 10:03:26 -05:00
ApiExpandTemplates.php resourceloader: Remove addModuleScripts, and deprecate getModuleScripts. 2019-03-05 16:54:08 +00:00
ApiFeedContributions.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiFeedRecentChanges.php
ApiFeedWatchlist.php Remove comments literally repeating the next line of code 2019-02-27 17:28:40 +00:00
ApiFileRevert.php
ApiFormatBase.php resourceloader: Remove addModuleScripts, and deprecate getModuleScripts. 2019-03-05 16:54:08 +00:00
ApiFormatFeedWrapper.php
ApiFormatJson.php Don't silently fail if API result fails to encode 2018-12-05 13:28:33 -05:00
ApiFormatNone.php
ApiFormatPhp.php Various fixes to make phan-taint-check happier 2019-03-04 03:24:44 +00:00
ApiFormatRaw.php
ApiFormatXml.php
ApiHelp.php Merge "Remove loading of module 'mediawiki.toc' in special pages" 2018-12-13 01:57:34 +00:00
ApiHelpParamValueMessage.php
ApiImageRotate.php
ApiImport.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiLinkAccount.php
ApiLogin.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiLogout.php
ApiMain.php ApiMain.php api/request logging event changes 2019-03-12 16:23:19 +00:00
ApiManageTags.php
ApiMergeHistory.php
ApiMessage.php
ApiMessageTrait.php API: Validate API error codes 2018-11-26 18:41:08 +00:00
ApiModuleManager.php
ApiMove.php API: Spread autoblocks from action=edit and action=move 2019-02-19 17:34:48 -05:00
ApiOpenSearch.php
ApiOptions.php
ApiPageSet.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiParamInfo.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiParse.php Avoid a few overly complicated is_null() checks 2019-03-11 10:29:20 +01:00
ApiPatrol.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiProtect.php
ApiPurge.php
ApiQuery.php Remove comments literally repeating the next line of code 2019-02-27 17:28:40 +00:00
ApiQueryAllCategories.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryAllDeletedRevisions.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
ApiQueryAllImages.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryAllLinks.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryAllMessages.php
ApiQueryAllPages.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryAllRevisions.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
ApiQueryAllUsers.php Normalize "LEFT OUTER JOIN" to "LEFT JOIN" in SQL queries 2019-03-06 14:01:20 -08:00
ApiQueryAuthManagerInfo.php
ApiQueryBacklinks.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryBacklinksprop.php
ApiQueryBase.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryBlocks.php Prevent fatal PHP errors when PageRestriction::getTitle() returns null. 2019-02-07 10:06:15 -05:00
ApiQueryCategories.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryCategoryInfo.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryCategoryMembers.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryContributors.php Normalize "LEFT OUTER JOIN" to "LEFT JOIN" in SQL queries 2019-03-06 14:01:20 -08:00
ApiQueryDeletedRevisions.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
ApiQueryDeletedrevs.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
ApiQueryDisabled.php Remove use of old API doc methods 2018-10-29 14:58:19 -07:00
ApiQueryDuplicateFiles.php
ApiQueryExternalLinks.php Use new externallinks.el_index_60 field 2018-11-12 22:33:18 +00:00
ApiQueryExtLinksUsage.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryFilearchive.php
ApiQueryFileRepoInfo.php
ApiQueryGeneratorBase.php
ApiQueryImageInfo.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryImages.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryInfo.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryIWBacklinks.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryIWLinks.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryLangBacklinks.php Merge "Return the page_id in list=langbacklinks as an int" 2019-02-25 02:45:42 +00:00
ApiQueryLangLinks.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryLinks.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryLogEvents.php Merge "ApiQueryLogEvents: Add IGNORE INDEX to avoid MariaDB optimizer bug" 2019-03-08 23:12:20 +00:00
ApiQueryMyStashedFiles.php
ApiQueryPagePropNames.php
ApiQueryPageProps.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryPagesWithProp.php
ApiQueryPrefixSearch.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryProtectedTitles.php
ApiQueryQueryPage.php Use SpecialPageFactory in ApiQueryQueryPage 2018-12-14 18:50:22 +01:00
ApiQueryRandom.php
ApiQueryRecentChanges.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
ApiQueryRevisions.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
ApiQueryRevisionsBase.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQuerySearch.php
ApiQuerySiteinfo.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryStashImageInfo.php
ApiQueryTags.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryTokens.php
ApiQueryUserContribs.php Remove many references to db fields being retired as part of MCR Schema Migration 2019-03-19 10:50:54 -05:00
ApiQueryUserInfo.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryUsers.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
ApiQueryWatchlist.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiQueryWatchlistRaw.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiRawMessage.php
ApiRemoveAuthenticationData.php
ApiResetPassword.php
ApiResult.php
ApiRevisionDelete.php build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
ApiRollback.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiRsd.php
ApiSerializable.php
ApiSetNotificationTimestamp.php WatchedItemStore: Use batching in setNotificationTimestampsForUser 2019-03-21 04:41:42 +00:00
ApiSetPageLanguage.php
ApiStashEdit.php Make ApiStashEdit use a separate key for the parser output due to size 2019-03-06 09:11:07 -08:00
ApiTag.php
ApiTokens.php
ApiUnblock.php
ApiUndelete.php Use (int) rather than intval() 2019-02-25 00:38:33 +00:00
ApiUpload.php Check whether a user is blocked from upload in ApiUpload 2019-03-20 22:19:02 +00:00
ApiUsageException.php
ApiUserrights.php
ApiValidatePassword.php
ApiWatch.php
IApiMessage.php
SearchApi.php