diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:30:02 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:30:02 -0400 |
commit | 1de335ad3f395ca6861085393ba366a9e3fb4a0d (patch) | |
tree | f1fdd326034e05177596851be6a7127615d81498 /includes/content/Content.php | |
parent | 9c75fa8ff6d4d38ef552c00fef5969fb154765e8 (diff) | |
parent | f6d65e533c62f6deb21342d4901ece24497b433e (diff) |
Merge commit 'f6d65'
# Conflicts:
# skins/ArchLinux/ArchLinux.php
Diffstat (limited to 'includes/content/Content.php')
-rw-r--r-- | includes/content/Content.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/includes/content/Content.php b/includes/content/Content.php index 61b9254f..8ed761f5 100644 --- a/includes/content/Content.php +++ b/includes/content/Content.php @@ -292,6 +292,9 @@ interface Content { * Subclasses may implement this to determine the necessary updates more * efficiently, or make use of information about the old content. * + * @note Implementations should call the SecondaryDataUpdates hook, like + * AbstractContent does. + * * @param Title $title The context for determining the necessary updates * @param Content $old An optional Content object representing the * previous content, i.e. the content being replaced by this Content @@ -461,7 +464,7 @@ interface Content { * * @param WikiPage $page The page to be saved. * @param int $flags Bitfield for use with EDIT_XXX constants, see WikiPage::doEditContent() - * @param int $baseRevId The ID of the current revision + * @param int $parentRevId The ID of the current revision * @param User $user * * @return Status A status object indicating whether the content was @@ -470,7 +473,7 @@ interface Content { * * @see WikiPage::doEditContent() */ - public function prepareSave( WikiPage $page, $flags, $baseRevId, User $user ); + public function prepareSave( WikiPage $page, $flags, $parentRevId, User $user ); /** * Returns a list of updates to perform when this content is deleted. |