lib/includes/WikibaseContentLanguages.php
Method getDefaultTermsLanguages
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function getDefaultTermsLanguages( LanguageNameUtils $languageNameUtils = null ) {
// Note: this list is also the basis of getDefaultMonolingualTextLanguages(); custom
// (non-MediaWikiContentLanguages) terms languages also become monolingual text languages.
return new UnionContentLanguages(
new MediaWikiContentLanguages( $languageNameUtils ),