X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fpage%2FArticle.php;h=338b1aeb89a6ae1d7c30710b4ec7a8f125ddf00c;hb=2756055719cd96355023c54bc8d90b60a0985428;hp=ba0a484ec167c77c1e3db7e5578abde279b7df0d;hpb=21dd35ab868287587a6c685559e56a8badc1a843;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/page/Article.php b/includes/page/Article.php index ba0a484ec1..338b1aeb89 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -2091,10 +2091,11 @@ class Article implements Page { * @see WikiPage::doDeleteArticleReal */ public function doDeleteArticleReal( - $reason, $suppress = false, $u1 = null, $u2 = null, &$error = '', User $user = null + $reason, $suppress = false, $u1 = null, $u2 = null, &$error = '', User $user = null, + $tags = [] ) { return $this->mPage->doDeleteArticleReal( - $reason, $suppress, $u1, $u2, $error, $user + $reason, $suppress, $u1, $u2, $error, $user, $tags ); } @@ -2109,9 +2110,11 @@ class Article implements Page { /** * Call to WikiPage function for backwards compatibility. * @see WikiPage::doEdit + * + * @deprecated since 1.21: use doEditContent() instead. */ public function doEdit( $text, $summary, $flags = 0, $baseRevId = false, $user = null ) { - ContentHandler::deprecated( __METHOD__, '1.21' ); + wfDeprecated( __METHOD__, '1.21' ); return $this->mPage->doEdit( $text, $summary, $flags, $baseRevId, $user ); } @@ -2151,18 +2154,6 @@ class Article implements Page { return $this->mPage->getLastPurgeTimestamp(); } - /** - * Call to WikiPage function for backwards compatibility. - * @see WikiPage::doQuickEditContent - */ - public function doQuickEditContent( - Content $content, User $user, $comment = '', $minor = false, $serialFormat = null - ) { - return $this->mPage->doQuickEditContent( - $content, $user, $comment, $minor, $serialFormat - ); - } - /** * Call to WikiPage function for backwards compatibility. * @see WikiPage::doViewUpdates