HomePhabricator

Secondary indexes for JADE pages
e2b7dcb1d8f7Unpublished

Authored by awight on Aug 29 2018, 6:22 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Secondary indexes for JADE pages

We maintain link tables between judgment pages and the wiki entity they
judge. In normal operation, hooks will keep these secondary tables in
sync with judgments, and a maintenance script is provided for cleanup
in case of corruption.

The rationale for link tables is to make it easier and more efficient
to do joins between judgments and revisions, for example in the
Special:RecentChanges pager.

Note: It's possible that we'll want to use MCR in the future, and JADE content
could be stored under a non-main slot role. There are a few alternatives for
what this would look like, so we're not ready to add the MCR fields to the
schema yet.

Bug: T202596
Bug: T203037
Change-Id: I8897fd268f56c0d5c4361d5b87f301cdae85f37e

Details

Committed
awightOct 3 2018, 11:30 PM
Parents
rEJAD912627893f0e: Merge "Don't allow moving of judgment pages"
Branches
Unknown
Tags
Unknown
ChangeId
I8897fd268f56c0d5c4361d5b87f301cdae85f37e