Last modified: 2014-03-04 13:22:33 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 T62043, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60043 - Split caching logic out of WikiPageEntityLookup
Split caching logic out of WikiPageEntityLookup
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
backlog, cleanup
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-14 16:23 UTC by Daniel Kinzler
Modified: 2014-03-04 13:22 UTC (History)
3 users (show)

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


Attachments

Description Daniel Kinzler 2014-01-14 16:23:04 UTC
Currently, WikiPageEntityLookup is implementing the logic for checking any cached content against the current revision in the page table and updating the cache. This logic should be factored out of the base implementation and moved to a decorator.

To allow this, the EntityRevisionLookup interface should get a method getLatestRevisionId( EntityId ), which can be used by a caching decorator to check that a cached entity is still up to date.
Comment 1 Daniel Kinzler 2014-03-04 10:42:58 UTC
Fixed by I08f2c6d154d

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


Navigation
Links