Template talk:Official website
Template:Old AfD multi Template:Permanently protected Template:Talkheader Template:Archives
Dead links
What's the correct way to mark a {{official website}} as a dead link? -- Mikeblas (talk) 16:35, 9 March 2021 (UTC)
- 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: - -- GreenC 16:49, 9 March 2021 (UTC)
- 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)
- It's true and called (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)
- Done. You can see the staged changes at Template:Official website/sandbox, although I've yet to update the documentation and add test cases. Once that's done, I'll submit an edit request. — Alhadis (talk) 07:37, 12 February 2025 (UTC)
- It's true and called (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)
- I also support adding
|archive-url=support. ~Kvng (talk) 14:04, 7 June 2022 (UTC) - 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)
- I support archive capability as well. ɱ (talk) 21:46, 19 June 2023 (UTC)
- I came here from Space Station 76#External links, and all I want to say is: Ditto. —ReadOnlyAccount (talk) 01:09, 23 December 2023 (UTC)
- I have modified the documentation to include advice about dead links. -- Mikeblas (talk) 20:41, 31 March 2024 (UTC)
- I support archive capability as well. ɱ (talk) 21:46, 19 June 2023 (UTC)
- 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)
Wikidata language parameter or host-language selection not yet implemented
We still don't seem to have proper handling of websites with multiple languages when getting data from Wikidata. Both:
- Template:S (done; see below Boud (talk) 16:18, 21 December 2024 (UTC)); and
- a parameter to override the host wiki language;
are needed.
Previous discussions:
- 2010 to 2016 - issue repeatedly mentioned
- March 2018 - request for parameter
- August 2018 - there seems to be a working proposal
Is there any progress? or a workaround? Boud (talk) 16:04, 21 December 2024 (UTC)
There does appear to be a piece of code in Module:Official website to select the English language if available:
-- Finds whether a Wikidata property is qualified as being in English. local function isEnglish(prop) local ret = quickPcall(function () for i, lang in ipairs(prop.qualifiers.P407) do if lang.datavalue.value['numeric-id'] == 1860 then return true end end return false end) return ret == true end
but it Template:S Boud (talk) 16:09, 21 December 2024 (UTC)
Official blog template
I want someone to create an 'official blog' template using similar code as this. Wikidata has a property for it under Template:Prop and bare link versions are sometimes used, such as in the article Anna's Archive. Juwan (talk) 02:29, 11 April 2025 (UTC)
- Beware that indiscriminate use of such a template may violate WP:ELMINOFFICIAL, which warns against multiple links. For multi-national corporations, you also get the joy of deciding which country's blog gets to be officially blessed by Wikipedia. Stepho talk 22:42, 11 April 2025 (UTC)
Template-protected edit request on 7 September 2025
Template:Edit template-protected Change www.lopezquezon.gov.ph to https://livelopez.gov.ph/ Jksnchz (talk) 10:29, 7 September 2025 (UTC)
- @Jksnchz: Not done: this is the talk page for discussing improvements to the template
{{Official website}}. If possible, please make your request at the talk page for the article concerned. If you cannot edit the article's talk page, you can instead make your request at Wikipedia:Requests for page protection#Current requests for edits to a protected page. taavi (talk!) 11:33, 7 September 2025 (UTC)
Suppresses asterisk markup
Template:Edit template-protected
For some reason, the template now suppresses the leading asterisk wiki markup: * {{Official website|example.com}} gives
Please fix. -- Michael Bednarek (talk) 00:17, 21 November 2025 (UTC)
- Fixed Zackmann (Talk to me/What I been doing) 02:41, 21 November 2025 (UTC)
- Thank you. -- Michael Bednarek (talk) 02:50, 21 November 2025 (UTC)
- Thank you for finding it! Zackmann (Talk to me/What I been doing) 03:00, 21 November 2025 (UTC)
- Thank you. -- Michael Bednarek (talk) 02:50, 21 November 2025 (UTC)