r95269 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95268‎ | r95269 | r95270 >
Date:22:33, 22 August 2011
Author:preilly
Status:ok
Tags:
Comment:
mft r95268
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/MobileFrontend/views/information/disable.html.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/views/information/disable.html.php
@@ -1,4 +1,7 @@
22 <?php
 3+
 4+$lang = self::$code;
 5+
36 $disableHtml = <<<EOT
47 <h1>
58 {$areYouSure}
@@ -7,8 +10,8 @@
811 {$explainDisable}
912 </p>
1013 <div id='disableButtons'>
11 - <form action='http://en.wikipedia.org/w/mobileRedirect.php' method='get'>
12 - <input name='to' type='hidden' value='http://en.wikipedia.org/' />
 14+ <form action='http://{$lang}.wikipedia.org/w/mobileRedirect.php' method='get'>
 15+ <input name='to' type='hidden' value='http://{$lang}.wikipedia.org/' />
1316 <input name='expires_in_days' type='hidden' value='3650' />
1417 <button id='disableButton' type='submit'>{$disableButton}</button>
1518 </form>

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95268fix for bug 26797preilly22:32, 22 August 2011

Status & tagging log