Module talk:Wd

From Wikispecies
Jump to navigation Jump to search

Errors[edit]

Examining the Lua code for myself (I know a little bit), I think I finally figured out why this module's errors are broken here on Wikispecies: it looks like the sub-module Module:Wd/i18n is not being used correctly. In particular, it appears Module:Wd/i18n was rewritten at some point, but our Module:Wd didn't get the revisions needed to support this rewrite; as a result it cannot initialise the i18n variable properly, and so ["errors"] (along with any other field supposed to be set for i18n) is nil. Compare the function loadSubmodules here with loadI18n on en:Module:Wd to see what I mean.

Basically this module probably just needs to be brought up-to-date again, I think. @Pigsonthewing: Can you do this right now? Monster Iestyn (talk) 11:34, 1 September 2021 (UTC)[reply]

@Monster Iestyn: Done; manually, as Special:Import failed. A diff shows considerable changes, so anyone may revert me if there are any significant issues. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:04, 1 September 2021 (UTC)[reply]
@Pigsonthewing: Well, Roderic D.M. Page for instance no longer displays an error from using {{Official URL}}, so we're probably good for now, thanks. Monster Iestyn (talk) 13:07, 1 September 2021 (UTC)[reply]
@Pigsonthewing: Oh yeah, Module:Wd/aliasesP probably could be deleted now too, as it is no longer used on this wiki (and its contents now live in the main module page). Monster Iestyn (talk) 13:36, 1 September 2021 (UTC)[reply]
@Monster Iestyn: Thank you. Done. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:58, 1 September 2021 (UTC)[reply]