Index: branches/extensionless-files/includes/specials/SpecialUpload.php |
— | — | @@ -849,8 +849,11 @@ |
850 | 850 | "</div>\n"; |
851 | 851 | } |
852 | 852 | } else { |
853 | | - # Everything is permitted. |
854 | | - $extensionsList = ''; |
| 853 | + # We still block the blacklisted stuff, because it's just nasty |
| 854 | + $extensionsList = |
| 855 | + '<div id="mw-upload-prohibited">' . |
| 856 | + wfMsgWikiHtml( 'upload-prohibited', $wgLang->commaList( $wgFileBlacklist ) ) . |
| 857 | + "</div>\n"; |
855 | 858 | } |
856 | 859 | return $extensionsList; |
857 | 860 | } |