Title.php: Support DB language in getPageViewLanguage()
authorFomafix <fomafix@googlemail.com>
Wed, 17 Feb 2016 05:27:49 +0000 (05:27 +0000)
committerFlorianschmidtwelzow <florian.schmidt.stargatewissen@gmail.com>
Thu, 18 Feb 2016 17:48:54 +0000 (17:48 +0000)
commit757714bf95c15342be0447e9b7d0b5c778a1f0f1
tree677d417007a7f0af6a2ad2ffb11d6c30b2b46982
parent7eefcbd643d2073aa2a003f8841336e42506b7d6
Title.php: Support DB language in getPageViewLanguage()

If a page language in database is set then use the current preferred variant
of this language.

Bug: T117667
Change-Id: Idfe1165346ae0068a4b73de441dc9dfa107b8e8b
includes/Title.php