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
    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
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

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to