Last modified: 2013-09-27 18:00:47 UTC
Error is present in both Wikipedia and at Commons, e. g. https://en.wikipedia.org/wiki/Special:Upload
Thanks for taking the time to report this! Confirming. I wonder if that happens because once it refers to audio, and once to video. $:andre\> grep -r "Permitted file types" . ./languages/messages/MessagesEn.php: 'upload-permitted' => 'Permitted file types: $1.', $:andre\> grep -r "upload-permitted" . ./includes/specials/SpecialUpload.php: $this->msg( 'upload-permitted', $this->getContext()->getLanguage()->commaList( $wgFileExtensions ) )->parseAsBlock() .
Its because its added to $wgFileExtensions both in our LocalSettings, and in the setup code for TMH. Solution would be to run array_unique on $wgFileExtensions before outputting it.
Change 86021 had a related patch set uploaded by Brion VIBBER: bug 54378: remove duplicate file extensions from output messages https://gerrit.wikimedia.org/r/86021
Change 86021 had a related patch set uploaded by Krinkle: bug 54378: remove duplicate file extensions from output messages https://gerrit.wikimedia.org/r/86021
Change 86021 merged by jenkins-bot: Remove duplicate file extensions from output messages https://gerrit.wikimedia.org/r/86021
Merged.