Extension:InlineCategorizer

From mediawiki.org
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
InlineCategorizer
Release status: experimental
Implementation User interface
Description Adds a visual category editor feature
Author(s) Michael Dale, Timo Tijhof, DieBuche
Latest version 0.0.1
MediaWiki >= 1.34.0
Database changes No
License GNU General Public License 2.0 or later
Download
  • $wgInlineCategorizerNamespaces
Translate the InlineCategorizer extension if it is available at translatewiki.net

Check usage and version matrix.

The InlineCategorizer extension adds a visual category editor feature to your wiki. It works right from the read mode of a wiki page and saves the changes through AJAX.

Installation[edit]

  • Download and place the file(s) in a directory called InlineCategorizer in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'InlineCategorizer' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'InlineCategorizer' );, you need to use:

require_once "$IP/extensions/InlineCategorizer/InlineCategorizer.php";

Configuration parameters[edit]

$wgInlineCategorizerNamespaces[edit]

Optionally enable InlineCategorizer only on a set of namespaces.

$wgInlineCategorizerNamespaces = array( NS_MAIN, NS_PROJECT );