Sullivan, James (NIH/CIT) [C] wrote:
> I have not actually tried this but I've read that this can be done by adding 
> the extension:
> http://www.mediawiki.org/wiki/Extension:CategoryTree
> and then you can transclude one or more category pages into another page 
> using the syntax:
> {{#categorytree:Foo}}
> Where Foo is a category page.  
> 
> So, for example you could combine categories A and B by specifying:
> 
> {{#categorytree:A}}
> {{#categorytree:B}}
> 
> -Jim

Categorytree displays subcategories of the given category.  By using the 
<categorytree> syntax and specifying arguments, you can get it to list 
articles as well, but nothing can be done to combine them.

The example you've given would just give two separate trees:

[−] Example 1
  Example 1 Page 1
  Example 1 Page 2
  Example 1 and 2 Page 1
[−] Example 2
  Example 1 and 2 Page 1
  Example 2 Page 1
  Example 2 Page 2

-- 
Sean McAfee
Senior Systems Engineer

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to