Last modified: 2014-11-18 18:07:27 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 T59294, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57294 - File::getDescriptionText() renders links differently for local and foreign files
File::getDescriptionText() renders links differently for local and foreign f...
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.23.0
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 57187
  Show dependency treegraph
 
Reported: 2013-11-20 10:38 UTC by Tisza Gergő
Modified: 2014-11-18 18:07 UTC (History)
6 users (show)

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


Attachments

Description Tisza Gergő 2013-11-20 10:38:28 UTC
Foreign files use a HTTP request with action=render, which results in absolute links. Local files call the parser, which gives relative links.
Comment 1 Tisza Gergő 2013-11-20 17:14:46 UTC
Apparently, the decision whether to use relative URLs is made somewhere deep down in the bowels of the parser by checking the value of $wgRequest->getVal('action'). Fun.

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


Navigation
Links