wiki.techinc.nl/resources
Fomafix b4e9c1cdf9 mediawiki.action.edit.preview: Use same UX as in normal diff
This change fixes the following differences and bugs compared to the
normal diff:

* On an empty change the API response contains no `main` in
  `response[ 0 ].compare.bodies`. Remove the previous diff and show a
  'diff-empty' message in this case.
* The header with 'currentrev' and 'yourtext' is missing. Show this
  message similar to the normal diff.

The HTML in the diff of the live preview is not exactly the same as in
the normal diff:
* The live preview has now <thead> and <tbody> elements.
* The live preview has always 4 columns.

Bug: T293307
Bug: T293597
Change-Id: Ibb4fccb74634094ffeabf6fe201257d747bb8a01
2021-10-20 14:24:22 +00:00
..
assets Use the new mediawiki logos 2021-04-01 01:22:33 +02:00
lib Drop jQuery migrate 2021-09-30 18:29:05 +02:00
src mediawiki.action.edit.preview: Use same UX as in normal diff 2021-10-20 14:24:22 +00:00
Resources.php mediawiki.action.edit.preview: Use same UX as in normal diff 2021-10-20 14:24:22 +00:00