[MCR] NameTableStore
authoraddshore <addshorewiki@gmail.com>
Tue, 16 Jan 2018 13:53:22 +0000 (13:53 +0000)
committerJforrester <jforrester@wikimedia.org>
Fri, 2 Mar 2018 19:48:15 +0000 (19:48 +0000)
commit4d3549ad71a9a7b95569e962c12ee7cb05bbb473
treefae404d1113cc56e346dd95bea42a00a936876c0
parent52ced406061caadb6014300d993e1a20dfa017ba
[MCR] NameTableStore

General purpose cached store for things like:
 - content_models (id,name)
 - slot_roles (id,name)
And in the future possibly namespaces & content_formats
as mentioned at:
https://www.mediawiki.org/wiki/Multi-Content_Revisions/Schema_Migration#Name_tables

Bug: T188518
Change-Id: Ia550ef7fe30af25ac3fee5ac8a89d032544563bf
autoload.php
includes/MediaWikiServices.php
includes/ServiceWiring.php
includes/Storage/NameTableAccessException.php [new file with mode: 0644]
includes/Storage/NameTableStore.php [new file with mode: 0644]
tests/phpunit/includes/Storage/NameTableStoreTest.php [new file with mode: 0644]