MediaWiki  master
MediaWiki\Hook\AfterBuildFeedLinksHook Interface Reference

Stable for implementation. 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. More...
 

Detailed Description

Stable for implementation.

Definition at line 9 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: