Mark mediawiki.page.watch.ajax as targetable to mobile
authorjdlrobson <jdlrobson@gmail.com>
Thu, 26 Sep 2019 15:56:58 +0000 (08:56 -0700)
committerKrinkle <krinklemail@gmail.com>
Fri, 27 Sep 2019 22:18:49 +0000 (22:18 +0000)
This is explicitly disabled by Minerva so this should have
no impact other than allow the loading of this module on
mobile.

Change-Id: Ib73fb995f5ccb16d99b505abad2466187c3dc5a5

resources/Resources.php

index 0b0e485..9354435 100644 (file)
@@ -1690,6 +1690,7 @@ return [
                ],
        ],
        'mediawiki.page.watch.ajax' => [
+               'targets' => [ 'desktop', 'mobile' ],
                'scripts' => 'resources/src/mediawiki.page.watch.ajax.js',
                'dependencies' => [
                        'mediawiki.api',