Page MenuHomePhabricator

DumpHTML "Latest revision" link oddities with protocol-relative URLs
Closed, ResolvedPublic


When using protocol-relative links in $wgServer along with DumpHTML extension, the 'Latest revision' tab can end up breaking when viewing the pages on the local filesystem:

<a href="//stormcloud.local/trunk/index.php/Main_Page">Latest revision</a>

ends up resolving the URL in the browser to something like:


which doesn't work too well.

Should probably use $title->getCanonicalURL here.

Version: unspecified
Severity: normal


TitleReferenceAuthorSource BranchDest Branch
buildkitd: Add ability to restrict frontends and gateway sourcesrepos/releng/buildkit!46dancywmf/v0.12-If6519d9b16f636d40b445e42c58d21b38d4b666ewmf/v0.12
Use kokkuri image v1.8.0repos/releng/kokkuri!81dancyuse-v1.8.0main
Remove build frontend restrictions from kokkurirepos/releng/kokkuri!80dancyreview/dancy/remove-frontend-restrictionsmain
use buildkit image tag wmf-v0.11-8repos/releng/gitlab-cloud-runner!241dancyreview/dancy/use-buildkit-wmf-v0.11-8main
buildkitd: Add ability to restrict frontends and gateway sourcesrepos/releng/buildkit!40dancyreview/dancy/restrictionswmf/v0.11
Don't transmit "aborted" message to IRC if no prior announcement has been maderepos/releng/scap!76dancyreview/dancy/no-trivial-abort-announcementsmaster
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:58 PM
bzimport set Reference to bz30922.
bzimport added a subscriber: Unknown Object (MLST).

r97226 clears this up; uses wfExpandURL(x, PROT_CANONICAL) when slurping in the old article path (later used to generate the links).