r112656 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112655‎ | r112656 | r112657 >
Date:23:40, 28 February 2012
Author:awjrichards
Status:ok
Tags:
Comment:
Removing unused global var $wgMobileDomain; turning default $wgMobileUrlTemplate into an empty string as it should not be used out-of-the-box without proper server configuration
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -75,8 +75,6 @@
7676 */
7777 $wgMobileFrontendLogo = false;
7878
79 -$wgMobileDomain = '.m.';
80 -
8179 /**
8280 * Template for mobile URLs.
8381 *
@@ -100,7 +98,7 @@
10199 * "en.m.wikipedia.org", your URL template would look like:
102100 * %h0.m.%h1.%h2
103101 */
104 -$wgMobileUrlTemplate = '%h0.m.%h1.%h2';
 102+$wgMobileUrlTemplate = '';
105103
106104 /**
107105 * URL for script used to disable mobile site

Status & tagging log