Steps to replicate the issue:
- View some zhwiki articles that use cite templates (Module:Citation/CS1) extensively.
It's also reported to affect eswiki and ptwiki.
A list of them can be found through searching:
- eswiki: https://es.wikipedia.org/wiki/Especial:Buscar?search=%22not+enough+memory%22&limit=500
- ptwiki: https://pt.wikipedia.org/wiki/Especial:Pesquisar?search=%22not+enough+memory%22&limit=500
- zhwiki: https://zh.wikipedia.org/wiki/Special:Search?search=%22not+enough+memory%22&limit=500
What happens?:
Templates near the bottom of the page shows "Lua error: not enough memory." ("Lua错误:not enough memory。")
cl_timestamp shows a large influx of pages into the scribunto-common-error-category (Category:Pages with script errors), which coincides with the 1.47.0-wmf.18 train deployment to group2 wikis.
See:
- eswiki: https://es.wikipedia.org/wiki/Categoría:Wikipedia:Páginas_con_errores_de_secuencia_de_comandos?cldsort=timestamp&pagefrom=2026-08-01+00%3A00%3A00
- ptwiki: https://pt.wikipedia.org/wiki/Categoria:!Páginas_com_erros_de_comandos?cldsort=timestamp&pagefrom=2026-08-01+00%3A00%3A00
- zhwiki: https://zh.wikipedia.org/wiki/Category:有脚本错误的页面?cldsort=timestamp&pagefrom=2026-08-01+00%3A00%3A00
What should have happened instead?:
Those pages did not have Lua memory issues a few days ago.
On-wiki discussions:
- eswiki: https://es.wikipedia.org/wiki/Wikipedia:Café/Archivo/Técnica/Actual#Error_de_Lua
- ptwiki: https://pt.wikipedia.org/wiki/Wikipédia:Café_dos_programadores#Erro_Lua:_not_enough_memory.
- zhwiki: https://zh.wikipedia.org/wiki/Wikipedia:互助客栈/技术#Lua錯誤:not_enough_memory
Software version: 1.47.0-wmf.18