Changes

Testnew

246 bytes added, 19:12, 26 March 2017
no edit summary
Issues:
# 1. The categorytree isn't rebuilt. Make a new category & add to [[:Category:TocRoot]] for example, it wont' appear until you come back & save this page. Or add a page to that category and still no love until you resave this page. Is there a way to rebuild ALL of them across the wiki (for example I use a few categorytrees on https://wiki.newae.com/Category:Knowledge_base)? that Ialso have to remember to 'd rather not just disable the cache sitewide.# Weird circular dependencies. See the force update'Knowledge Base' - I think this comes about because [[Category:Tutorials]] links to both the TocRoot & the Examples category)? I want this link for other reasons (the tutorials are a type guess just forcing rebuild of Example, but specific pages even & I also want them at a seperate location in the categorytree). What might be nice here is some way to tell it NOT to include some type of category in the categorytree. For example the 'Knowledge Base' entry shouldn't have the 'Examples', because that category is already listed elsewhere directly under the TocRoot. This might be the best logic: if a subcategory is already a direct child list of the root of the categorytree, DON'T include it as a subcategory.those pages?
2. Weird circular dependencies. See the 'Knowledge Base' entry on the categorytree below contains 'Knowledge Base' as a subcategory - I think this comes about because [[:Category:Tutorials]] links to both the TocRoot & the Examples category? I want this link for other reasons (the tutorials are a type of Example, but I also want them at a separate location in the categorytree).
What might be nice here is some way to tell it NOT to include some type of category in the categorytree. For example the 'Knowledge Base' entry shouldn't have the 'Tutorials' below it, because that category is already listed elsewhere '''directly under''' the TocRoot. This might be the desired logic: if a subcategory is '''already a direct child of the root''' of the categorytree, '''DON'T''' include it as a subcategory within the tree. There is already a 'higher-level' link elsewhere. Presumably this would just be an option in LocalSettings to turn such logic on/off.  <categorytree mode=all depth=4 hideroot='on' style="float:right; clear:right; margin-left:1ex; border:1px solid gray; padding:0.7ex; background-color:white;">TocRoot</categorytree>
Approved_users, bureaucrat, administrator
1,956
edits