< Manual:Hooks 
 
      | ChangesListInsertArticleLink | |
|---|---|
| Available from version 1.12.0 Override or augment link to article in RC list. | |
| Define function: | public static function onChangesListInsertArticleLink( ChangesList $changesList, string &$articlelink, string &$s, RecentChange &$rc, bool $unpatrolled, bool $watched ) { ... }
 | 
| Attach hook: | In extension.json: {
	"Hooks": {
		"ChangesListInsertArticleLink": "MyExtensionHooks::onChangesListInsertArticleLink"
	}
}
 | 
| Called from: | File(s): changes/ChangesList.php Function(s): getArticleLink | 
| Interface: | ChangesListInsertArticleLinkHook.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:ChangesListInsertArticleLink extensions.
Details
- $changesList: ChangesList instance.
- &$articlelink: HTML of link to article (already filled-in).
- &$s: HTML of row that is being constructed.
- &$rc: RecentChange instance.
- $unpatrolled: Whether or not we are showing unpatrolled changes.
- $watched: Whether or not the change is watched by the user.
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.