Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
Search patch (#38)
Browse files Browse the repository at this point in the history
* Bug fixes for search see #39 

* Bug fixes for search
  • Loading branch information
Hutchy68 committed May 4, 2017
1 parent 755d190 commit 3038a4c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## Version 1.0.5

* [bug fix] Search link was not follow $wgScript path
* [language] Search input box localisation

## Version 1.0.4

* [bug fix] Don't style sitenotice and user message
Expand Down
8 changes: 4 additions & 4 deletions Pivot.skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ public function execute() {
<ul class="off-canvas-list">

<li class="has-form">
<form action="/w/index.php" id="searchform-offcanvas" class="mw-search">
<form action="<?php $this->text( 'wgScript' ); ?>" id="searchform" class="mw-search">
<div class="row collapse">
<div class="small-12 columns">
<input type="search" name="search" placeholder="Search" title="Search [alt-shift-f]" accesskey="f" id="searchInput-offcanvas" autocomplete="off">
<input type="search" name="search" placeholder="<?php echo wfMessage( 'search' )->text() ?>" title="Search [alt-shift-f]" accesskey="f" id="searchInput-offcanvas" autocomplete="off">
</div>
</div>
</form>
Expand Down Expand Up @@ -163,10 +163,10 @@ public function execute() {
<img alt="<?php echo $this->text('sitename'); ?>" src="<?php echo $this->text('logopath') ?>" style="max-width: 100%;height: auto;display: inline-block; vertical-align: middle;"></a>
</li>
<li class="has-form">
<form action="/w/index.php" id="searchform" class="mw-search">
<form action="<?php $this->text( 'wgScript' ); ?>" id="searchform" class="mw-search">
<div class="row collapse">
<div class="small-12 columns">
<input type="search" name="search" placeholder="Search" title="Search [alt-shift-f]" accesskey="f" id="searchInput" autocomplete="off">
<input type="search" name="search" placeholder="<?php echo wfMessage( 'search' )->text() ?>" title="Search [alt-shift-f]" accesskey="f" id="searchInput" autocomplete="off">
</div>
</div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion skin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Pivot",
"version": "1.0.4",
"version": "1.0.5",
"author": [
"Tom Hutchison",
"..."
Expand Down

0 comments on commit 3038a4c

Please sign in to comment.