https://wikidata.beta.wmflabs.org/wiki/Special:ConstraintReport
[XUsPsqwQBHcAAEa9wy0AAAAF] /wiki/Special:ConstraintReport OutOfBoundsException from line 361 of /srv/mediawiki/php-master/extensions/Wikibase/repo/includes/Rdf/RdfVocabulary.php: Backtrace: #0 /srv/mediawiki/php-master/extensions/WikibaseQualityConstraints/src/ConstraintCheck/Helper/SparqlHelper.php(165): Wikibase\Rdf\RdfVocabulary->getNamespaceURI(string) #1 /srv/mediawiki/php-master/extensions/WikibaseQualityConstraints/src/ServiceWiring.php(148): WikibaseQuality\ConstraintReport\ConstraintCheck\Helper\SparqlHelper->__construct(GlobalVarConfig, Wikibase\Rdf\RdfVocabulary, Wikibase\DataModel\Entity\DispatchingEntityIdParser, Wikibase\Lib\PropertyInfoDataTypeLookup, WANObjectCache, WikibaseQuality\ConstraintReport\ConstraintCheck\Message\ViolationMessageSerializer, WikibaseQuality\ConstraintReport\ConstraintCheck\Message\ViolationMessageDeserializer, BufferingStatsdDataFactory, WikibaseQuality\ConstraintReport\Api\ExpiryLock, WikibaseQuality\ConstraintReport\ConstraintCheck\Helper\LoggingHelper, string, MediaWiki\Http\HttpRequestFactory) #2 /srv/mediawiki/php-master/includes/libs/services/ServiceContainer.php(443): Closure$WikibaseQuality\ConstraintReport\#12(MediaWiki\MediaWikiServices) #3 /srv/mediawiki/php-master/includes/libs/services/ServiceContainer.php(421): Wikimedia\Services\ServiceContainer->createService(string) …
The problematic call in SparqlHelper is this:
$this->entityPrefix = $rdfVocabulary->getNamespaceURI( RdfVocabulary::NS_ENTITY );
Which calls this RdfVocabulary function:
public function getNamespaceURI( $ns ) { if ( !isset( $this->namespaces[$ns] ) ) { throw new OutOfBoundsException(); } return $this->namespaces[$ns]; }
Apparently NS_ENTITY is no longer defined – @Smalyshev or @WMDE-leszek, IIRC you had some recent changes in this area, could this be related? (I don’t have more time to investigate this right now, sorry.)
Note that this also breaks the API sandbox because the error is also thrown when trying to download parameter info (including for WikibaseQualityConstraints’ modules).