This is the error I receive when trying to "Add links" to a page through Wikibase in MediaWiki 1.35.
Is there any way to improve the error message we receive, to help with troubleshooting?
This is the error I receive when trying to "Add links" to a page through Wikibase in MediaWiki 1.35.
Is there any way to improve the error message we receive, to help with troubleshooting?
I'm afraid this needs much more context. Is this on wikidata.org or your own wiki? Do you see anything in the JavaScript console?
Hello, Thiemo.
It's in a wiki I am helping run.
I checked the console and found these errors, which may help find out what causes it:
"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource" https://shared.prolewiki.org/api.php?action=query&format=json&origin=https%3A%2F%2Fen.prolewiki.org&meta=userinfo(Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
If we try to access that link, we get
"'origin' parameter does not match Origin header"
I'm afraid I can't help with that. I suggest to check if Manual:CORS is helpful.
I'd bet this has nothing to do with Wikidata. Have you gone through the sitelinks documentation here? Wikibase/Installation#Enable Sitelinks