Page MenuHomePhabricator

frwiktionary: suggested edits code unintentionally runs: GrowthExperiments\WikiConfigException: The configuration title does not exist
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
The configuration title does not exist.
exception.trace
from /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/NewcomerTasks/TaskSuggester/TaskSuggesterFactory.php(28)
#0 /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/NewcomerTasks/TaskSuggester/LocalSearchTaskSuggesterFactory.php(51): GrowthExperiments\NewcomerTasks\TaskSuggester\TaskSuggesterFactory->createError(StatusValue)
#1 /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/NewcomerTasks/TaskSuggester/DecoratingTaskSuggesterFactory.php(53): GrowthExperiments\NewcomerTasks\TaskSuggester\LocalSearchTaskSuggesterFactory->create()
#2 /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/HomepageHooks.php(630): GrowthExperiments\NewcomerTasks\TaskSuggester\DecoratingTaskSuggesterFactory->create()
#3 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/MWCallableUpdate.php(38): GrowthExperiments\HomepageHooks->GrowthExperiments\{closure}()
#4 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdates.php(513): MWCallableUpdate->doUpdate()
#5 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdates.php(390): DeferredUpdates::attemptUpdate(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti)
#6 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdates.php(221): DeferredUpdates::run(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti, Monolog\Logger, BufferingStatsdDataFactory, string)
#7 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdatesScope.php(267): DeferredUpdates::{closure}(MWCallableUpdate, integer)
#8 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdatesScope.php(196): DeferredUpdatesScope->processStageQueue(integer, integer, Closure)
#9 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdates.php(242): DeferredUpdatesScope->processUpdates(integer, Closure)
#10 /srv/mediawiki/php-1.37.0-wmf.1/includes/MediaWiki.php(1132): DeferredUpdates::doUpdates(string)
#11 /srv/mediawiki/php-1.37.0-wmf.1/includes/MediaWiki.php(837): MediaWiki->restInPeace()
#12 /srv/mediawiki/php-1.37.0-wmf.1/includes/MediaWiki.php(575): MediaWiki->doPostOutputShutdown()
#13 /srv/mediawiki/php-1.37.0-wmf.1/index.php(53): MediaWiki->run()
#14 /srv/mediawiki/php-1.37.0-wmf.1/index.php(46): wfIndexMain()
#15 /srv/mediawiki/w/index.php(3): require(string)
#16 {main}
Impact

None other than logspam. Homepage works as expected.

Notes

In LocalUserCreated hook, we prepopulate the user's newcomer task cache. But on frwiktionary (T273243) suggested edits is not enabled, so this code triggers an error (in a deferred update) when we attempt to populate the cache.

Details

Request URL
https://fr.wiktionary.org/w/index.php?title=*&returnto=*

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
kostajh triaged this task as Low priority.
kostajh edited projects, added Growth-Team (Current Sprint); removed Growth-Team.

Change 681590 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] Check if suggested edits is enabled before populating task cache

https://gerrit.wikimedia.org/r/681590

Change 681590 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Check if suggested edits is enabled before populating task cache

https://gerrit.wikimedia.org/r/681590

Etonkovidova removed kostajh as the assignee of this task.

Checked in wmf.3 - the error is not present anymore.