Diskusjon:VM i landhockey for menn 2023

Siste kommentar: for 1 år siden av Løken i emnet Bug?

Bug?

rediger

{{landhockeyflagg|Wales}} (  Wales) links to Waless herrelandslag i landhockey.

Shouldn't it link to Wales' herrelandslag i landhockey? So Wales' instead of Waless.

Sb008 (diskusjon) 28. jan. 2023 kl. 03:33 (CET)Svar

Sb008: You could use {{fh}} --- Løken (diskusjon) 29. jan. 2023 kl. 19:57 (CET)Svar
@Løken: Thx, that solves the issue, however it leaves my question unanswered. Shouldn't {{landhockeyflagg}} not produce a correct wikilink as well?--Sb008 (diskusjon) 29. jan. 2023 kl. 20:21 (CET)Svar
Sb008: Yes, but {{landhockeyflagg}} is an old version of the template. We changed the way those templates get their flag, and this template is not compatible with this. There is probably an easy solution, but havent got to this yet :) ---- Løken (diskusjon) 29. jan. 2023 kl. 21:38 (CET)Svar
@Løken: Wouldn't it be a better option to have a bot replace all instances of {{landhockeyflagg}} by {{fh}} or {{fhw}} and {{landhockeyflagg-h}} by {{fh-rt}} or {{fhw-rt}} (depending on if |kv=1 is used for {{landhockeyflagg}} or {{landhockeyflagg-h}}), and finally remove {{landhockeyflagg}} and {{landhockeyflagg-h}}? --Sb008 (diskusjon) 29. jan. 2023 kl. 22:04 (CET)Svar
Yes in theory, as long as you are sure that womens team is correctly moved to fhw. --- Løken (diskusjon) 29. jan. 2023 kl. 22:13 (CET)Svar
@Løken: I don't have bot rights on NO-Wiki. ==Sb008 (diskusjon) 29. jan. 2023 kl. 22:18 (CET)Svar
Sb008: If you have a bot you can apply here: Wikipedia-diskusjon:Roboter#Permissions_to_run_a_general_bot. --- Løken (diskusjon) 29. jan. 2023 kl. 22:21 (CET)Svar
Tilbake til siden «VM i landhockey for menn 2023».