Last modified: 2012-04-12 13:55:37 UTC
... The warning in question is for example (example) ".txt" is an unwanted file type. Preferred file types are $2. (/example) Note the $2.
Confirmed still present in trunk. Looks like the warning message gets set in UploadBase::checkWarnings(), but parameters for those messages don't get added until output time in SpecialUpload::showUploadWarning. That function has some special cases for specific warning messages to customize the output; the one to watch for is 'filetype-unwanted-type'. The similar 'filetype-banned-type' message is processed separately in SpecialUpload::processVerificationError, so may need some common list building.
Fixed in r90369.