*
* @since 1.21
*
- * @param bool $hasLinks If it is known whether this content contains
+ * @param bool|null $hasLinks If it is known whether this content contains
* links, provide this information here, to avoid redundant parsing to
* find out.
*
*
* @return Content
*/
- public function preloadTransform( Title $title, ParserOptions $parserOptions, $params = array() );
+ public function preloadTransform( Title $title, ParserOptions $parserOptions, $params = [] );
/**
* Prepare Content for saving. Called before Content is saved by WikiPage::doEditContent() and in
*
* @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
*
* @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.