https://bugzilla.wikimedia.org/show_bug.cgi?id=59851

       Web browser: ---
            Bug ID: 59851
           Summary: action=render does not expand img src. Breaks Foreign
                    repos in some situations
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: bawolff...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to