Page MenuHomePhabricator

Some templates on en.wiktionary do not allow toggling between show/hide anymore
Closed, DuplicatePublic


The English Wiktionary uses javascript to create collapsible elements, and although the javascript has not been changed recently, it has broken in such a way that elements are collapsed with no way of expanding them, which leads us to suspect that something may have changed in the site software to cause the breakage. For example, in the entry dove, some quotations directly underneath the definitions, the box of derived terms, and the box of translations are all no longer expandable, so that content cannot be seen except in edit mode. This problem is discussed at Wiktionary:Grease_pit/2017/May#Show-and-hide_templates_not_working_properly . We would appreciate if you could help us identify and solve what is causing the breakage. (This is apparently unrelated to , despite the similar theme of collapsing being broken?) Apologies if I made any mistakes in where or how I filed this report.

Event Timeline

-sche created this task.May 11 2017, 8:21 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 11 2017, 8:21 AM
-sche updated the task description. (Show Details)May 11 2017, 8:22 AM
-sche updated the task description. (Show Details)May 11 2017, 8:26 AM
Aklapper renamed this task from en.Wiktionary's show/hide toggles stopped working to Some templates on en.wiktionary do not allow toggling between show/hide anymore.May 11 2017, 10:24 AM
Aklapper added a project: Regression.

Hi @-sche, thanks for taking the time to report this!

I went to (thanks for the test case!) and can confirm that there is no expand/collapse option on the right (and no output in the web browser's developer tools' console) - this issue can also be seen on the pages for the templates themselves at

For the records, T163974 might be a similar problem (but that report is unclear).

(And on an unrelated note, is broken (link is undefined). And the styles of the gadgets "Legacy scripts" and "DocTabs" are loaded twice so someone should migrate them to type=general.)

This seems to have been resolved on-wiki with I'm pretty sure the underlying issue is the same as T165031.