Last modified: 2013-08-14 12:11:35 UTC
Maybe in Article.php: $outputPage->setCanonicalUrl( $this->getTitle()->getLocalURL() ); should be replaced with: $outputPage->setCanonicalUrl( $this->getTitle()->getCanonicalURL() ); at the same time.
btw this seems like a more generic version of bug 48402. Setting canonical to http://localhost/ is asked here when http://127.0.0.1/ is accessed.