MediaWiki fundraising/REL1_35
|
Stable to implement. More...
Public Member Functions | |
onArticleRevisionVisibilitySet ( $title, $ids, $visibilityChangeMap) | |
This hook is called when changing visibility of one or more revisions of an article. | |
Stable to implement.
Definition at line 11 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.