Last modified: 2014-03-19 11:18:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63264, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61264 - Implement EntityStore service
Implement EntityStore service
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Daniel Kinzler
u=dev c=story p=0
:
Depends on: 62211
Blocks: 57744 62210
  Show dependency treegraph
 
Reported: 2014-02-12 14:08 UTC by Daniel Kinzler
Modified: 2014-03-19 11:18 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2014-02-12 14:08:51 UTC
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.
Comment 1 tobias.gritschacher 2014-02-18 11:28:53 UTC
https://gerrit.wikimedia.org/r/#/c/102496/
Comment 2 Gerrit Notification Bot 2014-02-18 11:29:18 UTC
Change 102496 had a related patch set uploaded by Tobias Gritschacher:
(bug 61264) Introducing WikiPageEntityStore

https://gerrit.wikimedia.org/r/102496
Comment 3 Gerrit Notification Bot 2014-02-27 22:33:52 UTC
Change 112934 had a related patch set uploaded by Daniel Kinzler:
(Bug 61264) Refactoring EditEntity to use EntityStore

https://gerrit.wikimedia.org/r/112934
Comment 4 Gerrit Notification Bot 2014-02-28 17:41:54 UTC
Change 112934 had a related patch set uploaded by Daniel Kinzler:
(bug 61264) Refactoring EditEntity to use EntityStore

https://gerrit.wikimedia.org/r/112934
Comment 5 Gerrit Notification Bot 2014-03-03 17:16:19 UTC
Change 102496 merged by jenkins-bot:
(bug 61264) Introducing WikiPageEntityStore

https://gerrit.wikimedia.org/r/102496

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links