Refactoring mw.Feedback to work with OOUI elements
authorMoriel Schottlender <moriel@gmail.com>
Tue, 24 Feb 2015 22:59:33 +0000 (14:59 -0800)
committerMoriel Schottlender <moriel@gmail.com>
Fri, 27 Feb 2015 00:54:52 +0000 (16:54 -0800)
commite75605bc0e0c14592a919e9193c93f9465d14317
treecd850b4dea143831eab876dbc41b71fd089d0090
parent9e7e9b76bdf504f0867e2239ff84efc322eb1298
Refactoring mw.Feedback to work with OOUI elements

Transform mw.Feedback into an ooui dialog.
* Added a configurable checkbox for useragent and terms
  of servvice options. The checkbox can be configured
  to be visible or not, and to be mandatory or optional.
  (useragent addition based largely on the unmerged
  fix I37b1a271af115)
* Transformed the 'feedback-bugornote' message to a
  configurable intro message with a link to the feedback
  page.
* Added a 'thank you' or 'error' dialog at the end of the
  operation indicating whether the feedback was sent or
  if there was some error.

Bug: T89878
Bug: T43291
Bug: T35365
Bug: T54588
Bug: T65290
Change-Id: Id1967a83a502f689c40f1af71398c3be99e30640
languages/i18n/en.json
languages/i18n/qqq.json
maintenance/jsduck/categories.json
resources/Resources.php
resources/src/mediawiki/mediawiki.feedback.css
resources/src/mediawiki/mediawiki.feedback.js
resources/src/mediawiki/templates/dialog.html [deleted file]