Page MenuHomePhabricator

RSS/Atom feeds use fully-qualified URIs rather than relative ones
Closed, ResolvedPublic


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(

					$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.)

Version: unspecified
Severity: minor



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:28 PM
bzimport set Reference to bz16357.
bzimport added a subscriber: Unknown Object (MLST).

Was fixed when bug 17538 was fixed in r47583

  • Bug 17538 has been marked as a duplicate of this bug. ***