Load mediawiki.action.edit.styles on mobile
authorjdlrobson <jdlrobson@gmail.com>
Tue, 20 Jun 2017 21:28:35 +0000 (14:28 -0700)
committerjdlrobson <jdlrobson@gmail.com>
Tue, 20 Jun 2017 21:29:31 +0000 (14:29 -0700)
Hopefully uncontroversial.
Mobile non-js editing is currently feature flagged
by $wgMFAllowNonJavaScriptEditing so this shouldn't have
any impact on production but will ensure the editor gets
styled consistently with future changes here.

Change-Id: If8994370e9ec7fc424ce7cb22df922d029cfc035

resources/Resources.php

index cc52438..91d469b 100644 (file)
@@ -1421,6 +1421,7 @@ return [
                ],
        ],
        'mediawiki.action.edit.styles' => [
+               'targets' => [ 'desktop', 'mobile' ],
                'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
        ],
        'mediawiki.action.edit.collapsibleFooter' => [