mediawiki-extensions-Catego.../CategoryTreeHidePrefix.php
Sébastien Santoro 070e6af90c CategoryTreeMode and CategoryTreeHidePrefix constants classes
The extension CT_* defines are replaced by class constants.

We currently keep the former defines in CategoryTree.php,
to help to set the default configuration. When the code
will be migrated to use the extension registration, we'll
remove the defines.

Bug: T87888
Change-Id: I59e6b9319fd5130c51a23f21ea81d4dbf3f28b8e
2016-04-02 01:50:18 +00:00

24 lines
415 B
PHP

<?php
/**
* Constants for use with the hideprefix option,
* defining when the namespace prefix should be hidden.
*
* @file
* @ingroup Extensions
* @author Daniel Kinzler, brightbyte.de
* @copyright © 2006 Daniel Kinzler
* @license GNU General Public Licence 2.0 or later
*/
class CategoryTreeHidePrefix {
const NEVER = 0;
const ALWAYS = 10;
const CATEGORIES = 20;
const AUTO = 30;
}