Marx.FelipeForte added a comment.
The issue was resolved. It was the way our wiki was configured. The Wikibase
extension registry happened at server registry time and the PHP command line
does not register as a server. Thus Wikibase was not loading and the classes
were not found.
This is the configuration which was causing the problem:
if (isset($_SERVER['SERVER_NAME']) && $_SERVER['SERVER_NAME'] == $wc .
'.prolewiki.org') {
...
$wikiId = $wc; // $wc is our internal variable used to serve multiple
wikis
...
if ($wc == 'shared') {
...
wfLoadExtension( 'WikibaseRepository',
"$IP/extensions/Wikibase/extension-repo.json" );
...
The issue was fixed by loading the extension outside the server check.
TASK DETAIL
https://phabricator.wikimedia.org/T360254
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Marx.FelipeForte
Cc: Aklapper, Marx.FelipeForte, Danny_Benjafield_WMDE, S8321414, Astuthiodit_1,
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana,
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, LawExplorer,
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]