aude added a comment. Here is a stacktrace of how we ended up with a StubUserLang in the AutoCommentFormatter:
#0 /srv/mediawiki/php-1.26wmf23/includes/Hooks.php(204): Wikibase\RepoHooks::onFormat(array, NULL, boolean, string, boolean, Title, boolean) #1 /srv/mediawiki/php-1.26wmf23/includes/Linker.php(1333): Hooks::run(string, array) #2 /srv/mediawiki/php-1.26wmf23/includes/Linker.php(1375): Closure$Linker::formatAutocomments(array) #3 /srv/mediawiki/php-1.26wmf23/includes/Linker.php(1289): Linker::formatAutocomments(string, Title, boolean) #4 /srv/mediawiki/php-1.26wmf23/includes/api/ApiQueryWatchlist.php(386): Linker::formatComment(string, Title) #5 /srv/mediawiki/php-1.26wmf23/includes/api/ApiQueryWatchlist.php(268): ApiQueryWatchlist->extractRowInfo(stdClass) #6 /srv/mediawiki/php-1.26wmf23/includes/api/ApiQueryWatchlist.php(40): ApiQueryWatchlist->run() #7 /srv/mediawiki/php-1.26wmf23/includes/api/ApiQuery.php(286): ApiQueryWatchlist->execute() #8 /srv/mediawiki/php-1.26wmf23/includes/api/ApiMain.php(1270): ApiQuery->execute() #9 /srv/mediawiki/php-1.26wmf23/includes/api/ApiMain.php(466): ApiMain->executeAction() #10 /srv/mediawiki/php-1.26wmf23/includes/api/ApiMain.php(438): ApiMain->executeActionWithErrorHandling() #11 /srv/mediawiki/php-1.26wmf23/api.php(88): ApiMain->execute() #12 /srv/mediawiki/w/api.php(3): include(string) TASK DETAIL https://phabricator.wikimedia.org/T112070 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: aude Cc: gerritbot, aude, Aklapper, Luke081515, Wikidata-bugs, Jay8g, Krenair, greg _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs