We want the Commons reconcile service to support [[ https://reconciliation-api.github.io/specs/latest/#data-extension-service | data extension ]].
Let us first aim for a minimal working prototype. This would mean:
* Adding a simple `"extend":{}` to the [[https://reconciliation-api.github.io/specs/latest/#service-manifest | 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 [[https://commons.wikimedia.org/wiki/File:Chick_Corea_%26_Stanley_Clarke.jpg|`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 [[ https://commons.wikimedia.org/wiki/File:Chick_Corea_%26_Stanley_Clarke.jpg | `M74698470`]] would return two items: [[ https://www.wikidata.org/wiki/Special:EntityPage/Q192465 | `Q192465` ]] and [[ https://www.wikidata.org/wiki/Special:EntityPage/Q453406 | `Q453406` ]].