Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML title not set properly for first page load #103

Closed
dartar opened this issue Aug 21, 2016 · 2 comments
Closed

HTML title not set properly for first page load #103

dartar opened this issue Aug 21, 2016 · 2 comments
Labels
bug Something isn't working view: Entity This relates to the entity view

Comments

@dartar
Copy link

dartar commented Aug 21, 2016

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

http:https://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
Copy link
Member

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 mkroetzsch added bug Something isn't working view: Entity This relates to the entity view labels Aug 22, 2016
@mkroetzsch mkroetzsch changed the title Expose item label in HTML title HTML title not set properly for first page load Dec 16, 2016
@mkroetzsch
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working view: Entity This relates to the entity view
Projects
Development

No branches or pull requests

3 participants