Module talk:Cite Print

Lua Timeouts
This translation page keeps appearing and disappearing in the Pages with script errors category. Looking into it, it appears to be due to Lua timing out before finishing. Comparing this page with other translation pages, I think it's due to this module (the other example has >4x the number of translations and citations and uses <70% of the maximum time but mostly uses Module:Cite instead). I also noticed that when previewing and looking at the Lua logs, ~67% of the time was used by these 2 processes (is that the right word?). ? 2920 ms 41.8% recursiveClone  1860 ms 26.6% Is there any way to reduce this or will use of this module have to be much more limited than the other citation module? 20:41, 9 February 2023 (UTC)


 * The short term solution is to simply repartition those Data pages. That is, split the current page into, say,  and.
 * But more to your question: I'm not entirely sure, but I think that time usage represents the time it takes for MediaWiki to initialize the modules. It adds up when a module is invoked so many times per page.
 * It might help to do this optimization or to remove the dependency on Module:Cite. Those are just guesses, though. PhantomCaleb (talk) 21:49, 9 February 2023 (UTC)