Jump to content

Module talk:Hatnote list

Add topic
From Wikispecies
Latest comment: 3 years ago by Monster Iestyn in topic Error when using for template

Error when using for template

[edit]

@Pigsonthewing: Hi, could you update this module? I just found out the {{For}} template gives the following script error when used with no parameters:

Lua error in Module:Hatnote_list at line 173: bad argument #1 to '_formatLink' (table expected, got string).

which turns out to be because this module was not updated on this wiki when Module:Hatnote was updated last year. Monster Iestyn (talk) 23:55, 7 September 2021 (UTC)Reply

@Monster Iestyn: Done; please report any issues. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:13, 8 September 2021 (UTC)Reply
@Pigsonthewing: All good, just checked with the {{For}} template (both without parameters and without the second), the error is now gone and it works as intended. Thanks! Monster Iestyn (talk) 14:45, 8 September 2021 (UTC)Reply