Errors on certain LotS item pages

Fragment of a discussion from User talk:Zoycite
Jump to: navigation, search

This issue is caused because there are a TON of parser functions on the page... This is occurring because we have a ton of things such as RaidLinks which use {{#ifexist}} 2 times. Every template with a {{# }} call in it costs a certain amount of processing time, and there is a max amount the wiki will do before stopping.

That is why the page gets Category: Pages with too many expensive parser function calls put at the bottom.

There are a few solutions here, we can remove some of the {{#s out of templates, which I looked into doing this to RaidLink but it appears both of them are needed based on how you are using it. Maybe we can find a few templates that don't really need the parse functions in them.

Another way to fix this is cut these pages into multiple pages, this of course has the issue of losing organization.

Obviously to make these pages work we don't want to cut any of the {{#varpull}}'s in the templates, so we need to find {{#if}}'s used for protecting from invalid data showing and remove them, and just trust people to input proper data.

Danxor (talk)17:01, 9 November 2012

Also on pages such as crew you can take various groupings of obtained such as

Decrypter's Armor (Proc Spawn) Flashheart's Nuclear Love Pants (Proc Spawn) Trendsetter's Boots (Proc Spawn)

And create this set as a single template that links to these 3 and put them on all the objects that use them... I know none of these solutions are ideal.

Danxor (talk)17:08, 9 November 2012

Basically what danxor said. If the problem gets to the point where we cannot maintain anymore then we need to look at some kind of extension.

Also minimizing the amount of formatting templates that are displayed helps too. There is a hard number of template expansions too. Which is the problem that LoH has on some of its larger card pages. I am considering removing some of the card text templates and just replacing with CSS

Zoycite (talk)04:58, 10 November 2012

Is there any way to force the wiki to render more {{#}}? That solution seems like the most obvious one.

I rewrote the raidlink template to use one less parser function. It seems to have cleared up some, but not all of the parser errors.

According to mediawiki, you can modify the expensive parser function limit:[1].

Klaxxin (talk)09:41, 10 November 2012

I tripled the default. I am a little paranoid about setting it too high since it does encourage a lot of nesting which is also bad.

Zoycite (talk)05:48, 11 November 2012

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.

Please note that all contributions to are considered to be released under the Attribution-Noncommercial-Share Alike 3.0 Unported (see for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)