From: Reedy Date: Wed, 21 Sep 2016 20:13:20 +0000 (+0100) Subject: Add deprecated comment to Article::doEdit() X-Git-Tag: 1.31.0-rc.0~5397^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=8d2157c9c28a15fe035c3442d2703c35f2b6c275;p=lhc%2Fweb%2Fwiklou.git Add deprecated comment to Article::doEdit() Already there on WikiPage, but this brings it to the IDEs attention rather than @see Bug: T145736 Change-Id: Ic931f83d15638f2babce22edf14ee8626b8a0266 --- diff --git a/includes/page/Article.php b/includes/page/Article.php index ba0a484ec1..6d370b02d0 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -2109,6 +2109,8 @@ 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' );