Gebruiker:Jos1950/vector.css: verschil tussen versies
Uit LinuxMintNL WiKi
(Nieuw) |
(geen verschil)
|
Versie van 13 aug 2014 om 19:08
/**
* Constants for use with the mode,
* defining what should be shown in the tree
*/
define( 'CT_MODE_CATEGORIES', 0 );
define( 'CT_MODE_PAGES', 10 );
define( 'CT_MODE_ALL', 20 );
define( 'CT_MODE_PARENTS', 100 );
/**
* Options:
*
* $wgCategoryTreeMaxChildren
* - maximum number of children shown in a tree
* node. Default is 200
* $wgCategoryTreeAllowTag
* - enable <categorytree> tag. Default is true.
* $wgCategoryTreeDynamicTag
* - loads the first level of the tree in a <categorytag>
* dynamically. This way, the cache does not need to be
* disabled. Default is false.
* $wgCategoryTreeDisableCache
* - disabled the parser cache for pages with a
* <categorytree> tag. Default is true.
* $wgCategoryTreeMaxDepth
* - maximum value for depth argument; An array that maps
* mode ; values to the maximum depth acceptable for the
* depth option. Per default, the "categories" mode has a
* max depth of 2, all other modes have a max depth of 1.
* $wgCategoryTreeDefaultOptions
* - default options for the <categorytree> tag.
* $wgCategoryTreeCategoryPageOptions
* - options to apply on category pages.
* $wgCategoryTreeSpecialPageOptions
* - options to apply on Special:CategoryTree.
*/
$wgCategoryTreeMaxChildren = 200;
$wgCategoryTreeAllowTag = true;
$wgCategoryTreeDynamicTag = false;
$wgCategoryTreeDisableCache = true;
$wgCategoryTreeMaxDepth = array(
CT_MODE_PAGES => 1,
CT_MODE_ALL => 1,
CT_MODE_CATEGORIES => 2
);
# Default values for most options
$wgCategoryTreeDefaultOptions = array();
$wgCategoryTreeDefaultOptions['mode'] = null;
$wgCategoryTreeDefaultOptions['hideprefix'] = null;
$wgCategoryTreeDefaultOptions['showcount'] = false;
# false means "no filter"
$wgCategoryTreeDefaultOptions['namespaces'] = false;
# Options to be used for category pages
$wgCategoryTreeCategoryPageOptions = array();
$wgCategoryTreeCategoryPageOptions['mode'] = null;
$wgCategoryTreeCategoryPageOptions['showcount'] = true;
# Options to be used for Special:CategoryTree
$wgCategoryTreeSpecialPageOptions = array();
$wgCategoryTreeSpecialPageOptions['showcount'] = true;