Context:
Special:EntityData is intended to be a LinkedData interface.
It should support various RDF flavours, and plain JSON.
Problem:
Special:EntityData currently inherits some formats from the MediaWiki API result formats, specifically php-serialized. This will be dropped.
This would allow us to use the JSON serialization of the entity directly, and drop the clunky dependency on the API result formatters.
Acceptance criteria:
- The “php” format of Special:EntityData is completely gone.
- https://www.wikidata.org/wiki/Special:EntityData/Q42.php returns an error (almost certainly 415 Unsupported Media Type, like Q42.blah)
- curl -I -H 'Accept: application/vnd.php.serialized' https://www.wikidata.org/wiki/Special:EntityData/Q42 returns an error (almost certainly 406 Not Acceptable, like curl -I -H 'Accept: application/vnd.microsoft.portable-executable' https://www.wikidata.org/wiki/Special:EntityData/Q42)
- The code and tests have been cleaned up as described above (“drop the clunky dependency on the API result formatters”), or we determine that this no longer applies.
Notes:
- This will be annonunced as a significant change according to the Stable Interface Policy.