Jump to content

帮助:页面大小

From mediawiki.org
This page is a translated version of the page Help:Page size and the translation is 25% complete.

鉴于编辑大型页面存在困难,关于页面应保持多大篇幅的问题,一直存在争论。 条目理应有其必要的长度,但若篇幅过大,亦有缩减之道。

  • 嵌入包含 - 嵌入包含通过使用诸如 {{模板}}{{模板|参数}} 之类的模板宏,将标准文本或经参数修改的文本纳入条目,而无需在每个页面中直接编写这些文本代码,从而达到简化条目的目的。 It also ensures all articles have the same header or footer for consistency. This reduces the page size since the texts are saved centrally and only referenced in the article.
  • Using subsidiary articles - When an article includes extra details or related topics that aren't the main focus, you can create separate articles for them. For instance, in an article about w:chess, detailed rules can be placed in a separate article titled "Rules of chess" with the heading Main article: w:Rules of chess.
  • Place relevant items in a See also section for easy reference.

Computing the wikitext size of a page

A parser function called PAGESIZE is available.

Some examples:

  • {{PAGESIZE:Help:Template}}28
  • {{PAGESIZE:Help:Dummy edit}}5,627

File size

The size of an uploaded file is displayed in:

See also