Index: trunk/extensions/MobileFrontend/views/layout/_search_webkit.html.php |
— | — | @@ -6,11 +6,13 @@ |
7 | 7 | $mainPageUrl = self::$mainPageUrl; |
8 | 8 | $randomPageUrl = self::$randomPageUrl; |
9 | 9 | |
| 10 | +$scriptUrl = wfScript(); |
| 11 | + |
10 | 12 | $searchWebkitHtml = <<<EOD |
11 | 13 | <div id='header'> |
12 | 14 | <div id='searchbox'> |
13 | 15 | <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'> |
15 | 17 | <input type="hidden" value="Special:Search" name="title" /> |
16 | 18 | <input type="hidden" value="Search" name="fulltext" /> |
17 | 19 | <input type="hidden" value="0" name="redirs" /> |