Merge "Use default search placeholder"

isekai
jenkins-bot 6 years ago committed by Gerrit Code Review
commit 900dda5dc5

@ -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