MediaWiki REL1_39
MediaWiki\Hook\AfterBuildFeedLinksHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\AfterBuildFeedLinksHook:

Public Member Functions

 onAfterBuildFeedLinks (&$feedLinks)
 This hook is called in OutputPage.php after all feed links (atom, rss,...) are created.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 12 of file AfterBuildFeedLinksHook.php.

Member Function Documentation

◆ onAfterBuildFeedLinks()

MediaWiki\Hook\AfterBuildFeedLinksHook::onAfterBuildFeedLinks ( & $feedLinks)

This hook is called in OutputPage.php after all feed links (atom, rss,...) are created.

Use this hook to omit specific feeds from being outputted. You must not use this hook to add feeds; use OutputPage::addFeedLink() instead.

Since
1.35
Parameters
string[]&$feedLinksArray of created feed links
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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