Last modified: 2014-11-13 12:12:58 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 T61851, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59851 - action=render does not expand img src. Breaks Foreign repos in some situations
action=render does not expand img src. Breaks Foreign repos in some situations
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-09 01:19 UTC by Bawolff (Brian Wolff)
Modified: 2014-11-13 12:12 UTC (History)
8 users (show)

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


Attachments

Description Bawolff (Brian Wolff) 2014-01-09 01:19:37 UTC
Steps to reproduce (Not on a Wikimedia wiki)
1. You need $wgUploadPath to be a relative url (This is the default, however not what is set on Wikimedia)
2. Put a (local) image on some page
3. View that page with url parameter ?action=render . Expected behaviour, no relative urls (like links). Actual behaviour, the src attribute on <img> tags are still relative

This would cause breakage if using Foreign repos (including ForeignDBRepo) and the foreign image description page had an image from the foreign repo on it (Since the relative url is just copied, but no longer points to the right server).

Reported on irc by cboltz

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


Navigation
Links