Use default search placeholder

The custom one as-is is never going to actually be accurate due to
caching, with an implementation that was basically just a bad joke.
A more thoughtful implementation with rounding and stuff per the
winter prototype is probably in order, but that will require a
different implementation anyway (T182345)...

bug: T160647
Change-Id: Id2776d69a7d42b9907b4363977134fea48dc2440
isekai
Isarra 7 years ago
parent fa38af9644
commit 03f01e242c

@ -4,7 +4,6 @@
},
"skinname-timeless": "Timeless",
"timeless-desc": "A timeless skin designed after the Winter prototype by Brandon Harris, and various styles by the Wikimedia Foundation",
"timeless-search-placeholder": "Search {{NUMBEROFARTICLES}} pages",
"timeless-loggedin": "Your account",
"timeless-anonymous": "Anonymous",
"timeless-loggedinas": "Logged in as '''$1'''",

@ -11,7 +11,6 @@
},
"skinname-timeless": "{{name}}",
"timeless-desc": "{{desc|what=skin|name=Timeless|url=https://www.mediawiki.org/wiki/Skin:Timeless}}",
"timeless-search-placeholder": "Main search input placeholder text. Feel free to use <code><nowiki>{{PLURAL:{{NUMBEROFARTICLES}}|page|pages}}</nowiki></code>.",
"timeless-loggedin": "Label for logged in users' user menu (if their username is too long to fit)",
"timeless-anonymous": "Label for anonymous (not logged in) user menu\n{{Identical|Anonymous}}",
"timeless-loggedinas": "Note for personal menu for logged in users noting their current username\n\nParameters:\n* $1 - username",

@ -322,8 +322,7 @@ class TimelessTemplate extends BaseTemplate {
Html::rawElement( 'div', [ 'id' => 'simpleSearch' ],
Html::rawElement( 'div', [ 'id' => 'searchInput-container' ],
$this->makeSearchInput( [
'id' => 'searchInput',
'placeholder' => $this->getMsg( 'timeless-search-placeholder' )->text(),
'id' => 'searchInput'
] )
) .
Html::hidden( 'title', $this->get( 'searchtitle' ) ) .

Loading…
Cancel
Save