Page MenuHomePhabricator

Fix namespace registration
Closed, ResolvedPublic

Description

We had to insert a hack to make the namespace registration work.
https://gerrit.wikimedia.org/r/#/c/346153/2/src/WikibaseLexeme.hooks.php

	// FIXME: Ugly hack find solution to avoid this line
		\MWNamespace::getCanonicalNamespaces( true );

We should provide a proper fix by using 'CanonicalNamespaces' hook.

Event Timeline

Change 346312 had a related patch set uploaded (by Aleksey Bekh-Ivanov (WMDE)):
[mediawiki/extensions/WikibaseLexeme@master] Proper fix for namespace registration issue

https://gerrit.wikimedia.org/r/346312

Change 346312 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Proper fix for namespace registration issue

https://gerrit.wikimedia.org/r/346312

Jonas moved this task from Review to Done on the Wikidata-Former-Sprint-Board board.