Manual:Slot
Appearance
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 could 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. As of 2018, most interfaces understand them, but fall back to using the main
slot for backward compatibility (which is the same thing as the content of the revision pre-1.32).
Slots are stored in the slots table.
See also
[edit]- Multi-Content Revisions/Content Meta-Data for the database representation of roles and slots.
- Manual:Slots table and Manual:Slot roles table
- Related API change announcements: [1][2]
- Manual:PageUpdater.php
- Derived slots, a feature where the content of a slot could be calculated dynamically.