Jump to content

Template talk:Metropolitan City of Rome Capital

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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]

@Johnuniq: Fixed. I made a typo when editing Template:Navbox Province of Italy {{3x|p}}ery (talk) 01:44, 27 January 2019 (UTC)[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]
Thanks, the error category is slowly emptying. Johnuniq (talk) 02:25, 27 January 2019 (UTC)[reply]