stable
Clone or download
Read-only
story #8433: automatically set language for mediawiki if there is only one possibility
If your $sys_supported_languages only contains one language, the alternative welcome page should not appear. This language is set as your instance's language instead. Change-Id: I4140a15a547bca62ead49e10028b046007251c91
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/mediawiki/include/MediawikiWelcomePageManager.php | +18 | −1 | Go to diff View file |
M | plugins/mediawiki/tests/MediawikiWelcomePageManagerTest.php | +20 | −3 | Go to diff View file |