Extension:CategorySuggest

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
CategorySuggest
Release status: unmaintained
CategorySuggest v1.1.png
Implementation Page action
Description Adds input box to edit and upload pages which allows users to assign categories to the article
Author(s) Andreas Rindler
Maintainer(s) Adam Franco
Latest version 1.9 (2017-11-13)
MediaWiki 1.18-1.29.x
License GNU General Public License 2.0 or later
Download
Translate the CategorySuggest extension if it is available at translatewiki.net
Check usage and version matrix.

The CategorySuggest extension adds an input box to edit and upload page which allows users to assign categories to the article. When a user starts typing the name of a category, the extension queries the database to find categories that match the user input.

Extension appears to match by prefix only, so on the LabView wiki, typing "bugs" does not offer "LabView bugs".

This extension has been extracted from the code in Extension:SelectCategoryTagCloud.

Installation[edit]

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

Bugs/Errors[edit]

Please see the GitHub issue tracker to view or report bugs.

Conflicts with other extensions

These are not errors per se, as the extension works with the following extensions, and they work as they are intended as well, but you may have error messages when using the functions of the following extensions (after the extension has been used, to be exact):

The error messages may be ignored, as these extensions use similar functions as the Category Suggest extension, which causes the error report, but repeated testing has shown no anomalies when using these extensions, and they may be installed safely on the same installation without causing any known instability.

If you do not wish to see these error messages, add the following at the end of your "LocalSettings.php" file.

error_reporting( E_ALL & ~( E_STRICT | E_NOTICE ) );

See also[edit]