diff options
author | Tim Starling <tstarling@wikimedia.org> | 2021-12-07 16:37:26 +1100 |
---|---|---|
committer | Tim Starling <tstarling@wikimedia.org> | 2022-01-04 15:35:57 +1100 |
commit | d3b2b800678e91fd1a6177d80fde790c9006d423 (patch) | |
tree | 940b8b37452a41abcb6f16ec0d6824c9e5bcbddc /includes/AutoLoader.php | |
parent | bdae0df4e057ba71e19b491108100d61a1b84faf (diff) | |
download | mediawikicore-d3b2b800678e91fd1a6177d80fde790c9006d423.tar.gz mediawikicore-d3b2b800678e91fd1a6177d80fde790c9006d423.zip |
LinksUpdate refactor
* In LinksUpdate, put each table in its own class, so that the
special code for each table has a more elegant place to go.
* Use generators to abstract and flatten out the underlying ParserOutput
data structures, without requiring the data to be copied. This allows
the incremental logic which was previously duplicated for each table,
i.e. computing insertions and deletions from the old and new state,
to be factored out. The per-table batch classes act as container
abstractions for the underlying data.
Bug: T263437
Depends-On: I472f4a023969bfde6298eb56112c16d2ae842199
Change-Id: Id40be19a8caa7b4669911927964cfd6755c25238
Diffstat (limited to 'includes/AutoLoader.php')
-rw-r--r-- | includes/AutoLoader.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index 1e77d2247fca..6e64f8c09163 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -148,6 +148,7 @@ class AutoLoader { 'MediaWiki\\Config\\' => __DIR__ . '/config/', 'MediaWiki\\Content\\' => __DIR__ . '/content/', 'MediaWiki\\DB\\' => __DIR__ . '/db/', + 'MediaWiki\\Deferred\\LinksUpdate\\' => __DIR__ . '/deferred/LinksUpdate/', 'MediaWiki\\Diff\\' => __DIR__ . '/diff/', 'MediaWiki\\Edit\\' => __DIR__ . '/edit/', 'MediaWiki\\EditPage\\' => __DIR__ . '/editpage/', |