magnusmanske / quickstatements

The official repo for the QuickStatements PHP/HTML/JS interface
https://quickstatements.toolforge.org/
GNU General Public License v3.0
41 stars 16 forks source link

QuickStatememt fails to handle P6375 (street address) #49

Closed Ysogo closed 1 year ago

Ysogo commented 1 year ago

It is not possible to add/change P6375 through quickstatement because it goes to error even with correct input statement.

Sample to test: Q4115189|P6375|"Sunset Road"

My best guessing is that QS fails because Wikidata has a constrain to specificy the language code of the address for property P6375. To the best of my knowledge QS does not yet have a sintax to specifiy the language of a property value. Can someone implement it? A possible approach would be to specify the language code as a tail of the property code (e.g. P6375de for german)

tuukka commented 1 year ago

This works for me after I add the language code before the string like this:

Q4115189|P6375|en:"Sunset Road"

Result after running it: https://www.wikidata.org/w/index.php?title=Q4115189&diff=prev&oldid=1996982738

Ysogo commented 1 year ago

Thank you Tuukka. Now I understand what I did wrong.