Standardise preview warning box when using ?action=edit
authorjdlrobson <jdlrobson@gmail.com>
Mon, 9 Sep 2019 22:00:01 +0000 (15:00 -0700)
committerVolker E <volker.e@wikimedia.org>
Wed, 11 Sep 2019 00:01:04 +0000 (17:01 -0700)
commitc2b9f7d074bbedf8b90d42a51c5566e2e1dd42df
tree48bb2f770d5f1da60125776b1ba56db6e9c4bd2d
parente15e45b38670952f63c309eccd89703e917e9761
Standardise preview warning box when using ?action=edit

If editing without JS, and clicking preview on action=edit
you will see a preview with a note at the top of the page.
McrUndoAction.php uses a close copy of the same code and will
be amended accordingly.

Currently this is using a class `.previewnote` and not the
standardised and semantic "warningbox".

The messages of the preview will now be warningbox's
- see screenshots for end result:

* https://phabricator.wikimedia.org/F30284946
* https://phabricator.wikimedia.org/F30284947

Bug: T232414
Change-Id: Ib678f03e908fa9dcd5af7632941475203478abf7
includes/EditPage.php
includes/actions/McrUndoAction.php
resources/src/mediawiki.legacy/shared.css