r38750 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38749‎ | r38750 | r38751 >
Date:04:25, 7 August 2008
Author:demon
Status:old
Tags:
Comment:
Put the search value in the input field :-)
Modified paths:
  • /trunk/extensions/InterwikiList/InterwikiList_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/InterwikiList/InterwikiList_body.php
@@ -51,7 +51,8 @@
5252 "<legend>" . wfMsg('interwikilist-filter') . "</legend>\n" .
5353 "<form action=\"". $wgScript . "\" method=\"get\" id=\"interwikilist-search\">\n" .
5454 "<input type=\"hidden\" name=\"title\" value=\"" . $this->mTitle->getPrefixedText() . "\">\n" .
55 - wfMsg('interwikilist-prefix') . " <input type=\"text\" name=\"iwsearch\" id=\"interwikilist-prefix\"><br />\n" .
 55+ wfMsg('interwikilist-prefix') . " <input type=\"text\" name=\"iwsearch\" id=\"interwikilist-prefix\" value=\"" .
 56+ htmlspecialchars( $prefix ) . "\"><br />\n" .
5657 "<input type=\"submit\" value=\"" . wfMsg('search') . "\">\n" .
5758 "</form>\n</fieldset>";
5859

Status & tagging log