Go to file
2007-03-13 22:24:38 +00:00
CategoryPageSubclass.php Security fix: protect against register_globals setting override 2006-09-03 09:15:52 +00:00
CategoryTree.css introducing onlyroot option (and removing obsolete email address) 2007-03-13 11:39:12 +00:00
CategoryTree.i18n.ca.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.cs.php (bug 8455) Extensions localisatin patches by Li-sung 2007-01-01 21:33:27 +00:00
CategoryTree.i18n.da.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.de.php * Extension localisation patches by raymond!!1 2007-01-08 20:09:55 +00:00
CategoryTree.i18n.es.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.fi.php * Small updates 2007-02-24 11:27:05 +00:00
CategoryTree.i18n.fr.php * German localisation patch by raymond 2007-01-12 22:24:37 +00:00
CategoryTree.i18n.he.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:10:35 +00:00
CategoryTree.i18n.hr.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.hu.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.id.php (Bug 8543) Indonesian localisation (id) for MediaWiki extensions. 2007-01-10 20:00:40 +00:00
CategoryTree.i18n.it.php Fix line endings, BOM, properties 2007-01-05 01:24:03 +00:00
CategoryTree.i18n.ja.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:10:35 +00:00
CategoryTree.i18n.kk-cn.php * (bug 7971) Update Kazakh extension messages 2007-03-07 08:44:48 +00:00
CategoryTree.i18n.kk-kz.php * (bug 7971) Update Kazakh extension messages 2007-03-07 08:44:48 +00:00
CategoryTree.i18n.kk-tr.php * (bug 7971) Update Kazakh extension messages 2007-03-07 08:44:48 +00:00
CategoryTree.i18n.kk.php (bug 7971) Kazakh i18n updates for extensions 2006-11-18 14:57:17 +00:00
CategoryTree.i18n.la.php * (bug 9092) Latin localization (la) for CategoryTree extension 2007-02-28 20:36:49 +00:00
CategoryTree.i18n.lt.php introducing onlyroot option (and removing obsolete email address) 2007-03-13 11:39:12 +00:00
CategoryTree.i18n.nl.php introducing onlyroot option (and removing obsolete email address) 2007-03-13 11:39:12 +00:00
CategoryTree.i18n.no.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.php introducing onlyroot option (and removing obsolete email address) 2007-03-13 11:39:12 +00:00
CategoryTree.i18n.pl.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.pt.php (bug 8194) Updates for Portuguese language in 3 extensions 2006-12-09 10:13:47 +00:00
CategoryTree.i18n.ru.php (bug 7286) Update for the Russian (ru) translation of CategoryTree 2006-09-11 11:38:11 +00:00
CategoryTree.i18n.sk.php * Slovak translations to extensions 2007-01-23 17:18:36 +00:00
CategoryTree.i18n.sq.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.sv.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.th.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.tr.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.vi.php use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
CategoryTree.i18n.zh-cn.php (bug 7257) i18n for CategoryTree extension (zho series,yue) 2006-09-09 12:45:21 +00:00
CategoryTree.i18n.zh-hk.php Patch by Shinjiman: Bug 9185: Inherit localised messages for Chinese language (zho series) 2007-03-07 00:33:20 +00:00
CategoryTree.i18n.zh-sg.php Patch by Shinjiman: Bug 9185: Inherit localised messages for Chinese language (zho series) 2007-03-07 00:33:20 +00:00
CategoryTree.i18n.zh-tw.php Patch by Shinjiman: Bug 9185: Inherit localised messages for Chinese language (zho series) 2007-03-07 00:33:20 +00:00
CategoryTree.i18n.zh-yue.php (bug 7257) i18n for CategoryTree extension (zho series,yue) 2006-09-09 12:45:21 +00:00
CategoryTree.i18n.zh.php (bug 7257) i18n for CategoryTree extension (zho series,yue) 2006-09-09 12:45:21 +00:00
CategoryTree.js introducing onlyroot option (and removing obsolete email address) 2007-03-13 11:39:12 +00:00
CategoryTree.php Add depth argument to allow auto-expanding tree (to small, configurable limit) 2007-03-13 22:24:38 +00:00
CategoryTree.rtl.css Fixing the category tree margin in RTL. 2006-09-02 11:11:20 +00:00
CategoryTreeFunctions.php Add depth argument to allow auto-expanding tree (to small, configurable limit) 2007-03-13 22:24:38 +00:00
CategoryTreePage.php introducing onlyroot option (and removing obsolete email address) 2007-03-13 11:39:12 +00:00
install.settings adding settings patch file for experimental installer to CategoryTree 2006-07-30 21:09:52 +00:00
README Add depth argument to allow auto-expanding tree (to small, configurable limit) 2007-03-13 22:24:38 +00:00

--------------------------------------------------------------------------
README for the CategoryTree extension
Copyright © 2006-2007 Daniel Kinzler
Licenses: GNU General Public Licence (GPL)
          GNU Free Documentation License (GFDL)
--------------------------------------------------------------------------

The CategoryTree extension provides a dynamic view of the wiki's category
structure as a tree. It uses AJAX to load parts of the tree on demand.

<http://meta.wikimedia.org/wiki/CategoryTree_extension>

The CategoryTree extension was originally written by Daniel Kinzler in
2006 and is released under the GNU General Public Licence (GPL). The 
internationalization files contain contributions by several people;
they are mentioned in each file individually. Also thanks to Tim Starling
for his contributions.


INSTALLING
--------------------------------------------------------------------------

Copy the CategoryTree directory into the extensions folder of your 
MediaWiki installation. Then add the following lines to your
LocalSettings.php file (near the end):

  $wgUseAjax = true;
  require_once( 'extensions/CategoryTree/CategoryTree.php' );
  
Note that $wgUseAjax = true; will enable the ajax framework in MediaWiki,
which is required by the CategoryTree extension. AJAX is a term for using
JavaScript to load parts of a page on demand. It is supported by all
recent graphic web browsers. For more information about AJAX see
<http://en.wikipedia.org/wiki/Ajax_%28programming%29>.


USAGE
--------------------------------------------------------------------------

CategoryTree can be used in three ways: directly on the category pages,
as a "custom tag" to show a category structure inline on a wiki page, 
and as a special page.

The CategoryTree extension replaces the subcategory section of category
pages with a dynamic tree view. If Javascript is disabled, this appears
as a plain list. The dynamic subcategory entries can be disabled using
the URL parameter "notree" - this is intended for bots that rely on
parsing the HTML of category pages.

The custom tag is called <categorytree>. For example, if you put
<categorytree>Foo</categorytree> on a wiki page, it will show the contents
of category Foo as a dynamic tree on that page. The tag accepts the following
attributes, using a HTML-like syntax:

* hideroot - set this to "on" to hide the "root" node of the tree, i.e.
             the mention of category Foo from the example.
             
* onlyroot - set this to "on" show only the "root" node of the tree initially
             
* mode - can be "categories" (the default), "pages" or "all". "categories"
         only lists subcategories; "pages" lists all pages in the category
         except images; "all" shows all pages in the category.
         
* style - can be used to specify any CSS styles you would like for the
          tree.
          
The special page is called Special:CategoryTree; there you can enter the
name of a category and then browse it's content. The CategoryTree
extension also adds a tab for this special page to every category page.

          
OPTIONS
--------------------------------------------------------------------------

There are some options you can specify in your LocalSettings.php file:

$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.

$wgCategoryTreeHTTPCache - enable HTTP cache for anon users. Default is
                          false.

$wgCategoryTreeOmitNamespace - never show namespace prefix. Default is
                               false. Patch contributed by Manuel Schneider
                               <manuel.schneider@wikimedia.ch>, Bug 8011

$wgCategoryMaxDepth - maximum value for depth argument; can be an integer,
		      or an array of two integers.  The first element is the
                      maximum depth for the "pages" and "all" modes; the
                      second is for the categories mode.  Ignored if
                      $wgCategoryTreeDynamicTag is true. Patch contributed by
                      Steve Sanbeg.

--------------------------------------------------------------------------
EOF