Thread:Project:Support desk/Two domain for one installation/reply (3)

UPD: Thx! It's worked: if (preg_match("/(pda|mobile)/i", $_SERVER['SERVER_NAME'])) { $wgDefaultSkin = 'wptouch'; } else { $wgDefaultSkin = 'vector'; } https://www.mediawiki.org/wiki/Simple_mobile_skin_auto_change