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

Public Member Functions | |
| onArticleRevisionVisibilitySet ( $title, $ids, $visibilityChangeMap) | |
| This hook is called when changing visibility of one or more revisions of an article. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ArticleRevisionVisibilitySet" to register handlers implementing this interface.
Definition at line 14 of file ArticleRevisionVisibilitySetHook.php.
| MediaWiki\Hook\ArticleRevisionVisibilitySetHook::onArticleRevisionVisibilitySet | ( | $title, | |
| $ids, | |||
| $visibilityChangeMap ) |
This hook is called when changing visibility of one or more revisions of an article.
| Title | $title | Title of the article |
| int[] | $ids | IDs to set the visibility for |
| array | $visibilityChangeMap | Map of revision ID to oldBits and newBits. This array can be examined to determine exactly what visibility bits have changed for each revision. This array is of the form: [id => ['oldBits' => $oldBits, 'newBits' => $newBits], ... ] |
Implemented in MediaWiki\HookContainer\HookRunner.