thiemowmde added a comment. |
Repeating what I wrote in https://gerrit.wikimedia.org/r/295213:
- I think sending a "200 OK" status code is wrong. These pages should be indexed by search engines when they exist and contain something. With a 200 the number of pages indexed on Commons will double, but half of these pages will not contain anything useful. Let's please stay with the 404 or use a more suitable status code.
- I think Special:EntityData should return an empty JSON blob, as if an empty entity exists. Main reason: It must be possible to edit such a non-existing page. We agreed that the UI should allow editing non-existing entities. External tools and bots should behave identical, which means all our getter APIs as well as EntityData should return something you can edit.
- But not in dumps, for, well, I think obvious reasons. The stuff in dumps is usually not used for editing, but purely for consumption. Having an empty JSON blob in there is not very different from omitting it.
TASK DETAIL
EMAIL PREFERENCES
To: thiemowmde
Cc: thiemowmde, Aklapper, Zppix, daniel, D3r1ck01, Izno, Wikidata-bugs, aude, Ricordisamoa, Mbch331
Cc: thiemowmde, Aklapper, Zppix, daniel, D3r1ck01, Izno, Wikidata-bugs, aude, Ricordisamoa, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs