Index: trunk/extensions/DumpHTML/dumpHTML.inc |
— | — | @@ -653,7 +653,7 @@ |
654 | 654 | $wgHooks['GetFullURL'][] =& $this; |
655 | 655 | $wgHooks['SiteNoticeBefore'][] =& $this; |
656 | 656 | $wgHooks['SiteNoticeAfter'][] =& $this; |
657 | | - $this->oldArticlePath = $wgServer . $wgArticlePath; |
| 657 | + $this->oldArticlePath = wfExpandURL( $wgServer . $wgArticlePath, PROTO_CANONICAL ); |
658 | 658 | $this->oldLogo = $wgLogo; |
659 | 659 | $this->oldRepoGroup = RepoGroup::singleton(); |
660 | 660 | $this->oldCopyrightIcon = $wgCopyrightIcon; |