Error
Request ID: XV6kbApAADgAACft8eEAAACN
Request URL: en.wikipedia.org/wiki/Special:History/Grampian,_Highland_and_Islands%3Faction%3Dhistory
[XV6kbApAADgAACft8eEAAACN] /wiki/Special:History/Grampian,_Highland_and_Islands%3Faction%3Dhistory RuntimeException from line 449 of /srv/mediawiki/php-1.34.0-wmf.19/includes/libs/services/ServiceContainer.php: Circular dependency when creating service! MobileFrontend.AMC.UserMode -> MobileFrontend.AMC.Manager -> MobileFrontend.FeaturesManager -> MobileFrontend.UserModes -> MobileFrontend.AMC.UserMode
#0 /srv/mediawiki/php-1.34.0-wmf.19/includes/libs/services/ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createService(string) #1 /srv/mediawiki/php-1.34.0-wmf.19/extensions/MobileFrontend/includes/ServiceWiring.php(20): Wikimedia\Services\ServiceContainer->getService(string) #2 /srv/mediawiki/php-1.34.0-wmf.19/includes/libs/services/ServiceContainer.php(459): Closure$#2(MediaWiki\MediaWikiServices) #3 /srv/mediawiki/php-1.34.0-wmf.19/includes/libs/services/ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createService(string) #4 /srv/mediawiki/php-1.34.0-wmf.19/extensions/MobileFrontend/includes/ServiceWiring.php(25): Wikimedia\Services\ServiceContainer->getService(string) #5 /srv/mediawiki/php-1.34.0-wmf.19/includes/libs/services/ServiceContainer.php(459): Closure$#3(MediaWiki\MediaWikiServices) #6 /srv/mediawiki/php-1.34.0-wmf.19/includes/libs/services/ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createService(string) #7 /srv/mediawiki/php-1.34.0-wmf.19/extensions/MobileFrontend/includes/specials/SpecialMobileHistory.php(94): Wikimedia\Services\ServiceContainer->getService(string) #8 /srv/mediawiki/php-1.34.0-wmf.19/extensions/MobileFrontend/includes/MobileContext.php(364): SpecialMobileHistory::shouldUseSpecialHistory(Title, User) #9 /srv/mediawiki/php-1.34.0-wmf.19/extensions/MobileFrontend/includes/MobileContext.php(339): MobileContext->redirectMobileEnabledPages() #10 /srv/mediawiki/php-1.34.0-wmf.19/extensions/MobileFrontend/includes/ServiceWiring.php(48): MobileContext->shouldDisplayMobileView() #11 /srv/mediawiki/php-1.34.0-wmf.19/includes/libs/services/ServiceContainer.php(459): Closure$#4(MediaWiki\MediaWikiServices) #12 /srv/mediawiki/php-1.34.0-wmf.19/includes/libs/services/ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createService(string) #13 /srv/mediawiki/php-1.34.0-wmf.19/extensions/MobileFrontend/includes/ServiceWiring.php(54): Wikimedia\Services\ServiceContainer->getService(string) #14 /srv/mediawiki/php-1.34.0-wmf.19/includes/libs/services/ServiceContainer.php(459): Closure$#5(MediaWiki\MediaWikiServices) #15 /srv/mediawiki/php-1.34.0-wmf.19/includes/libs/services/ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createService(string) #16 /srv/mediawiki/php-1.34.0-wmf.19/extensions/MobileFrontend/includes/MobileFrontendHooks.php(476): Wikimedia\Services\ServiceContainer->getService(string) #17 /srv/mediawiki/php-1.34.0-wmf.19/includes/Hooks.php(174): MobileFrontendHooks::onSpecialPageInitList(array) #18 /srv/mediawiki/php-1.34.0-wmf.19/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL) #19 /srv/mediawiki/php-1.34.0-wmf.19/includes/specialpage/SpecialPageFactory.php(304): Hooks::run(string, array) #20 /srv/mediawiki/php-1.34.0-wmf.19/includes/specialpage/SpecialPageFactory.php(320): MediaWiki\Special\SpecialPageFactory->getPageList() #21 /srv/mediawiki/php-1.34.0-wmf.19/includes/specialpage/SpecialPageFactory.php(378): MediaWiki\Special\SpecialPageFactory->getAliasList() #22 /srv/mediawiki/php-1.34.0-wmf.19/includes/Title.php(1204): MediaWiki\Special\SpecialPageFactory->resolveAlias(string) #23 /srv/mediawiki/php-1.34.0-wmf.19/includes/MediaWiki.php(190): Title->isSpecial(string) #24 /srv/mediawiki/php-1.34.0-wmf.19/includes/MediaWiki.php(892): MediaWiki->performRequest() #25 /srv/mediawiki/php-1.34.0-wmf.19/includes/MediaWiki.php(523): MediaWiki->main() #26 /srv/mediawiki/php-1.34.0-wmf.19/index.php(42): MediaWiki->run() #27 /srv/mediawiki/w/index.php(3): include(string) #28 {main}
Impact
13 hits in the last hour, 19 in the last 24 hours. First seen on 2019-08-20T21:51:12.
445 hits / hour as of 2019-08-26T18:42:41.
Notes
Since it doesn't happen a lot, I'm not reverting this week's train, but making this a blocker for next week.
https://logstash.wikimedia.org/goto/ead42b1837ac196767f0bf50498990fb
QA Steps
Things to test:
a) go to /wiki/Special:History/{test_article}?action=history (where {test_article} is the article of your choosing. The page should render correctly.
b) opt in/opt out into AMC mode
c) disable/enable AMC mode via config,