Tgr created this task. Tgr added projects: WikibaseMediaInfo, SDC General, Commons. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata.
TASK DESCRIPTION Currently, the HTML title (ie. the `<title>` tag, ie. the text seen at the very top of the browser window; NOT the `<h1>` tag which is shown as a large text towards the top of the page) is simply the file name. This is not terribly useful - Wikimedia wikis at least don't attempt to have descriptive file names, it is entirely up to the author whether to use one (at least partially because the software does not make file name changes simple). It is particularly problematic in search results such as Google Image Search, which prominently displays the document title (and in all likelihood prominently uses it for ranking as well, so images with generic titles are less likely to be found). According to the HTML spec <https://html.spec.whatwg.org/multipage/semantics.html#the-title-element>, //The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context.// - we don't quite fulfill that. A better way, at least on Wikimedia Commons (and other MediaInfo wikis in the future) would be to use the caption from the structured data as the HTML title. The caption, unlike the file name, can easily be improved over time, and is meant for exactly such purposes (it's a short but descriptive plaintext explanation of what's shown on the image). Images with no caption (or more precisely, no caption in the site's default content language, ie. English) would still fall back to the image name. TASK DETAIL https://phabricator.wikimedia.org/T267758 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tgr Cc: Aklapper, Tgr, CBogen, Nintendofan885, Akuckartz, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, Ramsey-WMF, Cparle, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, LawExplorer, Salgo60, Silverfish, Poyekhali, _jensen, rosalieper, Taiwania_Justo, Scott_WUaS, Susannaanas, Ixocactus, Wong128hk, Jane023, Wikidata-bugs, Base, matthiasmullie, aude, El_Grafo, Dinoguy1000, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331, Keegan
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs