Difference between revisions of "User:Andre"

From Beyond Social
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Help pages:
 +
* [[Help:Wiki_Maintenance]]
 +
 
[[File:toastcat.jpg]]
 
[[File:toastcat.jpg]]
  
<categorytree mode=pages depth=3 showcount=true>BS</categorytree>
+
=fight spam=
 
+
Follow https://www.mediawiki.org/wiki/Manual:DeleteBatch.php
 
+
and [[Special:BlockBatch]]
[[Category:BS]]
 
  
 
=Wiki Settings=
 
=Wiki Settings=
Line 12: Line 14:
  
 
'''Extension does not work with skin Vector in MW 1.26. Needs to be changed to''' <code>wfLoadSkin( 'MonoBook' );</code>
 
'''Extension does not work with skin Vector in MW 1.26. Needs to be changed to''' <code>wfLoadSkin( 'MonoBook' );</code>
 +
 +
And requires [https://www.mediawiki.org/wiki/Extension:CategoryTree CategoryTree]. See settings in [[#CategoryTree]] section.
 +
  
 
Requires Categories to be organized as parents and children, with the parent category defined in extensions/SelectCategory/SelectCategory.php
 
Requires Categories to be organized as parents and children, with the parent category defined in extensions/SelectCategory/SelectCategory.php
  
<source lang="php">
+
<pre>
 
#$wgSelectCategoryNamespaces - list of namespaces in which this extension should be active
 
#$wgSelectCategoryNamespaces - list of namespaces in which this extension should be active
 
if( !isset( $wgSelectCategoryNamespaces ) ) $wgSelectCategoryNamespaces = array(
 
if( !isset( $wgSelectCategoryNamespaces ) ) $wgSelectCategoryNamespaces = array(
Line 57: Line 62:
 
         NS_CATEGORY_TALK        => false
 
         NS_CATEGORY_TALK        => false
 
);
 
);
</source>
+
</pre>
 +
 
 +
===CategoryTree===
 +
<pre>
 +
require_once( "$IP/extensions/CategoryTree/CategoryTree.php" );
 +
$wgUseAjax = true;
 +
$wgCategoryTreeDynamicTag = true;
 +
$wgCategoryTreeSidebarRoot = "BS";
 +
#$wgCategoryTreeDefaultOptions['mode'] = 'all';
 +
/* $wgCategoryTreeMaxChildren = 400; */
 +
$wgCategoryPagingLimit = 400;
 +
$wgCategoryTreeForceHeaders = true;
 +
$wgCategoryTreeSpecialPageOptions=true;
 +
$wgCategoryTreeDynamicTag=true;
 +
$wgCategoryTreeDefaultMode=true;
 +
</pre>

Latest revision as of 10:54, 4 May 2019

Help pages:

Toastcat.jpg

fight spam

Follow https://www.mediawiki.org/wiki/Manual:DeleteBatch.php and Special:BlockBatch

Wiki Settings

Extensions

SelectCategory

SelectCategory is responsible for the bottom category selection in menus

Extension does not work with skin Vector in MW 1.26. Needs to be changed to wfLoadSkin( 'MonoBook' );

And requires CategoryTree. See settings in #CategoryTree section.


Requires Categories to be organized as parents and children, with the parent category defined in extensions/SelectCategory/SelectCategory.php

#$wgSelectCategoryNamespaces - list of namespaces in which this extension should be active
if( !isset( $wgSelectCategoryNamespaces ) ) $wgSelectCategoryNamespaces = array(
        NS_MEDIA                => true,
        NS_MAIN                 => true,
        NS_TALK                 => false,
        NS_USER                 => false,
        NS_USER_TALK            => false,
        NS_PROJECT              => true,
        NS_PROJECT_TALK         => false,
        NS_IMAGE                => true,
        NS_IMAGE_TALK           => false,
        NS_MEDIAWIKI            => false,
        NS_MEDIAWIKI_TALK       => false,
        NS_TEMPLATE             => false,
        NS_TEMPLATE_TALK        => false,
        NS_HELP                 => true,
        NS_HELP_TALK            => false,
        NS_CATEGORY             => true,
        NS_CATEGORY_TALK        => false
);

# $wgSelectCategoryRoot - root category to use for which namespace, otherwise self detection (expensive)
if( !isset( $wgSelectCategoryRoot ) ) $wgSelectCategoryRoot = array(
        NS_MEDIA                => "BS",
        NS_MAIN                 => "BS",
        NS_TALK                 => false,
        NS_USER                 => false,
        NS_USER_TALK            => false,
        NS_PROJECT              => "BS",
        NS_PROJECT_TALK         => false,
        NS_IMAGE                => "BS",
        NS_IMAGE_TALK           => false,
        NS_MEDIAWIKI            => false,
        NS_MEDIAWIKI_TALK       => false,
        NS_TEMPLATE             => false,
        NS_TEMPLATE_TALK        => false,
        NS_HELP                 => "BS",
        NS_HELP_TALK            => false,
        NS_CATEGORY             => "BS",
        NS_CATEGORY_TALK        => false
);

CategoryTree

require_once( "$IP/extensions/CategoryTree/CategoryTree.php" );
$wgUseAjax = true;
$wgCategoryTreeDynamicTag = true;
$wgCategoryTreeSidebarRoot = "BS";
#$wgCategoryTreeDefaultOptions['mode'] = 'all';
/* $wgCategoryTreeMaxChildren = 400; */
$wgCategoryPagingLimit = 400;
$wgCategoryTreeForceHeaders = true;
$wgCategoryTreeSpecialPageOptions=true;
$wgCategoryTreeDynamicTag=true;
$wgCategoryTreeDefaultMode=true;