Make WikiMap fall back to sites if a site couldn't be found using $wgConf
authorMarius Hoch <hoo@online.de>
Thu, 1 Oct 2015 10:57:25 +0000 (12:57 +0200)
committerMarius Hoch <hoo@online.de>
Wed, 7 Oct 2015 12:59:31 +0000 (14:59 +0200)
commit3d85fde609727bea68fce619a1bc2050c66895eb
treea00ff951bbd9a122e322b6e863c9bcc14f3158b9
parent75258827b7b90b79aabc6001e9f5724d1988c220
Make WikiMap fall back to sites if a site couldn't be found using $wgConf

The mapping is not very good, but should be good enough, given
that only the URL parts are really being used.

Bug: T114107
Change-Id: I8186140aed5620cf7b4ba84aa4c9492c61f406d0
includes/WikiMap.php
tests/phpunit/includes/WikiMapTest.php