Page MenuHomePhabricator

allow * for file uploads
Closed, InvalidPublic


Author: dev

Please allow adding '*' to the allowed upload
files, $wgFileExtensions.

The quality of the mediawiki software urged me to
switch my homepage to
mediawiki. Big compliment.
On my homepage, I do not have any users but me, but
I need to upload my sourcecode files with whatever

My patch allows for adding * to file uploads, it is
productive on

Version: unspecified
Severity: normal
OS: Linux
Platform: Other



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:21 PM
bzimport set Reference to bz6598.
bzimport added a subscriber: Unknown Object (MLST).

dev wrote:

react on $wgFileExtensions='*'

attachment patch2.diff ignored as obsolete

dev wrote:

react on $wgFileExtensions='*' with yesterday's version 1.7.1


If you need this disable the extension check using the existing

dev wrote:

disabling extension check is ignored, see bug 6602

robchur wrote:

Set $wgStrictFileExtensions to false, otherwise MediaWiki will enforce file
extension checking; that warning can't be skipped at runtime, for obvious
security reasons.