Last modified: 2011-09-16 00:55:27 UTC
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: file:///trunk/index.php/Main_Page which doesn't work too well. Should probably use $title->getCanonicalURL here.
r97226 clears this up; uses wfExpandURL(x, PROT_CANONICAL) when slurping in the old article path (later used to generate the links).