Page MenuHomePhabricator

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

Description

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 https://phabricator.wikimedia.org/T164733 , despite the similar theme of collapsing being broken?) Apologies if I made any mistakes in where or how I filed this report.

Event Timeline

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 https://en.wiktionary.org/wiki/dove?debug=true#Derived_terms (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
https://en.wiktionary.org/wiki/Template:der3
https://en.wiktionary.org/wiki/Template:trans-top

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

(And on an unrelated note, https://en.wiktionary.org/wiki/MediaWiki:Gadget-purgetab.js 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.)