Extension talk:CategoryTree

Jump to navigation Jump to search

About this board

CategoryTree won't update if I'm logged in

2
MrJConstantine (talkcontribs)

There's something really strange and buggy going on with CategoryTree updates.

Sometimes it does not want to update until I clear the cache in my browser, sometimes clearing the cache does not do anything.

Now I've stumbled upon another weird thing. I added a couple of pages in my custom namespace and they won't show up in the tree unless I log out. When I stay logged out the pages are there, but when I log in again they disappear.

Please, help me to solve this annoying problem.

MrJConstantine (talkcontribs)

This is ridiculous. What I just did is: I deleted the contents of the subcategory page (which is ), saved the page. Then I pasted the same contents and saved the page again. And now it works. This is very strange and I see no logic in this. I would like to solve this problem so my tree would update like it's supposed to.

Reply to "CategoryTree won't update if I'm logged in"

How to hide subcategories in "Special: Categories" page?

5
74.61.181.4 (talkcontribs)

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?

107.77.198.7 (talkcontribs)

You can make the categories show as collapsed menus so that you have to expand them to see the subcats

This post was hidden by Frybread (history)
Reply to "How to hide subcategories in "Special: Categories" page?"
Jonathan3 (talkcontribs)
Reply to "Negative count (-2 pages)"
143.112.144.129 (talkcontribs)

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.

Tacsipacsi (talkcontribs)

No, there is currently no option for this.

165.225.76.76 (talkcontribs)

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

Reply to "Conditional Trees?"
216.17.31.166 (talkcontribs)

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?

Jonathan3 (talkcontribs)

When assigning pages to categories you can add a sort key, e.g. [[Category:categoryname|sortkey]] Jonathan3 (talk) 13:31, 5 April 2019 (UTC)

165.225.77.58 (talkcontribs)

I think you dont get it. Try with Articles AND Subcategories.

This dont work as intended.

Reply to "Sorting options"

How do I add a limit on how many pages categorytree should display per article?

2
Summary by MarioSuperstar77

Thank you Ciencia for the suggestion, your extension does exactly what I want. I will continue to use CategoryTree though.

MarioSuperstar77 (talkcontribs)

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?

Ciencia Al Poder (talkcontribs)

You can't set a limit when using <categorytree>. You'll have to use a DPL extension.

CategoryTree and MobileFrontend

3
Summary by Tacsipacsi

Fixed in 1.31, phab:T171767.

80.146.191.156 (talkcontribs)

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?

Ciencia Al Poder (talkcontribs)
2003:C3:F12:1CE4:9D66:8822:802:D82E (talkcontribs)

oh - okay --- we use MW 1.27.5 at the moment ... so we have to wait until we plan and do an update :)

Amichai Nachmani (talkcontribs)

Is there a way to hide hidden categories from the tree?

Thanks

Spas.Z.Spasov (talkcontribs)
Reply to "Hide hidden categories"

page ready for translation ?

5
Summary by Wladek92

done. Thanks all.

Wladek92 (talkcontribs)

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)

Ciencia Al Poder (talkcontribs)

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

Wladek92 (talkcontribs)

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.

Ciencia Al Poder (talkcontribs)

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.

Wladek92 (talkcontribs)

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.

Undefined pages MediaWiki:Sidebarcategorytree & MediaWiki:Sidebarcategorytree-url

7
Summary by Wladek92

done

Wladek92 (talkcontribs)
Tacsipacsi (talkcontribs)

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

Wladek92 (talkcontribs)

no I dont wank RED links on the documentation page. Same as in this topic. Do you see red ? . That 's what to correct.

Kghbln (talkcontribs)

Use template "Blue" for this, as in MediaWiki:Sidebarcategorytree-url. :)

Wladek92 (talkcontribs)
Kghbln (talkcontribs)

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.

Wladek92 (talkcontribs)

ok if it is not intended so I keep the text and remove the link definition on the EN page.