Jump to content

Topic on Project:Support desk

Lua error: module 'Module:Message box' not found

3
VonCorax (talkcontribs)

I want to use MediaWiki's Stub template on my own installation. When I try to edit the template file I get the error message "Lua error in package.lua at line 80: module 'Module:Message box' not found." How can I fix this?

I'm using MediaWiki 1.42.1 with Lua 5.1.5 and TemplateStyles 1.0 (8a7dd4a).

Thanks.

Bawolff (talkcontribs)

You need to also copy all templates it depends on (in this case w:Module:Message box)

If transferring using Special:Export and Special:import, be sure to check the "Include templates" checkbox.

VonCorax (talkcontribs)

I've done that, and now I'm getting "Module:Message box/configuration" not found. Do I just keep importing stuff until it works? Importing Message box/configuration accomplished nothing.