Steps to replicate the issue (include links if applicable):
- open page and go to section --> https://www.wikidata.org/wiki/User:Wladek92/test/page2/fr#1_translate_4_conditions
- it is the december 2025 equivalent of -> https://www.wikidata.org/w/index.php?title=Wikidata:SPARQL_query_service/queries/examples&diff=2452384417&oldid=2449696549#Canadian_subjects_with_no_English_article_in_Wikipedia
What happens?:
- on the translated page see that the script stops at ..wdt:P27|wdt:P205|wdt:P17. and the end is missing compared to what is ln EN page
- it is as if the requested TU there was not found for the comment
- different tests have been done but no clear conclusion emerged (see initial discussion -> https://www.wikidata.org/wiki/Wikidata_talk:SPARQL_query_service/queries/examples#Parsing_error_in_a_query)
- as a workaround, a restructuration of the script has been proposed but we dont guess where the problem is
What should have happened instead?:
- at least the complete script should appear as it is on the EN page even if comments are not translated
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):