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

       Web browser: ---
            Bug ID: 58321
           Summary: $wgMobileUrlTemplate ignored if does not start with a
                    placeholder
           Product: MediaWiki extensions
           Version: REL1_21 branch
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MobileFrontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

I installed MediaWiki 1.21.3 with MobileFrontend 30dad7e on a Debian Wheezy.

If I set the $wgMobileUrlTemplate variable to a fixed constant, like this:

$wgMobileUrlTemplate = 'www.m.mydomain.org';

it is not used at all to compose the "Mobile view" link at the bottom of the
page. The standard domain 'www.mydomain.org' is used instead.

If the variable contains a placeholder at the begin, the "Mobile view" link is
correct:

$wgMobileUrlTemplate = '%h0.m.%h1.%h2';

-- 
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