Template talk:Metropolitan City of Rome Capital

__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Johnuniq-2019-01-27T00:47:00.000Z","type":"heading","level":0,"id":"h-Script_errors-2019-01-27T00:47:00.000Z","replies":["c-Johnuniq-2019-01-27T00:47:00.000Z-Script_errors"],"text":"Script errors","linkableTitle":"Script errors"}-->

Script errors

__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Johnuniq-2019-01-27T00:47:00.000Z","type":"heading","level":0,"id":"h-Script_errors-2019-01-27T00:47:00.000Z","replies":["c-Johnuniq-2019-01-27T00:47:00.000Z-Script_errors"]}}-->
__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Johnuniq-2019-01-27T00:47:00.000Z","type":"heading","level":0,"id":"h-Script_errors-2019-01-27T00:47:00.000Z","replies":["c-Johnuniq-2019-01-27T00:47:00.000Z-Script_errors"],"text":"Script errors","linkableTitle":"Script errors"}-->

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]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2019-01-27T00:47:00.000Z","author":"Johnuniq","type":"comment","level":1,"id":"c-Johnuniq-2019-01-27T00:47:00.000Z-Script_errors","replies":["c-Pppery-2019-01-27T01:44:00.000Z-Johnuniq-2019-01-27T00:47:00.000Z","c-Pppery-2019-01-27T01:50:00.000Z-Johnuniq-2019-01-27T00:47:00.000Z"]}}-->

@Johnuniq: Fixed. I made a typo when editing Template:Navbox Province of Italy {{3x|p}}ery (talk) 01:44, 27 January 2019 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2019-01-27T01:44:00.000Z","author":"Pppery","type":"comment","level":2,"id":"c-Pppery-2019-01-27T01:44:00.000Z-Johnuniq-2019-01-27T00:47:00.000Z","replies":[],"displayName":"{{3x|p}}ery"}}-->
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]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2019-01-27T01:50:00.000Z","author":"Pppery","type":"comment","level":2,"id":"c-Pppery-2019-01-27T01:50:00.000Z-Johnuniq-2019-01-27T00:47:00.000Z","replies":["c-Johnuniq-2019-01-27T02:25:00.000Z-Pppery-2019-01-27T01:50:00.000Z"],"displayName":"{{3x|p}}ery"}}-->
Thanks, the error category is slowly emptying. Johnuniq (talk) 02:25, 27 January 2019 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2019-01-27T02:25:00.000Z","author":"Johnuniq","type":"comment","level":3,"id":"c-Johnuniq-2019-01-27T02:25:00.000Z-Pppery-2019-01-27T01:50:00.000Z","replies":[]}}-->

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!