[Mediawiki-l] upload html files
Rob Church
robchur at gmail.com
Thu Dec 15 16:04:19 UTC 2005
It's on an explicit blacklist.
http://www.mediawiki.org/wiki/Help:%24wgFileBlacklist details more. I
suggest copying the array assignment into LocalSettings.php and
removing the entries to add 'html' and 'htm' to the blacklist, to
preserve the other restrictions.
Rob Church
On 15/12/05, Greg Rodenhiser <grodenhi at gmail.com> wrote:
> We are using Mediawiki 1.5.1 to organize documentation for our department.
> The problem is that we cannot get Mediawiki to allow html files to be
> uploaded. I have enabled doc extentioons and that works. I have the
> following line in my LocalSettings.php
>
> $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'doc', 'pdf', 'html'
> );
>
> This allows all the above mentioned extentions to be uploaded, but for
> whatever reason Mediawiki continues to reject .html files. The error says
> the file does not appear to be an image. Why can't we upload an html file,
> even though the extention is configured to be allowed? Thanks!!
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
More information about the MediaWiki-l
mailing list