Document ResourceLoaderWikiModule::getPages.
Change-Id: Id3b3df20efcec90dfcc7cd496aecbe74e5cd9915
This commit is contained in:
parent
933869c7ef
commit
8f0df557dc
1 changed files with 13 additions and 0 deletions
|
|
@ -42,7 +42,20 @@ abstract class ResourceLoaderWikiModule extends ResourceLoaderModule {
|
|||
/* Abstract Protected Methods */
|
||||
|
||||
/**
|
||||
* Subclasses should return an associative array of resources in the module.
|
||||
* Keys should be the title of a page in the MediaWiki or User namespace.
|
||||
*
|
||||
* Values should be a nested array of options. The supported keys are 'type' and
|
||||
* (CSS only) 'media'.
|
||||
*
|
||||
* For scripts, 'type' should be 'script'.
|
||||
*
|
||||
* For stylesheets, 'type' should be 'style'.
|
||||
* There is an optional media key, the value of which can be the
|
||||
* medium ('screen', 'print', etc.) of the stylesheet.
|
||||
*
|
||||
* @param $context ResourceLoaderContext
|
||||
* @return array
|
||||
*/
|
||||
abstract protected function getPages( ResourceLoaderContext $context );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue