Jump to content

Manual:Slot

From mediawiki.org
Revision as of 22:35, 4 August 2018 by Tgr (WMF) (talk | contribs) (Created page with "'''Slots''' are the building blocks for revisions: MediaWiki core and extensions define a certain number of roles that a piece of content can play, and a content associated wi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Slots are the building blocks for revisions: MediaWiki core and extensions define a certain number of roles that a piece of content can play, and a content associated with a certain revision in a certain role is referred to as a slot of that revision. (For example, a template page coulde have a main slot holding the code of the template, and a documentation slot holding the documentation.)

Slots have been introduced in MediaWiki 1.32 as part of Multi-Content Revisions. At this point in time, most interfaces understand them, but nothing actually uses them, except for the main slot (which is the same thing as the content of the revision pre-1.32).

Slots are stored in the slots table.