Module talk:Documentation

Latest comment: 2 years ago by Pigsonthewing in topic Import

Import

edit

@Andy I regret to tell you that Template:Documentation does not function well ('Lua error in Module:Documentation at line 140: message: type error in message cfg.container (string expected, got nil)') since you imported w:en:Module:Documentation on 12:11, 1 December 2022 (UTC). Unfortunately, I am not sure what to do to solve this problem keeping your import, so I think restoration of the previous revision would be better if no one could fix the imported source. What do you think about this? --Eryk Kij (talk) 00:09, 12 December 2022 (UTC)Reply

@エリック・キィ, Pigsonthewing: Digging into the problem myself, the problem seems to come from Module:Documentation/config. On en.wiki's version of the config page at least there is a line for cfg.container (specifically the line cfg['container'] = 'documentation-container'), but in Wikispecies version it doesn't exist. Unfortunately it looks like this went missing when @Tommy Kronkvist imported Metawiki's version of the config page earlier this year diff, and that's probably when the errors about cfg.container started. This just tells me that en.wiki and meta are not in sync at least for this module and maybe we should stick to importing only from one of these wikis, not a mix of both. Monster Iestyn (talk) 19:46, 20 December 2022 (UTC)Reply
I agree with Monster Iestyn. By the way lines 131 to 146 (i.e. including line 140) in the Module:Documentation/config at English Wikipedia regards "Link box (end box) configuration" while lines 130 to 176 in Module:Documentation/config at Meta-Wiki regards "Experiment blurb configuration", so yes they differ at lot. –Tommy Kronkvist (talk), 20:19, 20 December 2022 (UTC).Reply
Looking at my edits from that time, it seems I was importing en:Module:Message box and child templates on which it depends. Feel free to revert, but this is likely to happen again. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 21:44, 20 December 2022 (UTC)Reply
Return to "Documentation" page.