Error
- mwversion: 1.41.0-wmf.23
- reqId: d21f2e3d-ab2c-457b-bfa3-f05d5a1bcc3d
- Find reqId in Logstash
[{reqId}] {exception_url} MWException: Default '"soft"' is invalid for preference oresDamagingPref of user ***
from /srv/mediawiki/php-1.41.0-wmf.23/includes/preferences/DefaultPreferencesFactory.php(355) #0 /srv/mediawiki/php-1.41.0-wmf.23/includes/preferences/DefaultPreferencesFactory.php(264): MediaWiki\Preferences\DefaultPreferencesFactory->loadPreferenceValues(User, DerivativeContext, array) #1 /srv/mediawiki/php-1.41.0-wmf.23/extensions/GlobalPreferences/includes/GlobalPreferencesFactory.php(117): MediaWiki\Preferences\DefaultPreferencesFactory->getFormDescriptor(User, DerivativeContext) #2 /srv/mediawiki/php-1.41.0-wmf.23/includes/api/ApiOptions.php(214): GlobalPreferences\GlobalPreferencesFactory->getFormDescriptor(User, DerivativeContext) #3 /srv/mediawiki/php-1.41.0-wmf.23/includes/api/ApiOptions.php(116): ApiOptions->getPreferences() #4 /srv/mediawiki/php-1.41.0-wmf.23/includes/api/ApiMain.php(1924): ApiOptions->execute() #5 /srv/mediawiki/php-1.41.0-wmf.23/includes/api/ApiMain.php(901): ApiMain->executeAction() #6 /srv/mediawiki/php-1.41.0-wmf.23/includes/api/ApiMain.php(872): ApiMain->executeActionWithErrorHandling() #7 /srv/mediawiki/php-1.41.0-wmf.23/api.php(95): ApiMain->execute() #8 /srv/mediawiki/php-1.41.0-wmf.23/api.php(48): wfApiMain() #9 /srv/mediawiki/w/api.php(3): require(string) #10 {main}
Impact
This is fatally breaking a range of user actions and API entrypoints, resulting in HTTP 500 Internal Server Error, including:
- opening Special:Preferences.
- interactions with Special:ContentTranslation.
- making Action API requests.
Notes
Search "oresDamagingPref" on https://logstash.wikimedia.org/app/dashboards#/view/mediawiki-errors for an overview.
Seems to have started yesterday.