After rearranging some categories I had a negative count on the CategoryTree hierarchy for a category. I ran Manual:recountCategories.php (and probably unnecessarily Manual:cleanupEmptyCategories.php) and the negative count disappeared. I'm just noting this here in case it helps others.
Extension talk:CategoryTree
Jump to navigation
Jump to search
Reply to "How to hide subcategories in "Special: Categories" page?"
Reply to "Conditional Trees?"
Reply to "Sorting options"
Reply to "Hide hidden categories"
Don't know if it's supposed to work this way, but the Special:Categories page lists categories and subcategories. When a category is added to another category page to convert the category to a subcategory, I need it to disappear from the Special:Categories page. It's confusing to see subcategories appear in the same list as the top level categories.
Is my setting wrong, or is this the default setting? If this is the norm, is it possible to hide subcategories on the Special:Categories page?
No. Subcategories are categories.
You can make the categories show as collapsed menus so that you have to expand them to see the subcats
I'd like to make a category tree for a sub-category, but only if the elements are also in another category. Is this possible? Thanks in advance.
No, there is currently no option for this.
Hi
I have the same needs, mentioned 4 years ago. Does the mediawiki propose now some solution for such feature ?
Thank you for your answer.
Best regards
Are there options to control how the tree is sorted? Ideally I'd like to be able to have the subcategories and articles sorted together instead of first subcategories and then articles, but I'm also curious what other options are available that might be interesting. If none are available, could this feature be added?
+1 I face the same issue.
When assigning pages to categories you can add a sort key, e.g. [[Category:categoryname|sortkey]] Jonathan3 (talk) 13:31, 5 April 2019 (UTC)
I think you dont get it. Try with Articles AND Subcategories.
This dont work as intended.
I read the manual, but besides changing $wgCategoryTreeMaxChildren (Which affects all pages and I do NOT want that) there does not seem to be a way to only show a specific amount of pages. Should I use parser functions?
You can't set a limit when using <categorytree>. You'll have to use a DPL extension.
In mobile view (via Extension MobileFrontend) the collapse and expand bullets are not shown ... only the empty-bullet (grey) is visible.
is there any posibility to get this working?
Should work since MediaWiki 1.31 phab:T171767
oh - okay --- we use MW 1.27.5 at the moment ... so we have to wait until we plan and do an update :)
Is there a way to hide hidden categories from the tree?
Thanks
Hello, @Amichai Nachmani, did you succed with this task?
The local translations are not linked to the messages of the EN page because these ones are not defined. Can we implement the <translate> sections to have synchronized translations ? Thank you.
Christian Wia (talk) 08:56, 30 June 2019 (UTC)
Yes, although currently translated pages will revert to the english one once the page is marked for translation, and someone will need to manually copy and paste the existing translations into the corresponding translation units...
ok I have reviewed the FR page totaly and leave it synchronised with the EN one to have a complete parallel translation when the individual messages will appear.
You can do the review after the page has been marked for translation, since messages can have variables once it's translated. Let's add translate tags first on the EN page.
ok but I wanted to finalize FR to have a global view since it's a big page. I 'll work on the EN page progressively now.
Hi all. In paragraph "Using MediaWiki: namespace pages" the two red links MediaWiki:Sidebarcategorytree MediaWiki:Sidebarcategorytree-url identify missing pages. Action: remove them ? or keep but with what inside ?
Thanks.
Christian Wia (talk) 19:29, 2 July 2019 (UTC)
They are perfectly OK. If you want category tree link in your sidebar, you should create them. MediaWiki.org doesn’t want, so they haven’t been created here. A possible content is shown right after the links (the #ifeq
codes).
no I dont wank RED links on the documentation page. Same as in this topic. Do you see red ? . That 's what to correct.
Use template "Blue" for this, as in MediaWiki:Sidebarcategorytree-url. :)
.... develop Karsten bitte does not exist as it is formulated => https://www.mediawiki.org/wiki/MediaWiki:Sidebarcategorytree-url
You mean adding content to this system message? No, this is not intended on this wiki. Probably I totally missed the point of this thread.
ok if it is not intended so I keep the text and remove the link definition on the EN page.
Hi all, In paragraph :
=== Clicking the ► has no effect, gives a JavaScript error or just sits on loading ===
The link https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/CategoryTree.git;a=tree does not exist.
Thanks.
https://gerrit.wikimedia.org/g/mediawiki/extensions/CategoryTree <= this root is accepted https://phabricator.wikimedia.org/diffusion/ECTR/
Christian Wia (talk) 15:07, 1 July 2019 (UTC)
I've fixed the link