Jump to content

Manual talk:$wgMaxArticleSize

Add topic
From mediawiki.org
Latest comment: 2 years ago by Ciencia Al Poder in topic Kilobytes or Kibibytes

WMF configuration

[edit]

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,
),

Leucosticte (talk) 21:05, 24 August 2012 (UTC)Reply

Updated info on WMF config

[edit]

Wikimedia uses MediaWiki's default value (as of Sept 2018, this is 2048). -- ArielGlenn (talk) 12:26, 10 September 2018 (UTC)Reply

Ambiguous and confusing

[edit]

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)Reply

Kilobytes or Kibibytes

[edit]

I did not understand if the limit is 2,048 kilobytes as indicated on this page or 2,048 kibibytes as indicated here. ZandDev (talk) 19:07, 6 April 2022 (UTC)Reply

It's kibibytes, since the article length value is divided by 1024 when comparing with this value. Ciencia Al Poder (talk) 19:55, 6 April 2022 (UTC)Reply