wiki.techinc.nl/includes
DannyS712 07af42e199 Add DeferredUpdatesManager service to replace DeferredUpdates
This patch doesn't deal with the injection of dependencies
and removal of the global state, but rather moves the code
from DeferredUpdates to the new service essentially as-is,
to simplify review. The changes to inject the various
services needed and make DeferredUpdatesManager a proper
service will be done in follow-ups, to make them easier
to follow.

While almost everything is changed from static to non-static,
DeferredUpdates::$scopeStack remains static as
DeferredUpdatesManager::$scopeStack, just in case multiple
versions of the service are created, to ensure that no
updates are missed.

Bug: T265749
Change-Id: I7f07eddf2fc399b15db4fe9be4c792ef8eb0747b
2023-05-29 03:59:03 +00:00
..
actions Convert DeleteAction to use HTMLForm 2023-05-19 16:05:29 +02:00
api Localisation updates from https://translatewiki.net. 2023-05-25 08:50:34 +02:00
auth rdbms: Move ReadOnlyMode and ConfiguredReadOnlyMode to rdbms library 2023-05-04 23:41:21 +02:00
block Remove uses Database::update()/Database::insert() return values 2023-05-27 02:19:55 +00:00
cache cache: Do not throw on empty set in LinkBatch::constructSet 2023-05-18 21:32:05 +02:00
Category rdbms: Move ReadOnlyMode and ConfiguredReadOnlyMode to rdbms library 2023-05-04 23:41:21 +02:00
changes rcfeed: Add 'notify_url' and 'title_url' to MachineReadableRCFeedFormatter 2023-05-19 15:48:40 +03:00
changetags Introduce ChangeTagsStore service and move some functions of ChangeTags 2023-05-16 16:25:44 +01:00
collation
CommentFormatter
CommentStore Remove deprecated CommentStore::getStore 2023-04-22 21:25:35 +02:00
composer Reorg: Move MediaWikiVersionFetcher to composer/ 2023-04-20 18:54:05 +02:00
config
content Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
context Reset the cached skin in RequestContext::setUser() 2023-05-12 10:45:54 +10:00
dao auth: Use IConnectionProvider instead of LoadBalancer 2023-05-03 13:23:43 +02:00
db rdbms: Move ReadOnlyMode and ConfiguredReadOnlyMode to rdbms library 2023-05-04 23:41:21 +02:00
debug
deferred Add DeferredUpdatesManager service to replace DeferredUpdates 2023-05-29 03:59:03 +00:00
diff Revert "diff: Add legend and tooltips to inline diff display" 2023-05-18 15:50:59 +01:00
edit
editpage Namespace SpecialM* under \MediaWiki\Specials 2023-05-21 12:07:04 +03:00
exception Replace usages of deprecated UserGroupMembership::getLink() 2023-05-20 21:21:19 +02:00
export api: Switch to use IConnectionProvider 2023-04-24 13:54:27 +02:00
ExternalLinks ExternalLinks: Add support for non-reveresed indexed URLs 2023-05-26 12:40:18 +00:00
externalstore
Feed
filebackend rdbms: Move ReadOnlyMode and ConfiguredReadOnlyMode to rdbms library 2023-05-04 23:41:21 +02:00
filerepo filebackend: Split missing file and error on getLocalReference/Copy 2023-04-29 01:01:07 +02:00
gallery Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
historyblob
Hook Add Hook suffix to GetBlockErrorMessageKeyHook 2023-04-16 17:28:13 +00:00
HookContainer Use EmailUser in User::canSendEmail, deprecate EmailUserPermissionsErrorsHook 2023-05-21 13:23:12 +03:00
Html Fix Special:WhatLinksHere behavior on limit= vs. limit=0 2023-05-22 11:05:20 +10:00
htmlform Implement HTMLToggleSwitchField for mobile layout of preferences 2023-05-18 02:23:28 +08:00
http Remove deprecated MWHttpRequest::factory 2023-04-26 22:23:06 +02:00
import Fix Phan suppressions related to Title::castFrom*() and friends 2023-04-22 16:45:09 +02:00
installer Localisation updates from https://translatewiki.net. 2023-05-25 08:50:34 +02:00
interwiki Fix even more PHPStorm inspections (#3) 2023-03-25 00:30:15 +00:00
jobqueue Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
json
language Languages: Add language crh-ro 2023-05-27 09:21:29 +00:00
languages Languages: Add language crh-ro 2023-05-27 09:21:29 +00:00
libs rdbms: make IDatabase::insertId() less fragile and more consistent 2023-05-26 19:01:45 -07:00
linkeddata
linker Make magnify url match getDescLinkAttribs 2023-05-26 17:00:37 +00:00
logging language: Annotate list() methods as preserving taintedness 2023-05-20 11:39:55 +02:00
mail mail: Round 4 of EmailUser refactoring 2023-05-21 07:56:01 +00:00
Maintenance
media Add magnify links on thumbs when not linking to file desc page 2023-05-24 20:08:55 -04:00
Message
Navigation Fix Phan suppressions related to Title::castFrom*() and friends 2023-04-22 16:45:09 +02:00
objectcache Fix infinite recursion in DBLoadBalancerFactoryConfigBuilder service 2023-05-03 13:39:44 +10:00
page Merge "Add PLURAL support for 'revertpage' messages" 2023-05-19 10:21:40 +00:00
pager Remove left-over complexity in SpecialPage classes for query groups 2023-05-02 23:27:14 +00:00
ParamValidator/TypeDef
parser Sanitizer: Permit the aria-level HTML attribute in wikitext 2023-05-21 12:57:53 +03:00
password Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
Permissions title: Remove protection related deprecated Title functions 2023-05-10 00:04:20 +02:00
poolcounter ParserCache: add an option to explicitly trigger links update 2023-05-16 11:32:55 +02:00
preferences Replace usages of deprecated UserGroupMembership::getLink() 2023-05-20 21:21:19 +02:00
profiler Fix more PHPStorm inspections (#2) 2023-03-25 00:19:58 +00:00
rcfeed rcfeed: Add 'notify_url' and 'title_url' to MachineReadableRCFeedFormatter 2023-05-19 15:48:40 +03:00
registration registration: Fix error when processing pre-1.35 ValidSkinNames entry 2023-05-20 17:21:31 -04:00
RenameUser Namespace SpecialL* under \MediaWiki\Specials 2023-05-04 19:27:38 +00:00
Request Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
ResourceLoader Merge "Move some hooks to ResourceLoader\HookRunner" 2023-05-15 18:38:21 +00:00
Rest Filter out large-tables category lints from Parsoid REST API 2023-05-26 22:19:04 +05:30
Revision Special:Undelete "load more" followups 2023-05-29 11:19:54 +10:00
revisiondelete Fix Phan suppressions related to Title::castFrom*() and friends 2023-04-22 16:45:09 +02:00
revisionlist Fix Phan suppressions related to Title::castFrom*() and friends 2023-04-22 16:45:09 +02:00
search Special:Search - Update interwiki sister icons 2023-05-25 09:21:02 -04:00
session Fix even more PHPStorm inspections (#3) 2023-03-25 00:30:15 +00:00
Settings Settings: JsonFormat::decode() expects string not StreamInterface 2023-04-05 13:12:41 +01:00
shell Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
site Remove uses Database::update()/Database::insert() return values 2023-05-27 02:19:55 +00:00
SiteStats Reorg: Move SiteStats*.php to SiteStats/ 2023-04-27 01:16:29 +02:00
skins Merge "Skin: Define icons for toolbox menus" 2023-05-04 15:46:23 +00:00
sparql
specialpage Namespace SpecialMy* under \MediaWiki\Specials\Redirects 2023-05-21 13:16:04 +03:00
specials Special:Undelete "load more" followups 2023-05-29 11:19:54 +10:00
Storage PageUpdater: Use ICP instead of LB/LBF 2023-05-10 16:12:54 +02:00
StubObject
templates
tidy
title Remove NamespaceInfo::getRestrictionLevels 2023-05-20 08:52:50 +00:00
upload Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
user Merge "Revert "user: Assert wikiId in UserGroupManager"" 2023-05-21 12:28:09 +00:00
utils Use more narrow IReadableDatabase in BatchRowIterator 2023-05-19 15:02:50 +02:00
watcheditem watcheditem: Switch out of LB for picking db connection 2023-05-05 15:42:10 +02:00
watchlist Remove deprecated WatchlistNotificationManager class alias 2023-05-13 09:55:45 +02:00
widget Implement HTMLToggleSwitchField for mobile layout of preferences 2023-05-18 02:23:28 +08:00
WikiMap Fix even more PHPStorm inspections (#3) 2023-03-25 00:30:15 +00:00
xml
.htaccess
AutoLoader.php Add DeferredUpdatesManager service to replace DeferredUpdates 2023-05-29 03:59:03 +00:00
BootstrapHelperFunctions.php
config-schema.php wgSVGNativeRendering default should be false, not 'false' 2023-05-27 10:37:57 +03:00
DefaultSettings.php
Defines.php
DevelopmentSettings.php
EventRelayerGroup.php
ExtensionInfo.php
GitInfo.php Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
GlobalFunctions.php Merge "Remove deprecated global function wfShowingResults" 2023-05-16 09:26:17 +00:00
Hooks.php Hard-deprecate Hooks::isRegistered/getHandlers/run/runWithoutAbort 2023-05-18 18:39:17 +00:00
MainConfigNames.php Special:Search - Update interwiki sister icons 2023-05-25 09:21:02 -04:00
MainConfigSchema.php wgSVGNativeRendering default should be false, not 'false' 2023-05-27 10:37:57 +03:00
MediaWiki.php Remove redundant and unused UseCDNCache cookie 2023-04-20 18:11:44 +00:00
MediaWikiServices.php Add DeferredUpdatesManager service to replace DeferredUpdates 2023-05-29 03:59:03 +00:00
MWTimestamp.php Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
NoLocalSettings.php
OutputHandler.php
OutputPage.php Merge "OutputPage: Do not override TOC data if the new one is empty" 2023-05-17 14:17:00 +00:00
PHPVersionCheck.php Expand the PHP installation instructions 2023-05-21 13:00:41 +03:00
Pingback.php Pingback: Switch to use ICP instead of LB 2023-05-05 13:33:11 +02:00
ProxyLookup.php
ServiceWiring.php Add DeferredUpdatesManager service to replace DeferredUpdates 2023-05-29 03:59:03 +00:00
Setup.php Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
SetupDynamicConfig.php
SiteConfiguration.php
Status.php Undeprecate Status::getErrorsArray and ::getWarningsArray() 2023-05-22 10:32:40 +10:00
StreamFile.php
WebRequest.php Use HookContainer in WebRequest 2023-05-06 19:59:33 +00:00
WebStart.php