Jump to content

Everything is a wiki page

From mediawiki.org

A core concept of MediaWiki is that everything is a wiki page, just like in UNIX everything is a file. More precisely: every publicly-visible content is ultimately controlled and sourced from the content of a wiki page, which can be in any format (thanks to ContentHandler), within some limits defined by software.

Explanation

[edit]

A wiki page could be defined as something stored in the revision table and page table (not every title is a wiki page).

All the essential features for the MediaWiki principles, as well as a number of extensions, are built around wiki pages. Anything that uses wiki pages gets the essential functionality automatically, instead of needing to reimplement them. Essential feautures include:

  • basic edit form and user rights;
  • history, logs, recent changes, watchlist, feeds, pagelinks, search, and other discoverability tools;
  • basic interface components and legal compliance (e.g. for copyright and licenses);
  • moderation (including patrolling, rollback, deletion, revision deletion, SpamBlackList, AbuseFilter, CheckUser, ConfirmEdit, rate limits) and assorted security features;
  • open data interfaces like API, dumps and anything that accesses the standard database tables.

Here be dragons

[edit]

This page only offers examples. If you decide to not use a wiki page, you're on your own. To be sure the functionality of your extension/whatever will work as your target wiki and users expect, you need to have perfect knowledge of all their users, workflows, code and extensions and how they interact between each other.

Others will try to make a list of all the things you'll need to reimplement: that's good. Be aware though, they'll probably fail.

Examples

[edit]

Particularly big examples of everything is a wiki page (by number of pages involved across all wikis) are:

Other examples are very pretty or powerful although limited in extent:

See also

[edit]