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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T15149, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13149 - SpecialUpload wrongly formatted 'fileexists' error
SpecialUpload wrongly formatted 'fileexists' error
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links