https://bugzilla.wikimedia.org/show_bug.cgi?id=61264
Web browser: ---
Bug ID: 61264
Summary: Implement EntityStore service
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
EntityStore should abstract the storage of entities, so they could be stored in
a place other than wiki pages. In effect, this means we'll avoid using
EntityContent whenever possible, and eventually deprecate EntityContent::save.
Doing so will, among other things, allow unit tests for our API modules to not
touch the database.
This involves several steps:
1) factor caching out of WikiPageEntityLookup
2) implement WikiPageEntityStore (including a purging mechanism for caching
EntityLookup)
3) refactor EditEntity to use EntityStore, decoupeling it from EntityContent
4) move storage logic from EntityContent::save to
WikiPageEntityStore::saveEntity, deprecate EntityContent::save
5) refactor remaining uses of EntityContent::save to use an EntityStore
instead.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l