https://bugzilla.wikimedia.org/show_bug.cgi?id=34144

Daniel Friesen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mediawiki-bugs@nadir-seen-f
                   |                            |ire.com

--- Comment #1 from Daniel Friesen <[email protected]> 
2012-02-02 02:29:43 UTC ---
((Not only dependent on the .m., it also breaks on domains like
en.m.wiki.example.com or en.m.example.co.uk))

I think the best option would be a $wgMobileServer.
$wgServer = "//en.wikipedia.org";
$wgMobileServer = "//en.m.wikipedia.org";

Do domain detection for the mobile site by extracting the host portion of
$wgMobileServer, and use it instead of $wgServer as the server starting.

Also include a hook into the mobile url detection code. Let the hook
potentially force a true. For example WikiMedia could use the hook to say that
if someone accidentally ends up at m.en.wikipedia.org it IS a mobile domain.
Also consider the possibility of /m/ paths. Like http://wiki.example.com/m/Foo
http://wiki.example.com/mobile/index.php for mobile site. eg: For those on
hosts who can't alias a subdomain.

Actually given that fact, we may want to setup MobileFront end so that by
default every url ends up as a ?useformat=mobile url as the default. And switch
to path or subdomain style setups when configured to. That way it'll work out
of the box without any path or domain aliasing. Just like MediaWiki works out
of the box with /index.php?title=Foo urls.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to