Tarrow added a comment.

"Perfect" links are only returned for forms when the datatype is explicit specified as such and the id is valid e.g.
value: L10-F3 and type: wikibase-form {"result":"<a href="">

A perfect link is also displayed when wikibase-form is passed as the datatype with a deleted sense id e.g.
value: L10-S3 and type: wikibase-form {"result":"L10-S3 <span class=\"wb-entity-undefinedinfo\">(Deleted Sense)</span>"}

However if a valid (existing) sense id is passed with datatype=wikibase-form then a WMF error page is shown with the following error:
Call to undefined method Wikibase\Lexeme\Domain\Model\Sense::getRepresentations()

A valid sense with datatype=wikibase-sense results in success.

passing a deleted form ID results in a WMF error page.


TASK DETAIL

EMAIL PREFERENCES

To: Tarrow
Cc: Lucas_Werkmeister_WMDE, Addshore, Nandana, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, Jdforrester-WMF, Mbch331, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to