EditPage: Remove legacy non-OOUI render mode
authorKunal Mehta <legoktm@member.fsf.org>
Mon, 21 Aug 2017 23:56:33 +0000 (16:56 -0700)
committerJames D. Forrester <jforrester@wikimedia.org>
Tue, 22 Aug 2017 19:47:16 +0000 (12:47 -0700)
commit478caa076f75fde935c66eb9334410d868c30818
tree5362a76ff3be8f4d6df462c42ee94c3618f5a1d6
parentd5618d1e0ff4142ecfc3e953a5ae10189ca2a0e8
EditPage: Remove legacy non-OOUI render mode

Mostly remove it at least. Some things from the transition are still
left around:

* EditPage::isOouiEnabled() will now always return true and is soft
  deprecated as some extensions are using it to detect whether in OOUI
  mode.
* EditPage::getCheckboxes() is left around since getCheckboxesOOUI()
  calls it. Someone else will need to disentangle that.
* The "mw-editform-ooui" class is kept as some on-wiki JavaScript uses
  it to detect whether running in the OOUI mode.
* CSS is still using the .mw-editform-ooui class. It should be
  transitioned to use .mw-editform in a follow-up.

Other cleanup:
* mediawiki.action.edit now directly depends upon oojs-ui-core instead
  of transitively via mediawiki.widgets.visibleByteLimit. As a result, the
  mw.loader.using call was removed from the JavaScript file.

Bug: T172315
Change-Id: I2b468c8b846db015b5a1e3d2500abb8ea252c442
RELEASE-NOTES-1.30
includes/DefaultSettings.php
includes/EditPage.php
resources/Resources.php
resources/src/mediawiki.action/mediawiki.action.edit.js
resources/src/mediawiki.action/mediawiki.action.edit.preview.js
resources/src/mediawiki.action/mediawiki.action.edit.styles.css