Fix bug in MediaWikiInterface::getCanonicalPageID causing exceptions for nonexistent pages