Wikidata / SQID

A tool to analyse, browse and query Wikidata
http://tools.wmflabs.org/sqid/
Apache License 2.0
84 stars 17 forks source link

HTML title not set properly for first page load #103

Closed dartar closed 5 years ago

dartar commented 8 years ago

To improve discoverability, SEO, and usability, the item label should be exposed in the HTML title tag, e.g.

http://tools.wmflabs.org/sqid/#/view?id=P1341&lang=en

currently displays: P1341 - SQID

should be something like: Italian Chamber of Deputies ID (P1341) - SQID

mkroetzsch commented 8 years ago

This seems to be a bug. If you click on any of the links to other items on the page, you will see that the title is displayed correctly there. (Whether any search engine can properly index such dynamically generated pages is another question. I don't know if this works, even if we fix it for human readers.)

mkroetzsch commented 7 years ago

Some investigation suggested that there might be a race condition in the parallel processing during the first page load here. We have, however, not yet been able to find a reliable fix for this behavior. This bug is not actively investigated at the moment, so suggestions are welcome.