Extension:NoCat
![]() Release status: stable |
|
---|---|
Implementation | Parser extension , MyWiki |
Description | Allows disabling categories using __NOCAT__ |
Author(s) | Brian Wolff (Bawolfftalk) |
Latest version | 1.0 (2018-03-26) |
MediaWiki | 1.25+ |
PHP | 5.4+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | |
|
|
Quarterly downloads | 2 (Ranked 166th) |
Translate the NoCat extension if it is available at translatewiki.net | |
The NoCat extension adds a magic word __NOCAT__
that disables categories on a specific page.
Installation[edit]
- Download and place the file(s) in a directory called
NoCat
in yourextensions/
folder. - Add the following code at the bottom of your
LocalSettings.php
:wfLoadExtension( 'NoCat' );
- Configure as required.
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parameters[edit]
- $wgNoCatShowCat
- Whether to totally disable categories, or only disable adding to categories. If set to false (default), categories are totally disabled for the page. If set to true, the page is not added to any categories, but the list of categories that the page would have been added to is shown at the bottom of the page like normal.