Module talk:Category handler
Appearance
Error in Implementing this Module
![]() | This help request has been answered. If you need more help, you can , contact the responding user(s) directly on their user talk page, or consider visiting the Teahouse. |
I copied this module to my local wiki (Tamil). When I use this in {{mbox}} as {{#invoke:Message box|mbox}} , I get the following error:
Lua error in Module:Category_handler at line 231: attempt to call field '_main' (a nil value). Backtrace: Module:Category_handler:231: ? (tail call): ? Module:Message_box:409: in function "setBoxParameters" Module:Message_box:539: ? (tail call): ? mw.lua:553: ?
I can see that the error is in this module at line number 231: Which is:
local data = nsDetect._main(ndargs)
Can someone please help me? --Jayarathina (talk) 15:15, 17 November 2013 (UTC)
- I'm no Lua expert; you may want to ask the user who actually wrote this module, Mr. Stradivarius. At a glance the problem seems to be that this module tries to call a field that doesn't contain a value. This field seems to come from Module:Namespace detect. Did you copy that module to the Tamil Wikipedia, too? If not, that's likely the reason for the error. Huon (talk) 15:37, 17 November 2013 (UTC)