MediaWiki extensions manual
WSSlots
Release status: unknown
Author(s) Marijn van Wezel (Xxmarijnwtalk)
Latest version 1.4.1
MediaWiki >= 1.35.0
Composer wikibase-solutions/w-s-slots
License GNU General Public License 2.0 or later
Download

GitHub:

Note:
No localisation updates are
provided by translatewiki.net .

Parameters
  • $wgWSSlotsSlotsToAppend
  • $wgWSSlotsDefaultContentModel
  • $wgWSSlotsDoPurge
  • $wgWSSlotsDefinedSlots
  • $wgWSSlotsDefaultSlotRoleLayout
Hooks used
  • ChangeTagsListActive
  • ListDefinedTags
  • MediaWikiServices
  • ParserBeforeInternalParse
  • ParserFirstCallInit

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

Installation

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

GitHub

Usage

GitHub

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.