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

           Summary: RSS/Atom feeds use fully-qualified URIs rather than
                    relative ones
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Most URIs in the head are relative, but feed URIs are fully-qualified. It is
unclear why this is the case. If they were relative, the feed hrefs would take
up less space in the output.

The relevant code is in OutputPage.php
$tags[] = $this->feedLink(
                                        'rss',
                                        $rctitle->getFullURL( 'feed=rss' ),
                                        wfMsg( 'site-rss-feed', $wgSitename )
);

Changing this to use getLocalURL appears to work.

(There's a similar issue with the UniversalEditButton extension. I understand
this is to be integrated into 1.14.0; if so, this code may also need
modification.)


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to