Index: trunk/phase3/resources/Resources.php |
— | — | @@ -628,7 +628,10 @@ |
629 | 629 | ), |
630 | 630 | 'mediawiki.action.watch.ajax' => array( |
631 | 631 | 'scripts' => 'resources/mediawiki.action/mediawiki.action.watch.ajax.js', |
632 | | - 'dependencies' => 'mediawiki.api.watch', |
| 632 | + 'dependencies' => array( |
| 633 | + 'mediawiki.api.watch', |
| 634 | + 'mediawiki.util', |
| 635 | + ), |
633 | 636 | 'messages' => array( |
634 | 637 | 'watch', |
635 | 638 | 'unwatch', |
— | — | @@ -735,11 +738,20 @@ |
736 | 739 | ), |
737 | 740 | 'mediawiki.special.block' => array( |
738 | 741 | 'scripts' => 'resources/mediawiki.special/mediawiki.special.block.js', |
| 742 | + 'dependencies' => array( |
| 743 | + 'mediawiki.util', |
| 744 | + ), |
739 | 745 | ), |
740 | 746 | 'mediawiki.special.changeemail' => array( |
741 | 747 | 'scripts' => 'resources/mediawiki.special/mediawiki.special.changeemail.js', |
742 | 748 | 'styles' => 'resources/mediawiki.special/mediawiki.special.changeemail.css', |
743 | | - 'messages' => array( 'email-address-validity-valid', 'email-address-validity-invalid' ), |
| 749 | + 'dependencies' => array( |
| 750 | + 'mediawiki.util', |
| 751 | + ), |
| 752 | + 'messages' => array( |
| 753 | + 'email-address-validity-valid', |
| 754 | + 'email-address-validity-invalid', |
| 755 | + ), |
744 | 756 | ), |
745 | 757 | 'mediawiki.special.changeslist' => array( |
746 | 758 | 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.css', |
— | — | @@ -806,7 +818,10 @@ |
807 | 819 | 'scripts' => 'common/ajax.js', |
808 | 820 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
809 | 821 | 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
810 | | - 'dependencies' => array( 'mediawiki.util', 'mediawiki.legacy.wikibits' ), |
| 822 | + 'dependencies' => array( |
| 823 | + 'mediawiki.util', |
| 824 | + 'mediawiki.legacy.wikibits', |
| 825 | + ), |
811 | 826 | ), |
812 | 827 | 'mediawiki.legacy.commonPrint' => array( |
813 | 828 | 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ), |
— | — | @@ -862,12 +877,18 @@ |
863 | 878 | 'scripts' => 'common/upload.js', |
864 | 879 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
865 | 880 | 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
866 | | - 'dependencies' => 'mediawiki.legacy.wikibits', |
| 881 | + 'dependencies' => array( |
| 882 | + 'mediawiki.legacy.wikibits', |
| 883 | + 'mediawiki.util', |
| 884 | + ), |
867 | 885 | ), |
868 | 886 | 'mediawiki.legacy.wikibits' => array( |
869 | 887 | 'scripts' => 'common/wikibits.js', |
870 | 888 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
871 | 889 | 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
| 890 | + 'dependencies' => array( |
| 891 | + 'mediawiki.util', |
| 892 | + ), |
872 | 893 | 'position' => 'top', |
873 | 894 | ), |
874 | 895 | 'mediawiki.legacy.wikiprintable' => array( |