Extension:WSSlots

From Linux Web Expert

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
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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.

  • <translate> Download and place the file(s) in a directory called <tvar name=name>WSSlots</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Only when installing from Git, run <tvar name=composer>Composer</tvar> to install PHP dependencies, by issuing <tvar name=code>composer install --no-dev</tvar> in the extension directory.</translate> <translate> (See <tvar name=phab><translate> task <tvar name=1>T173141</tvar></translate></tvar> for potential complications.)</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'WSSlots' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Configuration

GitHub

Usage

GitHub