wiki.techinc.nl/includes/page
daniel fd3a695230 Title: use PageStore instead of LinkCache
This causes Title to no longer look up fields in the database
individually, but use LinkCache instead to load an entire row from the
page table at once.

This patch also causes Title to use in-process caching for some
getters that did not use caching before, such as isNewPage()
and getTouched(). These methods do not appear to be used on critical
code paths that involve database updates.

Note that getTouched() used to take an options $db parametr. This
appears to be unused, and has been deprecated in favor of a $flags
parameter, for consistency with other getters on the class.

DEPLOY: Risky! This re-implements the internal caching logic of Title
and slightly modifies caching semantics in some cases. This may have
unforeseen consequences.

Bug: T285389
Depends-On: I103b9e1d2bf594bfc1b0ea12b980dd20bb911c3a
Change-Id: I2df81df7186025e001520f24fd498623c7184772
2021-11-02 23:12:47 +01:00
..
Hook Deprecate the UndeleteForm::undelete hook 2021-09-28 15:40:50 +00:00
Article.php Give skins more flexibility over table of contents render 2021-10-25 22:26:41 +00:00
CategoryPage.php Remove Title from signatures in CategoryViewer 2021-09-13 16:14:06 +00:00
ContentModelChangeFactory.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
DeletePage.php Change return format of DeletePage entrypoints 2021-10-20 19:26:12 +00:00
DeletePageFactory.php Make DeletePage a real service 2021-09-08 11:43:04 +00:00
ExistingPageRecord.php Make WikiPage a ProperPageIdentity 2021-08-30 13:05:18 +00:00
ImageHistoryList.php Pre-format comments for non-local files too 2021-10-05 12:38:18 -07:00
ImageHistoryPseudoPager.php Don't pass nulls to CommentFormatter::formatStrings 2021-10-20 06:56:13 -07:00
ImagePage.php Rename ParserOutput::{allow,prevent}Clickjacking() -> ::{get,set}PreventClickjacking() 2021-10-01 14:13:47 -04:00
LegacyArticleIdAccess.php
MergeHistoryFactory.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
MovePageFactory.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
Page.php
PageArchive.php Deprecate replaced PageArchive methods 2021-10-21 18:28:03 +02:00
PageCommandFactory.php Migrate WikiPage::doEditUpdates() to using PageUpdaterFactory 2021-10-07 11:17:43 +01:00
PageIdentity.php
PageIdentityValue.php
PageLookup.php Title: use PageStore instead of LinkCache 2021-11-02 23:12:47 +01:00
PageRecord.php Make WikiPage a ProperPageIdentity 2021-08-30 13:05:18 +00:00
PageReference.php
PageReferenceValue.php
PageSelectQueryBuilder.php PageStore: Use LinkCache 2021-09-01 08:24:34 +00:00
PageStore.php Title: use PageStore instead of LinkCache 2021-11-02 23:12:47 +01:00
PageStoreFactory.php PageStore: Use LinkCache 2021-09-01 08:24:34 +00:00
PageStoreRecord.php Title: use PageStore instead of LinkCache 2021-11-02 23:12:47 +01:00
ParserOutputAccess.php
ProperPageIdentity.php Document ProperPageIdentity::canExist as returning true 2021-08-21 14:36:38 +02:00
RollbackPage.php Move revert detection code from WikiPage to EditResultBuilder 2021-09-16 12:24:34 -07:00
RollbackPageFactory.php
UndeletePage.php Migrate WikiPage::doEditUpdates() to using PageUpdaterFactory 2021-10-07 11:17:43 +01:00
UndeletePageFactory.php Add perm checks to UndeletePage and make it a real service 2021-10-04 20:25:49 +00:00
WikiCategoryPage.php
WikiFilePage.php Move some methods from FileDeleteForm to a subclass of DeleteAction 2021-09-17 22:13:19 +02:00
WikiPage.php Change return format of DeletePage entrypoints 2021-10-20 19:26:12 +00:00
WikiPageFactory.php UndeletePage cleanup, part 1 2021-09-21 18:13:57 +02:00