Use $lang->hasVariants() instead of count( $lang->getVariants() ) > 1
authorFomafix <fomafix@googlemail.com>
Tue, 3 Jul 2018 20:14:06 +0000 (22:14 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Wed, 11 Jul 2018 16:13:17 +0000 (16:13 +0000)
commit88f469624df1c65546d923e62b4550415826c458
tree2f2a3646c6503d5af8e32cb3341b4b9ca27d6808
parent6cce704da1335078aa98838e7a7da9eeb4e46b67
Use $lang->hasVariants() instead of count( $lang->getVariants() ) > 1

Change-Id: I23668c69a8d8cc886168cbbd4f94cf13b597b5a6
includes/MediaWiki.php
includes/api/ApiPageSet.php
includes/preferences/DefaultPreferencesFactory.php
includes/skins/SkinTemplate.php
maintenance/language/listVariants.php