Add a hook to Title::getEditNotices() so extensions can add them
authorRoan Kattouw <roan.kattouw@gmail.com>
Wed, 24 Jul 2013 00:28:47 +0000 (17:28 -0700)
committerRoan Kattouw <roan.kattouw@gmail.com>
Wed, 24 Jul 2013 00:31:27 +0000 (17:31 -0700)
commit6bf642d80abe65eea50cdcd0f4e8c0a0fe4e7c08
tree26af979bbf1e91b5d715f8190e5b6a95a1021e34
parent7627cf61759aca2bd8f7128c5d1141689d6769f5
Add a hook to Title::getEditNotices() so extensions can add them

FlaggedRevs will have to use this to expose its edit notices to
VisualEditor.

Also add an $oldid parameter so edit notices can be generated based
on the revision ID being edited.

Change-Id: Ie44a01ebfa7002fa3a89f081e0f831442666ac03
docs/hooks.txt
includes/EditPage.php
includes/Title.php