Extension:WSSlots

From mediawiki.org
MediaWiki extensions manual
WSSlots
Release status: unknown
Author(s) Marijn van Wezel (Xxmarijnwtalk)
Latest version 4.6.0
MediaWiki >= 1.35.0
Composer open-csp/w-s-slots
License GNU General Public License 2.0 or later
Download
  • $wgWSSlotsSemanticSlots
  • $wgWSSlotsDefaultContentModel
  • $wgWSSlotsDefaultSlotRoleLayout
  • $wgWSSlotsDoPurge
  • $wgWSSlotsDefinedSlots
  • $wgWSSlotsOverrideActions

The WSSlots extension allows defining new MCR slots in LocalSettings.php. For documentation, see the README on GitHub.

Installation[edit]

Please see GitHub for the latest documentation.

  • Download and place the file(s) in a directory called WSSlots in your extensions/ folder.
  • Only when installing from Git, run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See task T173141 for potential complications.)
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'WSSlots' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration[edit]

GitHub

Usage[edit]

GitHub