Last modified: 2008-02-25 12:49:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13149 - SpecialUpload wrongly formatted 'fileexists' error
SpecialUpload wrongly formatted 'fileexists' error
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-02-25 12:25 UTC by brianna.laugher
Modified: 2008-02-25 12:49 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description brianna.laugher 2008-02-25 12:25:51 UTC
If you go to Special:Upload and enter a destination filename you know exists (e.g. "A.jpg" on Commons), you can an Ajaxy error message below from [[MediaWiki:Fileexists]]. However the supposed HTML appears escaped on the screen, instead of rendering a link.

Suspect it is  SpecialUpload.php 

 $warning .= '<li>' . wfMsgExt( 'fileexists', 'parseinline', $dlink ) . '</li>' . $dlink2;

from r31082. I think $dlink is already something like '<a href="/wiki/A.jpg">A.jpg</a>' so then wfMsgExt escapes it?

So either 'parseinline' should be something else, or instead of $dlink it should be $file->something?
Comment 1 Andrew Garrett 2008-02-25 12:49:22 UTC
fixed in r31254.

Note You need to log in before you can comment on or make changes to this bug.