Avoid "Commons link should be well-formed" warning
See original GitHub issueWhen uploading a picture via Nearby, the Wikidata item’s image
field is filled via a sanitized version of the picture’s title (notice the underscores):
It works, but actually, Wikidata prefers the non-sanitized version, so it complains:
This statement has some issues.
Commons link constraint.
Commons link should be well-formed.
This can be fixed by editing and writing the title instead, like this (notice the lack of underscores):
Which solves the problem:
Your task:
- Find where in the code the Wikidata item’s
image
value is set. - Set it to the real image title. I am pretty sure we already have that title, and we don’t need dirty tricks (such as replacing underscore with spaces… there might be other differences).
Issue Analytics
- State:
- Created 4 years ago
- Comments:30 (15 by maintainers)
Top Results From Across the Web
xml - How to fix error: The markup in the document following ...
The markup in the document following the root element must be well-formed. This error indicates that your XML has markup following the root ......
Read more >How to Submit, Track and View Your Application
You must address any errors identified in Grants.gov and eRA Commons before the submission deadline. Warnings do not stop application processing ...
Read more >Extensible Markup Language (XML) 1.0 (Fifth Edition) - W3C
ENTITY mylt "<"> ), it is strongly advised to avoid this practice since any reference to that entity will cause a well-formedness error....
Read more >Handling common HTML and CSS problems - MDN Web Docs
Basically, it is a matter of checking whether your HTML and CSS code is well formed and doesn't contain any syntax errors. Note:...
Read more >Resolving common notarization issues - Apple Developer
You can only notarize apps that you sign with a Developer ID certificate. If you use any other certificate — like a Mac...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gouri-panda seeing as how it has been 2 months with no activity I say go for it, try and replicate the issue first because I don’t know if it exists
Sure @maskaravivek 😃