Wikibase’s default value for the conceptBaseUri setting is correct for our production systems, but computed using a callback, and I dimly remember @hoo saying that this would cause debug log warnings and we should expliclitly specify the correct value in mediawiki-config instead.
In I8f6a6d67d7, I tried to implement this, but this ended up causing an incident and the change had to be reverted. There were at least two errors (fatalmonitor):
- On Commons:
Wikimedia\Assert\ParameterTypeException from line 89 of /srv/mediawiki/php-1.34.0-wmf.8/vendor/wikimedia/assert/src/Assert.php: Bad value for parameter $conceptBaseUri: must be a string
This was a simple oversight by me – I failed to specify the variable for commonswiki (and testcommonswiki would presumably also need it).
- Unknown origin:
Notice: Undefined variable: wmgWBRepoConceptBaseUri in /srv/mediawiki/wmf-config/Wikibase.php on line 149
These log messages have a “-” in the “wiki” column and not much other useful information either, and I don’t really understand where they’re coming from.
If we want to try this change again, we need to investigate and resolve the second error first.