Jarekt added a comment.

data.P27 is not arbitrary string but output of Module:Wikidata's formatStatements(...,displayformat='raw'}) which is suppose to return a q-code. That said it might still be unsafe as this code uses functionality of Module:Wikidata which might not have been used much otherwise. When I can I try to use alternatives to Module:Wikidata, which I find too large to easily follow and debug.


TASK DETAIL
https://phabricator.wikimedia.org/T163815

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jarekt
Cc: Izno, matej_suchanek, Jarekt, Aklapper, QZanden, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to