Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Category talk:Pages with too many expensive parser function calls
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Is this an automatically assigned category? | 5 | 16:38, 26 March 2016 |
This seems to be in conjuction with too many Template:SkillNav templates used on one page. Should we ignore it?
Yes. According to Wikipedia, these are one of the few categories that are automatically generated. We can add hidden category to this to prevent it form showing up in other pages.
I don't think hiding the category is a good idea since it's an indicator that something may not work the way it's supposed to be.
The culprit isn't SkillNav, but IconLink. If you set a second parameter, the template uses ifexist (which is the expensive parser function in this case) to check if a file exists on the wiki. For example, using {{IconLink|Tiger Flash|Male}}
checks if File:Tiger Flash (Male).png
exists on the wiki and display it if it exists, but if not it just uses File:Tiger Flash.png
instead. Now, the problem is that you may only use 100 expensive parser calls per page, so if you used all up it will automatically assume that the file doesn't exist and display the wrong file instead, e.g. File:Tiger Flash.png
instead of File:Tiger Flash (Male).png
.
Someone who's familiar with where and to what extend IconLink is used should remove ifexist from the template and use a different method (like SMW properties) instead.
Ahhh. I see. I'll keep that mind. Thanks!
Since some of the skill pages have the correct SMW icon properties, we should look into that.
I assume this is also why there are hundreds of missing skill icon files in the wanted pages list? Sadly I am not familiar with the template syntax, so I'll leave it to others for now.
Yes. If the file doesn't exist, it's added to Special:WantedPages.