http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97683
Revision: 97683
Author: preilly
Date: 2011-09-20 23:25:01 +0000 (Tue, 20 Sep 2011)
Log Message:
-----------
mft r97682
Modified Paths:
--------------
branches/wmf/1.17wmf1/extensions/MobileFrontend/views/information/disable.html.php
Modified:
branches/wmf/1.17wmf1/extensions/MobileFrontend/views/information/disable.html.php
===================================================================
---
branches/wmf/1.17wmf1/extensions/MobileFrontend/views/information/disable.html.php
2011-09-20 23:22:39 UTC (rev 97682)
+++
branches/wmf/1.17wmf1/extensions/MobileFrontend/views/information/disable.html.php
2011-09-20 23:25:01 UTC (rev 97683)
@@ -2,22 +2,23 @@
$lang = self::$code;
$currentURL = self::$currentURL;
+$currentURL = str_replace('&mobileaction=disable_mobile_site', '',
$currentURL);
$disableHtml = <<<EOT
- <h1>
- {$areYouSure}
- </h1>
- <p>
- {$explainDisable}
- </p>
- <div id='disableButtons'>
- <form action='http://{$lang}.wikipedia.org/w/mobileRedirect.php'
method='get'>
- <input name='to' type='hidden' value='{$currentURL}' />
- <input name='expires_in_days' type='hidden' value='3650' />
- <button id='disableButton' type='submit'>{$disableButton}</button>
- </form>
- <form action='/' method='get'>
- <button id='backButton' type='submit'>{$backButton}</button>
- </form>
- </div>
+ <h1>
+ {$areYouSure}
+ </h1>
+ <p>
+ {$explainDisable}
+ </p>
+ <div id='disableButtons'>
+ <form
action='http://{$lang}.wikipedia.org/w/mobileRedirect.php' method='get'>
+ <input name='to' type='hidden' value='{$currentURL}' />
+ <input name='expires_in_days' type='hidden'
value='3650' />
+ <button id='disableButton'
type='submit'>{$disableButton}</button>
+ </form>
+ <form action='/' method='get'>
+ <button id='backButton'
type='submit'>{$backButton}</button>
+ </form>
+ </div>
EOT;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs