Manual:$wgMaxArticleSize

From mediawiki.org
Performance hacks and limits: $wgMaxArticleSize
Maximum page size in kibibytes.
Introduced in version:1.6.0 (r13070)
Removed in version:still in use
Allowed values:Unspecified
Default value:2048

Details[edit]

Also used for the post-expand include size and template argument size which are used to abort parsing the page when then the pre-processed wikitext that results from transcluding templates would be too large. If the article doesn't render as expected and the HTML source has errors like <!-- WARNING: template omitted, post-expand include size too large --> or, when you get an error during importing about the text of the revision exceeding the maximum allowable size, then you can use this setting to adapt the maximum page size in kibibytes allowed on your wiki. In general it is a preferred approach to split the respective page into several smaller pages.

If you increase this value, you should generally also increase $wgAPIMaxResultSize accordingly (a usual value would be $wgMaxArticleSize*4096).

See also[edit]