mediawiki.action.edit.preview: Disable if there is no #wpTextbox1
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Thu, 19 Mar 2015 21:45:53 +0000 (22:45 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sun, 22 Mar 2015 11:57:54 +0000 (11:57 +0000)
commitc890a2fdefaae2551897ce2f1b9f39d82b435dc2
treee4ecba45ec2f453170b9740365f8fc5eb923ad28
parentf2993fb8ec0bf8f410bec89d46c1d4c15421f862
mediawiki.action.edit.preview: Disable if there is no #wpTextbox1

ProofreadPage has custom editforms for Index pages, which are not
supported by the API. These editforms have no #wpTextbox1, so disable
live preview in that case.

Bug: T78709
Change-Id: I90cba79e5a4a756454741c4070ebdf620520ab55
resources/src/mediawiki.action/mediawiki.action.edit.preview.js