mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-15 03:43:55 +00:00
070e6af90c
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
24 lines
415 B
PHP
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;
|
|
|
|
}
|