Page MenuHomePhabricator

🟪 Use `EntityRevisionLookup` to get the information for the headers
Closed, ResolvedPublic

Description

  • add last revision id and date to the response headers

Event Timeline

Change 767713 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

[mediawiki/extensions/Wikibase@master] REST: Use EntityRevisionLookup to retrieve item

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

Change 767714 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

[mediawiki/extensions/Wikibase@master] REST: Add 'Last-Modified' header to GET item

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

Change 767715 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

[mediawiki/extensions/Wikibase@master] REST: Add 'ETag' header to GET item

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

Change 767715 abandoned by Silvan Heintze:

[mediawiki/extensions/Wikibase@master] REST: Add 'ETag' header to GET item

Reason:

Integrated in I9915f17ff9b089b53d6330eb2dffdb64c994cd63

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

Change 767713 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Use EntityRevisionLookup to retrieve item

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

Change 767714 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Add metadata headers to GET item

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