Forum:Page size question

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Forums: Yew Grove > Page size question
This page or section is an archive.
Please do not edit the contents of this page.
This thread was archived on 28 November 2008 by Azaz129.

Is there a limit as to how large a page can be? I noticed that "Template:ExchangeItem" is being displayed at the top of the "others" section on Grand_Exchange_Market_Watch/Melee_armour. I can't find any issues with the items and when you "show preview" for that specific section, everything lists ok, but then you save it and the same thing occurs. I tried to rearrange the bottom items and save it to see if there may be an issue with one that prevented the ones after it from displaying, but that didn't help at all. Thanks. Vadanea 07:52, 4 November 2008 (UTC)

Yes, there is a limit. I remember that "Melee" used to be a single page, and was broken up into "Melee armour" and "Melee weapons". I think this problem occured after the addition of PvP world items (Ancient Warrior Equipment, Corrupt dragon armour, etc.) Looks like now we have to break up Melee armour into 2 separate pages. Hmm....   az talk   09:19, 4 November 2008 (UTC)
The limit isn't for the exchange item templates, but buried into the Mediawiki code itself. Templates for any given page can only hit a hard limit... I think about 2 million characters or so... before the buffer in the MediaWiki code gives up and truncates everything after that. Because the GEMW pages make heavy use of nested templates, having a large number of items quickly overflow this limit in the MediaWiki code.
BTW, I am trying to come up with a solution that would at least double the number of items would could display on a single page, but it is going to require some overhaul of the GEWM template structure, and unfortunately may make updating the template hierarchy even more complicated and involves adding another level to the bunch. --Robert Horning 00:22, 6 November 2008 (UTC)