Configured as follows in WMF InitialiseSettings.php:
'wgMaxArticleSize' => array( # Increased from 1024 to 2000 to alleviate problems with template expansion # limits in AfD archives -- TS 'default' => 2000, ),
Updated info on WMF config
truncated article is not as big as it should be
We are getting "WARNING: template omitted, post-expand include size too large" comments on a large article on our corporate Wiki, which is supposed to be indicative of post-expand page size larger than
I have, however, copy-pasted the HTML source of such rendered page on a text file and, to my surprise, the resulting file is only 564 kb - only about 25% of the max size!
Do the rendered images count when checking the page size against
How exactly is the page size calculated and how can I optimize the page to use less space in such a case?
Thanks in advance
Ambiguous and confusing
The variable name refers to "ArticleSize", and the prose refers to "the text of the revision" and "page size", all suggesting that this is about file size. But the prose also speaks of post-expand include size, a completely different animal. Since max PEIS is in fact 2048 kB, one might reasonably conclude that this is about PEIS, not file size. But the ambiguity has added some confusion to an already-confused situation, and it should be eliminated by clarification of the prose (I understand that a change to a better variable name could be problematic). Mandruss (talk) 01:21, 26 February 2020 (UTC)