Error
- service.version: 1.42.0-wmf.21
- trace.id: 7276e15d-c9f0-4446-a391-bd185e7ed648
- Find trace.id in Logstash
[{reqId}] {exception_url} ArgumentCountError: Too few arguments to function MediaWiki\Extension\Gadgets\GadgetRepo::titleWithoutPrefix(), 1 passed in /srv/mediawiki/php-1.42.0-wmf.21/extensions/Gadgets/includes/GadgetResourceLoaderModule.php on line 80
from /srv/mediawiki/php-1.42.0-wmf.21/extensions/Gadgets/includes/GadgetRepo.php(92) #0 /srv/mediawiki/php-1.42.0-wmf.21/extensions/Gadgets/includes/GadgetResourceLoaderModule.php(80): MediaWiki\Extension\Gadgets\GadgetRepo->titleWithoutPrefix(string) #1 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/WikiModule.php(368): MediaWiki\Extension\Gadgets\GadgetResourceLoaderModule->getRequireKey(string) #2 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/WikiModule.php(294): MediaWiki\ResourceLoader\WikiModule->getPackageFiles(MediaWiki\ResourceLoader\Context) #3 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/Module.php(839): MediaWiki\ResourceLoader\WikiModule->getScript(MediaWiki\ResourceLoader\Context) #4 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/Module.php(808): MediaWiki\ResourceLoader\Module->buildContent(MediaWiki\ResourceLoader\Context) #5 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/ResourceLoader.php(1273): MediaWiki\ResourceLoader\Module->getModuleContent(MediaWiki\ResourceLoader\Context) #6 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/ResourceLoader.php(1197): MediaWiki\ResourceLoader\ResourceLoader->addOneModuleResponse(MediaWiki\ResourceLoader\Context, Wikimedia\Minify\IdentityMinifierState, string, MediaWiki\Extension\Gadgets\GadgetResourceLoaderModule, array) #7 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/ResourceLoader.php(1115): MediaWiki\ResourceLoader\ResourceLoader->getOneModuleResponse(MediaWiki\ResourceLoader\Context, string, MediaWiki\Extension\Gadgets\GadgetResourceLoaderModule) #8 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/ResourceLoader.php(827): MediaWiki\ResourceLoader\ResourceLoader->makeModuleResponse(MediaWiki\ResourceLoader\Context, array, array) #9 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/ResourceLoaderEntryPoint.php(53): MediaWiki\ResourceLoader\ResourceLoader->respond(MediaWiki\ResourceLoader\Context) #10 /srv/mediawiki/php-1.42.0-wmf.21/includes/MediaWikiEntryPoint.php(199): MediaWiki\ResourceLoader\ResourceLoaderEntryPoint->execute() #11 /srv/mediawiki/php-1.42.0-wmf.21/load.php(42): MediaWiki\MediaWikiEntryPoint->run() #12 /srv/mediawiki/w/load.php(3): require(string) #13 {main}
Impact
Being an error in the Gadgets extension, I am worried about the impact on users if we roll out the train to group1.
Notes
First seen in group0 during train of 1.42.0-wmf.21. The error rate is irregular (probably low volume and user-driven) but sustained.
The backtrace above belongs to test Wikidata but the error is also visible for maintenance servers:
from /srv/mediawiki/php-1.42.0-wmf.21/extensions/Gadgets/includes/GadgetRepo.php(92) #0 /srv/mediawiki/php-1.42.0-wmf.21/extensions/Gadgets/includes/GadgetResourceLoaderModule.php(80): MediaWiki\Extension\Gadgets\GadgetRepo->titleWithoutPrefix(string) #1 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/WikiModule.php(368): MediaWiki\Extension\Gadgets\GadgetResourceLoaderModule->getRequireKey(string) #2 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/WikiModule.php(294): MediaWiki\ResourceLoader\WikiModule->getPackageFiles(MediaWiki\ResourceLoader\DerivativeContext) #3 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/Module.php(839): MediaWiki\ResourceLoader\WikiModule->getScript(MediaWiki\ResourceLoader\DerivativeContext) #4 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/Module.php(808): MediaWiki\ResourceLoader\Module->buildContent(MediaWiki\ResourceLoader\DerivativeContext) #5 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/ResourceLoader.php(1273): MediaWiki\ResourceLoader\Module->getModuleContent(MediaWiki\ResourceLoader\DerivativeContext) #6 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/ResourceLoader.php(1197): MediaWiki\ResourceLoader\ResourceLoader->addOneModuleResponse(MediaWiki\ResourceLoader\DerivativeContext, Wikimedia\Minify\IdentityMinifierState, string, MediaWiki\Extension\Gadgets\GadgetResourceLoaderModule, array) #7 /srv/mediawiki/php-1.42.0-wmf.21/includes/ResourceLoader/ResourceLoader.php(1115): MediaWiki\ResourceLoader\ResourceLoader->getOneModuleResponse(MediaWiki\ResourceLoader\DerivativeContext, string, MediaWiki\Extension\Gadgets\GadgetResourceLoaderModule) #8 /srv/mediawiki/php-1.42.0-wmf.21/extensions/WikimediaMaintenance/blameStartupRegistry.php(141): MediaWiki\ResourceLoader\ResourceLoader->makeModuleResponse(MediaWiki\ResourceLoader\DerivativeContext, array) #9 /srv/mediawiki/php-1.42.0-wmf.21/maintenance/includes/MaintenanceRunner.php(698): BlameStartupRegistry->execute() #10 /srv/mediawiki/php-1.42.0-wmf.21/maintenance/run.php(51): MediaWiki\Maintenance\MaintenanceRunner->run() #11 /srv/mediawiki/multiversion/MWScript.php(158): require_once(string) #12 {main}