Page MenuHomePhabricator

Expand Template include size to more than 2 MB
Closed, DeclinedPublic

Description

As the template include size is limited to 2 MB it would be fine if this limit would expanded. Some projects / sites crack this limit.

See also T15260

Event Timeline

Bodhi-Baum raised the priority of this task from to Medium.
Bodhi-Baum updated the task description. (Show Details)
Bodhi-Baum added a subscriber: Bodhi-Baum.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

For better explanation see the new added text in german wikisource:

https://de.wikisource.org/wiki/Was_will_das_werden%3F

A lot of single pages are not included correctly, due to reaching the template size,

thiemowmde added a subscriber: thiemowmde.

I'm going to be bold and close this ticket after a few years of inactivity. I feel there is not enough information given, esp. why there is no other solution that raising a well established parser limit. From experience I know there will always be an article hitting a limit. That's why we have these limits, don't we? The solution is almost always to split the page. Another way is to rewrite heavily used templates in Lua. It appears like something like this was done with the given example article https://de.wikisource.org/wiki/Was_will_das_werden%3F. It's "Post‐expand include size" is currently 1.6 MB.