Preferences: Fix issues from 6d3c65b5b0
authorGeoffrey Mon <geofbot@gmail.com>
Sun, 2 Aug 2015 00:03:57 +0000 (00:03 +0000)
committerSn1per <geofbot@gmail.com>
Thu, 3 Sep 2015 21:45:21 +0000 (21:45 +0000)
commitdabc661f41ffd271815c3868cbb125c83a9e91f3
treeb725d40da7c9fe6452bcb9f829aac3ec83b3666d
parentff0816cdbb3084da509fa8978debaf1132187d61
Preferences: Fix issues from 6d3c65b5b0

* Use .mw-preferences-messagebox instead of .successbox to
  avoid conflicts with other Special pages using '.successbox'
  as a class and so that the new class can be used to check
  for messages to replace with notifications
* Add logic to check for messages to replace using the new
  aforementioned class
* Use Html::rawElement and Html::element instead of Xml::tags
  to add the non-JS successbox
* Re-added <p> tags around non-JS successbox message that were
  accidentally ommitted in the original patch

Bug: T19496
Change-Id: I990667aa114d8201516bee6cb2ad22994de53c6c
includes/specials/SpecialPreferences.php
resources/src/mediawiki.special/mediawiki.special.preferences.css
resources/src/mediawiki.special/mediawiki.special.preferences.js