Page MenuHomePhabricator

Minimal data extension service for the Commons reconcile endpoint
Closed, ResolvedPublic

Description

We want the Commons reconcile service to support data extension.

Let us first aim for a minimal working prototype. This would mean:

  • Adding a simple "extend":{} to the service manifest, with none of the optional fields supplied.
  • Changing the main route so that queries with the extend= GET/POST parameter return the expected response, following the specs.

The properties to be supported by the service should be:

  • wikitext: returns the entire wikitext associated with the Commons file. For instance, retrieving this property on M74698470 would return this string:
== {{int:filedesc}} ==
{{Information
|description={{es|1=Chick Corea & Stanley Clarke en el Auditorio Kursaal (2014).}}
|date=2014-07-25
|source={{own}}
|author=[[User:Vidartereyes|Vidartereyes]]
}}

== {{int:license-header}} ==
{{self|cc-by-sa-4.0}}

[[Category:Chick Corea]]
[[Category:Stanley Clarke]]
[[Category:Donostia Jazz Festival]]
[[Category:Kursaal Palace]]
  • Wikidata property ids, such as P180. For instance, fetching this property on M74698470 would return two items: Q192465 and Q453406.

Event Timeline

Pintoch updated the task description. (Show Details)

Change 732267 had a related patch set uploaded (by Eugene233; author: Eugene233):

[labs/tools/commons-recon-service@main] Minimal data extension service for the Commons reconcile endpoint

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

Change 732267 merged by jenkins-bot:

[labs/tools/commons-recon-service@main] Minimal data extension service for the Commons reconcile endpoint

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