Extension:NoCat
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | Parser extensionCategory:Parser extensions, MyWikiCategory:Personalization extensions |
Description | Allows disabling categories using __NOCAT__ |
Author(s) | Brian Wolff (Bawolfftalk) |
Latest version | 1.0 (2018-03-26) |
MediaWiki | 1.25+Category:Extensions with manual MediaWiki version |
PHP | 5.4+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | Category:Extensions in Wikimedia version control |
|
|
Quarterly downloads | 0 |
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
- Download and move the extracted
NoCat
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NoCat - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'NoCat' );
- Configure as required.
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parameters
- $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.
Category:All extensions
Category:Extensions in Wikimedia version control
Category:Extensions with manual MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:GPL licensed extensions
Category:GetDoubleUnderscoreIDs extensions
Category:OutputPageParserOutput extensions
Category:ParserAfterParse extensions
Category:Parser extensions
Category:Personalization extensions
Category:Simple extensions
Category:Stable extensions