Nikki added a comment.
It also needs to display the title in the page title. This is what my tab list looks like for the window I have SPARQL queries in: F34408935: query-service-tabs.png <https://phabricator.wikimedia.org/F34408935> Without updating the page title, it's near impossible to find a particular query in my open windows, in my browser history or in my bookmarks. (I have so many open because it's time-consuming to work out which ones are queries I want to save and which ones were links I opened or queries that I don't need any more - I have to read through each query to find out what it does before I can do anything else with it.) When I remember, I've been using comments of the form `#queryTitle: ...` (copying the style of `defaultView` as I mentioned in my previous comment) and also made myself a little browser extension a while back which updates the page title. The code for the Firefox version is at https://github.com/nikkiwd/wdqsqt, seems I never added the Chrome version. In T225883#7013447 <https://phabricator.wikimedia.org/T225883#7013447>, @Lucas_Werkmeister_WMDE wrote: > You can already do this with a `#TEMPLATE` with no variables (example <https://query.wikidata.org/embed.html#%23TEMPLATE%3D%7B%20%22template%22%3A%20%7B%20%22en%22%3A%20%22trans%20sportswomen%22%20%7D%20%7D%0ASELECT%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20WHERE%20%7B%0A%09%3Fitem%20wdt%3AP31%20wd%3AQ5%20.%0A%09%3Fitem%20wdt%3AP21%20%3Fgend%20.%0A%20%20%20%20%3Fitem%20wdt%3AP106%2Fwdt%3AP279*%20%3Fjob%20.%0AVALUES%20%3Fgend%20%7B%0A%20%20%23wd%3AQ2449503%20%23trans%20men%0A%20%20wd%3AQ1052281%20%23trans%20women%0A%7D%0AVALUES%20%3Fjob%20%7Bwd%3AQ11513337%20wd%3AQ2066131%20wd%3AQ15982795%20wd%3AQ50995749%20wd%3AQ2215841%7D%0A%20%20%20%20%23FILTER%20NOT%20EXISTS%20%7B%20%3Fwfr%20schema%3Aabout%20%3Fitem%20.%20%3Fwfr%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fen.wikipedia.org%2F%3E.%7D%0A%20%20%20%20%23FILTER%28%20%3Fitem%20NOT%20IN%20%28wd%3AQ4617%2C%20wd%3AQ15397819%2C%20wd%3AQ13406268%2C%20wd%3AQ4115189%29%29%20%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22[AUTO_LANGUAGE]%2Cen%22.%20%7D%0A%7D>), though the presentation could probably still be improved. I don't see a title on that page...? TASK DETAIL https://phabricator.wikimedia.org/T225883 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nikki Cc: Lucas_Werkmeister_WMDE, Lydia_Pintscher, Nikki, Tagishsimon, Aklapper, Invadibot, MPhamWMF, maantietaja, CBogen, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs