r91090 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91089‎ | r91090 | r91091 >
Date:18:07, 29 June 2011
Author:brion
Status:deferred
Tags:
Comment:
Tweak search form path for MobileFrontend
Modified paths:
  • /trunk/extensions/MobileFrontend/views/layout/_search_webkit.html.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/views/layout/_search_webkit.html.php
@@ -6,11 +6,13 @@
77 $mainPageUrl = self::$mainPageUrl;
88 $randomPageUrl = self::$randomPageUrl;
99
 10+$scriptUrl = wfScript();
 11+
1012 $searchWebkitHtml = <<<EOD
1113 <div id='header'>
1214 <div id='searchbox'>
1315 <img alt='W logo' id='logo' src='{$wgExtensionAssetsPath}/MobileFrontend/stylesheets/images/w.gif' />
14 - <form action='/index.php' class='search_bar' method='get'>
 16+ <form action='{$scriptUrl}' class='search_bar' method='get'>
1517 <input type="hidden" value="Special:Search" name="title" />
1618 <input type="hidden" value="Search" name="fulltext" />
1719 <input type="hidden" value="0" name="redirs" />

Status & tagging log