Page MenuHomePhabricator

allow * for file uploads
Closed, InvalidPublic

Description

Author: dev

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

The quality of the mediawiki software urged me to
switch my homepage www.staerk.de/thorsten 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
extensions.

My patch allows for adding * to file uploads, it is
productive on www.staerk.de/thorsten.


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

Details

Reference
bz6598

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

Attached:

If you need this disable the extension check using the existing
preferences.

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.