Page MenuHomeMiraheze

Infinite loop when expanding hidden categories on Miraheze wikis
Closed, ResolvedPublic


Problem: Though I've got some real life things to take care of, I've been meaning to report this nagging bug I first noticed several weeks ago, initially on Public Test Wiki, which I was able to reproduce on Miraheze Meta and Miraheze Commons. Essentially, I'm fairly certain it's a global configuration issue unique to Miraheze as the problem does not reoccur on several Wikimedia wikis (Meta Wiki and English Wikipedia being two of them), but when browsing a category above a hidden category and clicking the blue horizontally-orientated triangles to expand the category tree for that category, the hidden category is continuously displayed in each subordinate level of the category tree. I haven't tested it to infinity, but the attached screenshots from Miraheze Meta and Miraheze Commons should illustrate what I mean.

2020-07-10 14.46.37 e43fc2259eac.jpg (737×1 px, 85 KB)

2020-07-10 14.49.19 a5857609e6ae.jpg (715×1 px, 98 KB)

What Should Happen: The hidden sub-category should only be displayed in the first subordinate level of the parent category, as in the Meta Wiki screenshot below.

2020-07-10 14.51.17 aa34f5183ce9.jpg (736×919 px, 73 KB)

Reproducable? Yes...confirmed on Public Test Wiki, tested on Miraheze Meta, and re-tested on Miraheze Commons

System Information:
Vivaldi 3.1.1929.45 (Stable channel) (64-bit)
Revision 1eb3263017ed42270818939fbff241845938a81f
OS Windows 10 OS Version 1909 (Build 18363.900)
JavaScript V8
Flash C:\WINDOWS\system32\Macromed\Flash\pepflashplayer64_32_0_0_387.dll
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.119 Safari/537.36
Command Line "C:\Users\Wylie\AppData\Local\Vivaldi\Application\vivaldi.exe" --flag-switches-begin --flag-switches-end --enable-audio-service-sandbox --ppapi-flash-path="C:\WINDOWS\system32\Macromed\Flash\pepflashplayer64_32_0_0_387.dll" --save-page-as-mhtml
Executable Path C:\Users\Wylie\AppData\Local\Vivaldi\Application\vivaldi.exe
Profile Path C:\Users\Wylie\AppData\Local\Vivaldi\User Data\Default

Event Timeline

Reception123 triaged this task as Normal priority.Jul 11 2020, 05:23
Reception123 edited projects, added MediaWiki; removed Configuration.
Reception123 moved this task from Backlog to Bugs on the MediaWiki board.
Reception123 claimed this task.

This is not actually an error or a problem in configuration. This issue you describe is because you used the HIDDENCAT magic word on Category:Hidden categories itself which caused the loop. Removing the magic word from that page (where it shouldn't be per and fixes the issue.

@Reception123 Did I add HIDDENCAT to [[Category:Hidden categories]], on both wikis? Looking at the [[Category:Miraheze]] top-level category on Meta, the problem does seem to be resolved; haven't confirmed with Public Test Wiki, but will check later and take your word for it. Apologies for my error, if it was me, though, in fairness, I did see HIDDENCAT added to other system hidden categories on those wikis. Good to know it was a user error and not a Miraheze-specific configuration issue. :P