WikiProject iconItaly Template‑class
WikiProject iconThis template is within the scope of WikiProject Italy, a collaborative effort to improve the coverage of Italy on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Script errors[edit]

Category:Pages with script errors has recently been flooded with several hundred articles (there are normally no articles in that hidden error tracking category). Many of them (all?) seem to be due to the fact that this template is generating an error. Apparently that is something to do with Wikipedia:Templates for discussion/Log/2018 October 24 and the subsequent refactoring of various templates. The hidden error is "Lua error in Module:Data at line 7: attempt to index local 'data' (a nil value)" called from Module:Data called from Module:Arguments called from Module:Navbox.

Related changes suggests that edits to one or more these are responsible:

@Pppery + MSGJ: Any ideas on how to fix this? Johnuniq (talk) 00:47, 27 January 2019 (UTC)Reply[reply]

@Johnuniq: Fixed. I made a typo when editing Template:Navbox Province of Italy ((3x|p))ery (talk) 01:44, 27 January 2019 (UTC)Reply[reply]
Also, the Lua error wasn't invisible: it appeared as the mouseover text for the image on the right side of the navbox. ((3x|p))ery (talk) 01:50, 27 January 2019 (UTC)Reply[reply]
Thanks, the error category is slowly emptying. Johnuniq (talk) 02:25, 27 January 2019 (UTC)Reply[reply]