Error
MediaWiki version: 1.36.0-wmf.36
Class 'GlobalUsageHooks' not found
Impact
Notes
A few occurrences immediately after 1.36.0-wmf.36. Seems to be caused by the onPageMoveComplete.
MediaWiki version: 1.36.0-wmf.36
Class 'GlobalUsageHooks' not found
A few occurrences immediately after 1.36.0-wmf.36. Seems to be caused by the onPageMoveComplete.
from /srv/mediawiki/php-1.36.0-wmf.36/includes/HookContainer/HookContainer.php(330) #0 /srv/mediawiki/php-1.36.0-wmf.36/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array) #1 /srv/mediawiki/php-1.36.0-wmf.36/includes/HookContainer/HookRunner.php(2874): MediaWiki\HookContainer\HookContainer->run(string, array) #2 /srv/mediawiki/php-1.36.0-wmf.36/includes/MovePage.php(829): MediaWiki\HookContainer\HookRunner->onPageMoveComplete(Title, Title, User, integer, integer, string, MediaWiki\Revision\RevisionStoreRecord) #3 /srv/mediawiki/php-1.36.0-wmf.36/includes/libs/rdbms/database/Database.php(4516): MovePage->{closure}(Wikimedia\Rdbms\DatabaseMysqli, string) #4 /srv/mediawiki/php-1.36.0-wmf.36/includes/deferred/AtomicSectionUpdate.php(39): Wikimedia\Rdbms\Database->doAtomicSection(string, Closure) #5 /srv/mediawiki/php-1.36.0-wmf.36/includes/deferred/DeferredUpdates.php(513): AtomicSectionUpdate->doUpdate() #6 /srv/mediawiki/php-1.36.0-wmf.36/includes/deferred/DeferredUpdates.php(390): DeferredUpdates::attemptUpdate(AtomicSectionUpdate, Wikimedia\Rdbms\LBFactoryMulti) #7 /srv/mediawiki/php-1.36.0-wmf.36/includes/deferred/DeferredUpdates.php(221): DeferredUpdates::run(AtomicSectionUpdate, Wikimedia\Rdbms\LBFactoryMulti, Monolog\Logger, BufferingStatsdDataFactory, string) #8 /srv/mediawiki/php-1.36.0-wmf.36/includes/deferred/DeferredUpdatesScope.php(267): DeferredUpdates::{closure}(AtomicSectionUpdate, integer) #9 /srv/mediawiki/php-1.36.0-wmf.36/includes/deferred/DeferredUpdatesScope.php(196): DeferredUpdatesScope->processStageQueue(integer, integer, Closure) #10 /srv/mediawiki/php-1.36.0-wmf.36/includes/deferred/DeferredUpdates.php(242): DeferredUpdatesScope->processUpdates(integer, Closure) #11 /srv/mediawiki/php-1.36.0-wmf.36/includes/MediaWiki.php(1097): DeferredUpdates::doUpdates(string) #12 /srv/mediawiki/php-1.36.0-wmf.36/includes/MediaWiki.php(834): MediaWiki->restInPeace() #13 /srv/mediawiki/php-1.36.0-wmf.36/includes/MediaWiki.php(846): MediaWiki->{closure}() #14 /srv/mediawiki/php-1.36.0-wmf.36/api.php(125): MediaWiki->doPostOutputShutdown() #15 /srv/mediawiki/php-1.36.0-wmf.36/api.php(45): wfApiMain() #16 /srv/mediawiki/w/api.php(3): require(string) #17 {main}
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Release | hashar | T274940 1.36.0-wmf.36 deployment blockers | ||
Resolved | PRODUCTION ERROR | Legoktm | T278375 Class 'GlobalUsageHooks' not found |
Change 674664 had a related patch set uploaded (by Legoktm; author: Legoktm):
[mediawiki/extensions/GlobalUsage@master] Fix hook registration after class was namespaced
Change 674666 had a related patch set uploaded (by DannyS712; author: DannyS712):
[mediawiki/extensions/GlobalUsage@master] Fix "Class 'GlobalUsageHooks' not found"
Change 674665 had a related patch set uploaded (by Jforrester; author: Jforrester):
[mediawiki/extensions/GlobalUsage@master] Follow-up 1bb7ba1: Fix stray reference to removed Hooks class
Change 674665 abandoned by Jforrester:
[mediawiki/extensions/GlobalUsage@master] Follow-up 1bb7ba1: Fix stray reference to removed Hooks class
Reason:
Lego's one does both together.
Change 674664 merged by jenkins-bot:
[mediawiki/extensions/GlobalUsage@master] Fix hook registration after class was namespaced
Change 674666 abandoned by DannyS712:
[mediawiki/extensions/GlobalUsage@master] Fix "Class 'GlobalUsageHooks' not found"
Reason:
done by Legoktm at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GlobalUsage/ /674664
Change 674670 had a related patch set uploaded (by Jforrester; author: Legoktm):
[mediawiki/extensions/GlobalUsage@wmf/1.36.0-wmf.36] Fix hook registration after class was namespaced
Change 674670 merged by jenkins-bot:
[mediawiki/extensions/GlobalUsage@wmf/1.36.0-wmf.36] Fix hook registration after class was namespaced
Mentioned in SAL (#wikimedia-operations) [2021-03-24T21:02:52Z] <hashar@deploy1002> Synchronized php-1.36.0-wmf.36/extensions/GlobalUsage: Fix hook registration after class was namespaced - T278375 (duration: 01m 07s)
The patch has been rolled and I have pushed 1.36.0-wmf.36 to group 1. The issue appears to have been resolved.
Thank you for the quick response!