Make mediawiki.action.view.dblClickEdit recheck preference
authorAlex Monk <krenair@wikimedia.org>
Tue, 29 Jul 2014 18:51:09 +0000 (19:51 +0100)
committerAlex Monk <krenair@wikimedia.org>
Thu, 25 Sep 2014 16:37:02 +0000 (17:37 +0100)
commitd31afa8147b7662bfcd09031312b8c41442732a5
treea0f8d69e2bd37de5a0798b7cbb6dbf9ef296f249
parent6ff599b6b86542039c3441ca8921779b73614120
Make mediawiki.action.view.dblClickEdit recheck preference

There's a preference which makes the browser go to action=edit when double
clicking on the content. In VE we want to disable this while the editor is
open. With this check in place, we can turn it off by falsifying the value
of the preference (and then restoring the original value when VE closes).

Bug: 53058
Change-Id: I0f6225b25ad279755548361f82b855727758da2b
resources/Resources.php
resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js