Jump to content

Template talk:Official website

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Rowing007 (talk | contribs) at 19:46, 28 March 2023 (Dead links). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

What's the correct way to mark a {{official website}} as a dead link? -- Mikeblas (talk) 16:35, 9 March 2021 (UTC)[reply]

This comes up over and over in the talk archives. The last discussion of any note is Template_talk:Official_website/Archive_3#Dead_links. Some people say if the link is dead it should be deleted entirely from Wikipedia and not replaced with an archive URL. I don't understand that thinking. It is further complicated by Wikidata. IMO I would delete the template and replace it with {{webarchive}} using the |title= arg to give the same wording eg. {{webarchive |url=https://web.archive.org/web/20210309010101/https://example.com|date=2021-03-09|title=Official website}} which produces:
Official website at the Wayback Machine (archived 2021-03-09)
-- GreenC 16:49, 9 March 2021 (UTC)[reply]
FWIW, P856 supports inclusion of an archive URL property like the citations templates do (example), but this template does not make use of it. If I knew template code well enough, I would boldly adjust to treat it as the citation templates do, but since I do not I simply record that wish here so maybe someone else will try it. —KGF0 ( T | C ) 02:00, 10 July 2021 (UTC)[reply]
It's true and called archive URL (P1065). Is there someone out there who indeed knows module code well enough and has admin rights to edit it? You can use the example of (Q27978783#P856) and Scorpia (journalist)#External links. -Cardace (talk) 20:34, 15 July 2022 (UTC)[reply]
I also support adding |archive-url= support. ~Kvng (talk) 14:04, 7 June 2022 (UTC)[reply]
If it keeps coming up, perhaps some text should be included in the documentation to explain what to do with a dead official website (both in the case of a completely dead site and in the case of an updated URL)? Rowing007 (talk) 19:46, 28 March 2023 (UTC)[reply]

Doesn't work with multiple official sites

In my case, it was Drakengard (video game), which has 2 entries of official sites in Wikidata, with addition 1 archived site. If I am use this feature, I should not be required to manually paste links to specify an individual instance. Furthermore, the template should by default generate all official sites from Wikidata instead of just 1, which in the Drakengard (video game) example does not even work (the other ones do, but require manual pasting, which is exactly the point about it being broken when multiple Wikidata links exist). -- 205.189.94.9 (talk) 19:58, 25 June 2022 (UTC)[reply]

Template pulls URLs from Wikidata that are marked as deprecated

Is there any reason why the template pulls a URL from a Wikidata entry, where the URL on Wikidata is marked as deprecated? We just had an edit request at Elliot Page to remove this template because the URL it was providing was not Elliot's website. Back on 2 June 2022 we had a similar edit request to remove the same URL from Elliot's infobox. At the time I made a request to remove the URL on Wikidata, which they did by marking the field as deprecated. This worked fine for the infobox because it used the {{Official URL}} template, which no longer displays the deprecated URL, but for some reason this template still displays it? Sideswipe9th (talk) 17:43, 15 July 2022 (UTC)[reply]

Wrong URL provided despite available URL for English

d:Q828404 has two official websites entered. First one with qualifier "language of work or name" (P407) of "Canadian French" and second one with qualifier of "Canadian English". Listing for Yoho National Park showed the first website, despite there being an entry in English. Deleting the "Canadian French" entry and re-adding resolved the problem, but the problem appears to be that preference is not given if the qualifier is not set to "English" Rosspotter (talk) 07:42, 14 September 2022 (UTC)[reply]

Sometimes one might want to do something like {{Official website|ru}} to get an alternate language, could you make it possible? Cardace (talk) 19:32, 30 December 2022 (UTC)[reply]