Jump to content

Manual:$wgMaxArticleSize

From mediawiki.org
This page is a translated version of the page Manual:$wgMaxArticleSize and the translation is 50% complete.
パフォーマンス ハックと制限: $wgMaxArticleSize
最大ページ サイズ (KB 単位)。
導入されたバージョン:1.6.0 (r13070)
除去されたバージョン:使用中
許容される値:未指定
既定値:2048

詳細

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

関連項目