mediawiki.page.watch.ajax: Add dependency on mediawiki.page.startup
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 30 Sep 2015 19:10:18 +0000 (12:10 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 30 Sep 2015 19:11:03 +0000 (12:11 -0700)
Follows-up 77cdf19 which accidentally removed it.
It is used to host the mw.page.watch method.

Bug: T114288
Change-Id: I1aad9c3c46c3765b6b241cf3fd7b2f1956b8cfa0

resources/Resources.php

index b446ec8..0751a44 100644 (file)
@@ -1550,6 +1550,7 @@ return array(
        'mediawiki.page.watch.ajax' => array(
                'scripts' => 'resources/src/mediawiki/page/watch.js',
                'dependencies' => array(
+                       'mediawiki.page.startup',
                        'mediawiki.api.watch',
                        'mediawiki.notify',
                        'mediawiki.util',