Help:Page size

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search
MediaWiki Handbook: Contents, Readers, Editors, Moderators, System admins, Researchers +/-

There are questions and controversy on how large a page should be due to the problems with editing pages over a (what is now) relatively small size. Older browsers can have problems editing pages that exceed 32K. Now, an article needs to be as long as necessary to properly carry the content, but where it becomes necessary to shrink an article there are options that may be used.

  • Use transclusion. The use of template macros, which are referenced via {{macro_name}} or {{macro_name|parameters}} (where the parameters are dependent on what the macro does) can be used to include boilerplate text or text altered by the parameters in an article without having to include the coding to create that text directly in the article. It can also be used to have a series of articles have the same header or footer and make them consistent.
  • Use subsidiary articles. When there is material which is tangential to the article, or related to the article's subject matter, but are in-depth coverage of a subsidiary subject related to the article, it may be appropriate to move that material to a secondary article. For example, in the article on w:chess, the subject of the rules is in a separate article with the heading Main article: w:Rules of chess.
  • Place items that are related to the article and can be separated in a section called See Also.

Finding the size of the wikitext of a page[edit]

There is a parser function PAGESIZE.

Examples:

  • "{{PAGESIZE:Help:Template}}" gives "80,205" [1]
  • "{{PAGESIZE:Help:Template|R}}" gives "80205" [2]

In older versions of MediaWiki finding the size of the wikitext of a page can only be done indirectly:

  • search; use suitable search terms to get few other results; e.g. for Help:Variable one can use the search terms:
de Wikipedia Variablen zh Help 变量
which conveniently gives no other results, and shows that the size is, at the time of this writing, "0.8KB (142 words)".
  • the text can also be copied in a local editor and saved; note that small deviations can be due to newline taking one or two bytes.

Image size[edit]

The size of an image or other uploaded file is shown in

See also[edit]


Links to other help pages[edit]

Help contents
Meta · Wikinews · Wikipedia · Wikiquote · Wiktionary · Commons: · Wikidata · MediaWiki · Wikibooks · Wikisource · MediaWiki: Manual · Google
Versions of this help page (for other languages see further)
What links here on Meta or from Meta · Wikipedia · MediaWiki
Reading
Go · Search · Stop words · Namespace · Page name · Section · Backlinks · Redirect · Category · Image page · Special pages · Printable version
Tracking changes
Recent changes (enhanced) | Related changes · Watching pages · Diff · Page history · Edit summary · User contributions · Minor edit · Patrolled edit
Logging in and preferences
Logging in · Preferences · User style
Editing
Starting a new page · Advanced editing · Editing FAQ · Edit toolbar · Export · Import · Shortcuts · Edit conflict · Page size
Referencing
Links · URL · Piped links · Interwiki linking · Footnotes
Style and formatting
Wikitext examples · CSS · Reference card · HTML in wikitext · Formula · List · Table · Sorting · Colors · Images and file uploads
Fixing mistakes
Show preview · Testing · Reverting edits
Advanced functioning
Expansion · Template · Advanced templates · Parser function · Parameter default · Variable · System message · Substitution · Array · Calculation · Embed page
Others
Special characters · Renaming (moving) a page · Preparing a page for translation · Talk page · Signatures · Sandbox · Legal issues for editors
Languages: English  · 日本語