Add $visibilityChangeMap parameter to RevDelList doPostCommitUpdates
authorAndrew Otto <acotto@gmail.com>
Fri, 10 Jun 2016 20:07:34 +0000 (16:07 -0400)
committerAndrew Otto <acotto@gmail.com>
Wed, 6 Jul 2016 14:36:08 +0000 (10:36 -0400)
commitee75aa9bee3ea8b1c446795138f05d9ef7d08f79
tree04bcff9a8b938f41b6136500330876b0e4a888c8
parentc1b4b19de384d4e28f1dbdcc0fd59212a6742618
Add $visibilityChangeMap parameter to RevDelList doPostCommitUpdates

This paramater contains a map of id => old and new visibility bits.
This allows doPostCommitUpdates to do something useful with the
differences before and after a visibility change.  Specifically,
RevDelRevisionList doPostCommitUpdates passes this to the
ArticleRevisionVisibilitySet hook.

Bug: T137287
Change-Id: I1824f56d2aadc15671c442cf30dc1f9f01e821f8
docs/hooks.txt
includes/revisiondelete/RevDelArchiveList.php
includes/revisiondelete/RevDelFileList.php
includes/revisiondelete/RevDelList.php
includes/revisiondelete/RevDelRevisionList.php