MediaWiki REL1_40
MediaWiki\ResourceLoader\Hook\ResourceLoaderSiteModulePagesHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\ResourceLoader\HookRunner.

Public Member Functions

 onResourceLoaderSiteModulePages ( $skin, array &$pages)
 Change which wiki pages comprise the site module in given skin.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ResourceLoaderSiteModulePages" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 12 of file ResourceLoaderSiteModulePagesHook.php.

Member Function Documentation

◆ onResourceLoaderSiteModulePages()

MediaWiki\ResourceLoader\Hook\ResourceLoaderSiteModulePagesHook::onResourceLoaderSiteModulePages ( $skin,
array & $pages )

Change which wiki pages comprise the site module in given skin.

This hook is called from MediaWiki\ResourceLoader\SiteModule.

Since
1.35
Parameters
string$skinCurrent skin key
array&$pagesArray of pages and their types
Returns
void This hook must not abort, it must return no value

Implemented in MediaWiki\ResourceLoader\HookRunner.


The documentation for this interface was generated from the following file: