To reproduce:
- Go to https://en.wiktionary.org/wiki/ɐ#Pronunciation with Firefox 65 on Linux, without any addons (also reproducible with Chromium 73 on Linux — I have not tested any other browser/OS combinations).
- Click on the "Menu" button (in the right part of the audio widget)
- Click on the "Download" button (second button from the top in the right part of the menu).
Expected behaviour:
The menu displays a list of downloadable formats.
(See the behaviour in 2019-02, from the Web Archive:
https://web.archive.org/web/20190207011401/https://en.wiktionary.org/wiki/ɐ
)
Actual Behaviour:
- The browser navigates to:
https://en.wiktionary.org/wiki/ɐ#
(the anchor link to the top of the page)
- The menu does not update
Preliminary investigation
Directly, the issue is with the "audio" template (e.g. <nowiki>{{audio|Near-open_central_unrounded_vowel.ogg}}</nowiki>).
File: links
Under the hood, the wiktionary audio template uses "File:" links (e.g. <nowiki>[[File:Near-open_central_unrounded_vowel.ogg]]</nowiki>), which are also affected by the bug, throughout wikimedia. For instance, see:
https://en.wikipedia.org/w/index.php?title=User:Gephyra/sandbox&oldid=889067205
click on the "Menu" button and then on the "Download" button (as above).
JavaScript console log
Uncaught TypeError: Cannot read property 'getMIMEType' of undefined at load.php?debug=false&lang=en&modules=mw.EmbedPlayer&skin=vector&version=1lqeblt:80 at Array.forEach (<anonymous>) at Object.showDownloadWithSources (load.php?debug=false&lang=en&modules=mw.EmbedPlayer&skin=vector&version=1lqeblt:80) at Object.showDownload (load.php?debug=false&lang=en&modules=mw.EmbedPlayer&skin=vector&version=1lqeblt:79) at Object.showMenuItem (load.php?debug=false&lang=en&modules=mw.EmbedPlayer&skin=vector&version=1lqeblt:95) at HTMLLIElement.<anonymous> (load.php?debug=false&lang=en&modules=mw.EmbedPlayer&skin=vector&version=1lqeblt:94) at HTMLLIElement.dispatch (load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0vmq2pi:69) at HTMLLIElement.elemData.handle (load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0vmq2pi:65) (anonymous) @ load.php?debug=false&lang=en&modules=mw.EmbedPlayer&skin=vector&version=1lqeblt:80 showDownloadWithSources @ load.php?debug=false&lang=en&modules=mw.EmbedPlayer&skin=vector&version=1lqeblt:80 showDownload @ load.php?debug=false&lang=en&modules=mw.EmbedPlayer&skin=vector&version=1lqeblt:79 showMenuItem @ load.php?debug=false&lang=en&modules=mw.EmbedPlayer&skin=vector&version=1lqeblt:95 (anonymous) @ load.php?debug=false&lang=en&modules=mw.EmbedPlayer&skin=vector&version=1lqeblt:94 dispatch @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0vmq2pi:69 elemData.handle @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0vmq2pi:65