Page MenuHomePhabricator

Cannot expand CategoryTree with mode=pages (CSS class CategoryTreeToggleHandlerAttached is missing; works in page preview)
Closed, ResolvedPublic

Description

Example page with invocation

{{#categorytree:English words suffixed with -ology|depth=0|mode=pages}}

The arrow functionality to expand the list functions normally in the page preview, but on a saved page the arrow is no longer clickable.

Event Timeline

Same problem occurs when mode=all or mode=categories. See my sandbox page on Japanese Wikipedia.

Honjitsu-Seiten raised the priority of this task from High to Needs Triage.Dec 18 2020, 1:42 PM
Aklapper renamed this task from categorytree with mode=pages is only expandable in preview to Cannot expand CategoryTree with mode=pages (CSS class CategoryTreeToggleHandlerAttached is missing; works in page preview).Dec 18 2020, 2:40 PM
Aklapper added a project: Regression.

Thanks; I can also reproduce on mediawiki.org. In the page preview, the arrow has the CSS class CategoryTreeToggleHandlerAttached while the saved version does not.

Also now a problem on en.wikipedia.org. ext.categoryTree is not being loaded

Change 653126 had a related patch set uploaded (by Majavah; owner: Majavah):
[mediawiki/extensions/CategoryTree@master] Fix category tree headers not being set

https://gerrit.wikimedia.org/r/653126

I believe 32d1bf0 caused this, patch above should fix it

Change 653126 merged by jenkins-bot:
[mediawiki/extensions/CategoryTree@master] Fix category tree headers not being set

https://gerrit.wikimedia.org/r/653126

This issue seem to be resolved on MediaWiki 1.36.0-wmf.25. I propose closure of this task.

taavi claimed this task.