Update MediaWikiTitleCodec to use NamespaceInfo