Page MenuHomePhabricator

When uploading a file with a destination filename beginning with "File:" MediaWiki should remove the prefix
Closed, ResolvedPublic

Description

Author: svippy

Description:
If a user attempts to upload a file with a destination filename of "File:X.ext", MediaWiki should assume the "File:" to be a mistake on the user' side and remove it, instead of uploading it as "File-X.ext".


Version: 1.17.x
Severity: enhancement

Details

Reference
bz23464
TitleReferenceAuthorSource BranchDest Branch
Rename jenkins-slave to jenkins-agentrepos/releng/jenkins-deploy!29hasharjenkins-agent-user-renamemaster
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:10 PM
bzimport set Reference to bz23464.
bzimport added a subscriber: Unknown Object (MLST).

Bryan.TongMinh wrote:

Fixed in r88171. It removes the File: prefix and throws a warning.