src/TranslatorInterface/Aid/TranslationAidDataProvider.php
Method loadTranslationData
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function loadTranslationData( IDatabase $db, MessageHandle $handle ): array {
$revisionStore = MediaWikiServices::getInstance()->getRevisionStore();
$conditions = [];
// The list of pages we want to select, and their latest versions