Forum:Parser functions limit

A page on my wiki was automatically added to the category "pages with too many parser functions calls". I can guess what it means, so which is the limit number of parser functions calls? Can be locally changed?


 * There's a limit of 500. I doubt it can be changed locally. You should try working around the limit by using other functions/tools/structure. — Sovq 22:23, October 25, 2011 (UTC)

Thank you, any work-arounds to "convert" a simply if like this one?


 * Can't think of a work-around for that, no, but I don't thinks it's the if function that are causing the issue. Could you link to the "pages with too many parser functions calls" category page in question? — Sovq 05:54, October 26, 2011 (UTC)

The page in question is this one, which uses this template. The template has 12 parser functions in it, I can remove 3 of them but I'd like to leave the others.

The page is the translation of the English one, which uses this template. The English template uses 7 parsers, so 7x63=441, then after 9 more volumes will the problem show up there too? I can somehow mange to economize the use of parsers in both template, but the limit of 500 parsers is problematic... keep in mind that One Piece will probably reach 100-120 or even more volumes.


 * The limit is for expensive parser functions only. In this case that'd be your #ifexist functions (you use 3 of them in the volume template, so each volume counts for 3 expensive parser functions. You call the template 40 times, so in total this gives 120 uses of the function. The default limit is 99 (499 is the wikipedia setting). You could ask wikia through Special:Contact whether they can change $wgExpensiveParserFunctionLimit I guess (don't know if they'll change it though). Or you can remove some or all of the ifexists in the template (remember, each one accounts for 40 uses) - Tjcool007 (Talk) 14:49, October 26, 2011 (UTC)

Oh I see... so the problem are the "ifexist"? Well I can try to renounce to them... but then there is no limit to the normal "if"?


 * We change that limit rarely. Leviathan, feel free to contact us if you can't find an end-around, but we promise you raising that limit hurts both your wiki and our server so it's a last resort. --daNASCAT http://images2.wikia.nocookie.net/__cb32675/wikia/images/e/e9/WikiaStaff.png (help forum | blog) 17:15, October 26, 2011 (UTC)


 * To answer your question: yes, the #if function should not have any limits. Also, you can check the usage count of expensive parser functions in the page source (find a HTML comment with "NewPP limit report") - Tjcool007 (Talk) 17:44, October 26, 2011 (UTC)