RCFilters: Correct display of save filter popup
authorMoriel Schottlender <moriel@gmail.com>
Wed, 28 Jun 2017 17:35:53 +0000 (10:35 -0700)
committerMoriel Schottlender <moriel@gmail.com>
Wed, 28 Jun 2017 17:35:53 +0000 (10:35 -0700)
commitd8ee0c30ce6b74f8aeb75d296a988bd254e7a690
treee387076b777697f58c798e1c5c914c5c5726da0b
parent1d34eb9e0ff20f73a4ceb8b966928642eeab152a
RCFilters: Correct display of save filter popup

- Correct language in the 'apply' button
- Add a placeholder to the input
- Make the 'apply' button disabled if the input is empty
- Remove the use of the OOUI-built-in validation, since all
  we do is "validate" that the input isn't empty, and there's
  no need to show error mode (red border) for that, especially
  since the 'apply' button is disabled in that case.

Bug: T169042
Change-Id: I5e3600b1ac8e63d8a25c0540468fe42febfc3a70
languages/i18n/en.json
languages/i18n/qqq.json
resources/Resources.php
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.SaveFiltersPopupButtonWidget.js