aude created this task.
aude added projects: Wikidata, MediaWiki-extensions-WikibaseMediaInfo.
Herald added a subscriber: Aklapper.

TASK DESCRIPTION

How entityNamespaces and namespace registration in Wikibase (especially, with WikibaseClient enabled) changed in https://gerrit.wikimedia.org/r/#/c/337255/

This causes registration of extra entity namespaces not to work correctly.

Presumably this also affects WikibaseLexeme.

One thing we could do to improve is to define the namespaces in extension registration, instead of onSetupAfterCache hook. We also need to call WikibaseEntityNamespaces hook earlier in setup.

10:08:22 There was 1 failure:
10:08:22
10:08:22 1) Wikibase\MediaInfo\Tests\MediaWiki\WikibaseMediaInfoHooksTest::testOnImagePageAfterImageLinks
10:08:22 Failed asserting that '<h2><a href="" href="https://phabricator.wikimedia.org/M23" style="background-color: #e7e7e7; border-color: #e7e7e7; border-radius: 3px; padding: 0 4px; font-weight: bold; color: black;text-decoration: none;" rel="noreferrer">M23" title=":M23">:M23</a></h2>' matches PCRE pattern "@<h2><a .*MediaInfo:M23.*>MediaInfo:M23</a></h2>@".
10:08:22
10:08:22 /srv/jenkins-workspace/workspace/mwext-testextension-hhvm/src/extensions/Wikidata/extensions/MediaInfo/tests/phpunit/mediawiki/WikibaseMediaInfoHooksTest.php:130
10:08:22 /srv/jenkins-workspace/workspace/mwext-testextension-hhvm/src/maintenance/doMaintenance.php:111
10:08:22


TASK DETAIL
https://phabricator.wikimedia.org/T157919

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: aude
Cc: aude, Aklapper, D3r1ck01, Izno, Wikidata-bugs, Ricordisamoa, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to