isLoaded( 'Thanks' ) ) { $moduleManager->addModule( 'discussiontoolsthank', 'action', [ 'class' => ApiDiscussionToolsThank::class, 'services' => [ 'PermissionManager', 'ThanksLogStore', 'RevisionLookup', 'UserFactory', ] ] ); } } }