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

       Web browser: ---
             Bug #: 34144
           Summary: MobileFrontend extension should have configurable
                    mobile URL
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MobileFrontend
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: aricha...@wikimedia.org
                CC: prei...@wikimedia.org, tf...@wikimedia.org
    Classification: Unclassified


Right now, MobileFrontend expects the mobile-version URL of a Mediawiki install
to follow this convention:

$hostParts = explode( '.', $parsedUrl['host'] );
$parsedUrl['host'] = $hostParts[0] . $wgMobileDomain . $hostParts[1] . '.' .
$hostParts[2];

eg, en.m.wikipedia.org. This should not be a requirement, but rather should be
user definable for greater flexibility - either as a standalone subdomain,
completely different domain, different path with the same domain as the
non-mobile version, or even potentially as a query string.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to