[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-05 Thread Tgr
Tgr created this task.
Tgr added a project: MediaWiki-extensions-WikibaseClient.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
[b044c19a718cc572f5c35d43] [no req]   Error: Class 
'Onoi\MessageReporter\NullMessageReporter' not found
Backtrace:
from 
/vagrant/mediawiki/extensions/Wikibase/client/includes/Store/Sql/UnexpectedUnconnectedPagePrimer.php(61)
#0 
/vagrant/mediawiki/extensions/Wikibase/client/includes/Hooks/LoadExtensionSchemaUpdatesHookHandler.php(45):
 Wikibase\Client\Store\Sql\UnexpectedUnconnectedPagePrimer->__construct()
#1 /vagrant/mediawiki/includes/installer/DatabaseUpdater.php(604): 
Wikibase\Client\Hooks\LoadExtensionSchemaUpdatesHookHandler::primeUnexpectedUnconnectedPage()
#2 /vagrant/mediawiki/includes/installer/DatabaseUpdater.php(563): 
MediaWiki\Installer\DatabaseUpdater->runUpdates()
#3 /vagrant/mediawiki/maintenance/update.php(189): 
MediaWiki\Installer\DatabaseUpdater->doUpdates()
#4 /vagrant/mediawiki/maintenance/includes/MaintenanceRunner.php(696): 
UpdateMediaWiki->execute()
#5 /vagrant/mediawiki/maintenance/run.php(51): 
MediaWiki\Maintenance\MaintenanceRunner->run()
#6 /var/www/w/MWScript.php(99): require_once(string)
#7 {main}
  
  Seen in Vagrant after installing the `mediainfo` role. The file exists on 
disk so not quite sure what's going on. Adding
  
require_once( 
"/vagrant/mediawiki/extensions/Wikibase/vendor/onoi/message-reporter/src/MessageReporter.php"
 );
require_once( 
"/vagrant/mediawiki/extensions/Wikibase/vendor/onoi/message-reporter/src/NullMessageReporter.php"
 );
require_once( 
"/vagrant/mediawiki/extensions/Wikibase/vendor/onoi/message-reporter/src/CallbackMessageReporter.php"
 );
  
  to the beginning of UnexpectedUnconnectedPagePrimer.php fixed the error, so 
clearly some kind of autoloading problem.

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

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

To: Tgr
Cc: Aklapper, Tgr, ItamarWMDE, Akuckartz, lucamauri, Wikidata-bugs
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-05 Thread Tgr
Tgr added a comment.


  I can't reproduce it anymore (I guess I would have to undo the migration 
first) but I guess it's the thing where you have to tell extension.json you 
have composer dependencies, otherwise it might or might not break depending on 
how you use composer.

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

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

To: Tgr
Cc: Aklapper, Tgr, ItamarWMDE, Akuckartz, lucamauri, Wikidata-bugs
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-05 Thread Maintenance_bot
Maintenance_bot added a project: Wikidata.

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

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

To: Maintenance_bot
Cc: Aklapper, Tgr, Danny_Benjafield_WMDE, S8321414, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Dringsim, 
Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-05 Thread gerritbot
gerritbot added a comment.


  Change #1027561 had a related patch set uploaded (by Gergő Tisza; author: 
Gergő Tisza):
  
  [mediawiki/extensions/Wikibase@master] Load composer autoloader
  
  https://gerrit.wikimedia.org/r/1027561

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

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

To: gerritbot
Cc: Aklapper, Tgr, Danny_Benjafield_WMDE, S8321414, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Dringsim, 
Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-05 Thread gerritbot
gerritbot added a project: Patch-For-Review.

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

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

To: gerritbot
Cc: Aklapper, Tgr, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, 
Adamm71, S8321414, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, 
Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, 
Beast1978, ItamarWMDE, Un1tY, Akuckartz, Dringsim, Hook696, Kent7301, 
joker88john, CucyNoiD, Nandana, Gaboe420, lucamauri, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-06 Thread Lydia_Pintscher
Lydia_Pintscher added a project: wmde-wikidata-tech.

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

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

To: Lydia_Pintscher
Cc: Aklapper, Tgr, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, 
Adamm71, S8321414, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, 
Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, 
Beast1978, ItamarWMDE, Un1tY, Akuckartz, Dringsim, Hook696, Kent7301, 
joker88john, CucyNoiD, Nandana, Gaboe420, lucamauri, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-16 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a project: Wikidata Dev Team (Wikidata.org Slice).

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

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

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Tgr, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, 
Adamm71, S8321414, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, 
Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, 
Beast1978, ItamarWMDE, Un1tY, Akuckartz, Dringsim, Hook696, Kent7301, 
joker88john, CucyNoiD, Nandana, Gaboe420, lucamauri, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-16 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  Yeah, “Onoi” issues in Wikibase generally mean something’s wrong with the 
autoloader.
  
  If I understand the `load_composer_autoloader` flag correctly, it’s probably 
only needed if you’re not using the composer merge plugin? I think we generally 
recommend that instead, but specifying the flag as well seems reasonable. 
Thanks for the Gerrit change!

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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Tgr, Danny_Benjafield_WMDE, 
Isabelladantes1983, Themindcoder, Adamm71, S8321414, Jersione, Hellket777, 
LisafBia6531, Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, 
maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, 
Dringsim, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, 
lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, KimKelting, LawExplorer, Lewizho99, Maathavan, 
_jensen, rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-16 Thread gerritbot
gerritbot added a comment.


  Change #1027561 **merged** by jenkins-bot:
  
  [mediawiki/extensions/Wikibase@master] Load composer autoloader
  
  https://gerrit.wikimedia.org/r/1027561

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

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

To: gerritbot
Cc: Lucas_Werkmeister_WMDE, Aklapper, Tgr, Danny_Benjafield_WMDE, 
Isabelladantes1983, Themindcoder, Adamm71, S8321414, Jersione, Hellket777, 
LisafBia6531, Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, 
maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, 
Dringsim, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, 
lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, KimKelting, LawExplorer, Lewizho99, Maathavan, 
_jensen, rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-16 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE closed this task as "Resolved".
Lucas_Werkmeister_WMDE moved this task from In Peer Review to Done on the 
Wikidata Dev Team (Wikidata.org Slice) board.
Lucas_Werkmeister_WMDE assigned this task to Tgr.
Lucas_Werkmeister_WMDE added a comment.


  Since the issue isn’t reproducible anymore, let’s just hope it’s fixed now 
and close the task.

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

WORKBOARD
  https://phabricator.wikimedia.org/project/board/6751/

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

To: Tgr, Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Tgr, Danny_Benjafield_WMDE, 
Isabelladantes1983, Themindcoder, Adamm71, S8321414, Jersione, Hellket777, 
LisafBia6531, Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, 
maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, 
Dringsim, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, 
lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, KimKelting, LawExplorer, Lewizho99, Maathavan, 
_jensen, rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-16 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

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

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

To: Tgr, Maintenance_bot
Cc: Lucas_Werkmeister_WMDE, Aklapper, Tgr, Danny_Benjafield_WMDE, S8321414, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Dringsim, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, 
KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331, Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, 
LisafBia6531, 786, Biggs657, Juan90264, Alter-paule, Beast1978, Un1tY, Hook696, 
Kent7301, joker88john, CucyNoiD, Gaboe420, Giuliamocci, Cpaulf30, Af420, 
Bsandipan, Lewizho99, Maathavan, Neuronton
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-16 Thread ReleaseTaggerBot
ReleaseTaggerBot added a project: MW-1.43-notes (1.43.0-wmf.6; 2024-05-21).

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

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

To: Tgr, ReleaseTaggerBot
Cc: Lucas_Werkmeister_WMDE, Aklapper, Tgr, Danny_Benjafield_WMDE, S8321414, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Dringsim, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, 
KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-16 Thread Tgr
Tgr added a comment.


  In T364273#9804281 , 
@Lucas_Werkmeister_WMDE wrote:
  
  > If I understand the `load_composer_autoloader` flag correctly, it’s 
probably only needed if you’re not using the composer merge plugin?
  
  Yeah, it loads the autoloader.php file in the extension's vendor folder if it 
exists.

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

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

To: Tgr
Cc: Lucas_Werkmeister_WMDE, Aklapper, Tgr, Danny_Benjafield_WMDE, S8321414, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Dringsim, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, 
KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T364273: Wikibase breaks schema update with "Class 'Onoi\MessageReporter\NullMessageReporter' not found"

2024-05-17 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  In T364273#9804281 , 
@Lucas_Werkmeister_WMDE wrote:
  
  > I think we generally recommend [the composer merge plugin] instead
  
  Though our README was a bit outdated in that regard – uploaded 
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/1032720 to 
improve it.

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

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

To: Tgr, Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Tgr, Danny_Benjafield_WMDE, S8321414, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Dringsim, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, 
KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org