* (bug 24244) Updated comments in DefaultSettings.php to reflect Image: --> File:
namespace rename.
* Make wfTimestamp recognize negative unix timestamp values.
+* (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is disabled
=== API changes in 1.17 ===
* (bug 22738) Allow filtering by action type on query=logevent.
<?php if ( $wgVectorUseSimpleSearch && $wgUser->getOption( 'vector-simplesearch' ) ): ?>
<div id="simpleSearch">
<input id="searchInput" name="search" type="text" <?php echo $this->skin->tooltipAndAccesskey( 'search' ); ?> <?php if( isset( $this->data['search'] ) ): ?> value="<?php $this->text( 'search' ) ?>"<?php endif; ?> />
- <button id="searchButton" type='submit' name='button' <?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?>> </button>
+ <button id="searchButton" type='submit' name='button' <?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?>><img src="<?php echo $wgStylePath . '/vector/search-' . ( $wgContLang->isRTL() ? 'rtl' : 'ltr' ) . '.png?' . $wgStyleVersion ?>" alt="<?php $this->msg( 'searchbutton' ) ?>" /></button>
</div>
<?php else: ?>
<input id="searchInput" name="search" type="text" <?php echo $this->skin->tooltipAndAccesskey( 'search' ); ?> <?php if( isset( $this->data['search'] ) ): ?> value="<?php $this->text( 'search' ) ?>"<?php endif; ?> />
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div#simpleSearch button#searchButton {
padding: 0;
- margin: 5px 5px 0 5px;
- height: 13px;
- width: 12px;
+ margin: 0 5px;
border: none;
cursor: pointer;
background-color: transparent;
- background-image: url(images/search-ltr.png?1);
- background-position: center center;
- background-repeat: no-repeat;
+ font-size: x-small;
+ }
+ div#simpleSearch button#searchButton img {
+ border: none;
+ margin: 0;
+ padding: 0;
+ vertical-align: middle;
}
/* Panel */
div#mw-panel {
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div#simpleSearch button#searchButton {
padding: 0;
- margin: 5px 5px 0 5px;
- height: 13px;
- width: 12px;
+ margin: 0 5px;
border: none;
cursor: pointer;
background-color: transparent;
- background-image: url(images/search-rtl.png?1);
- background-position: center center;
- background-repeat: no-repeat;
+ font-size: x-small;
+ }
+ div#simpleSearch button#searchButton img {
+ border: none;
+ margin: 0;
+ padding: 0;
+ vertical-align: middle;
}
/* Panel */
div#mw-panel {