Index: trunk/phase3/includes/resourceloader/ResourceLoaderSiteModule.php |
— | — | @@ -29,9 +29,14 @@ |
30 | 30 | |
31 | 31 | /* Protected Methods */ |
32 | 32 | |
| 33 | + /** |
| 34 | + * Gets list of pages used by this module |
| 35 | + * |
| 36 | + * @return {array} List of pages |
| 37 | + */ |
33 | 38 | protected function getPages( ResourceLoaderContext $context ) { |
34 | 39 | global $wgHandheldStyle; |
35 | | - |
| 40 | + |
36 | 41 | $pages = array( |
37 | 42 | 'Common.js' => array( 'ns' => NS_MEDIAWIKI, 'type' => 'script' ), |
38 | 43 | 'Common.css' => array( 'ns' => NS_MEDIAWIKI, 'type' => 'style' ), |
— | — | @@ -44,9 +49,14 @@ |
45 | 50 | } |
46 | 51 | return $pages; |
47 | 52 | } |
48 | | - |
| 53 | + |
49 | 54 | /* Methods */ |
50 | | - |
| 55 | + |
| 56 | + /** |
| 57 | + * Gets group name |
| 58 | + * |
| 59 | + * @return {string} Name of group |
| 60 | + */ |
51 | 61 | public function getGroup() { |
52 | 62 | return 'site'; |
53 | 63 | } |