From 8d2157c9c28a15fe035c3442d2703c35f2b6c275 Mon Sep 17 00:00:00 2001 From: Reedy Date: Wed, 21 Sep 2016 21:13:20 +0100 Subject: [PATCH] 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 --- includes/page/Article.php | 2 ++ 1 file changed, 2 insertions(+) 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' ); -- 2.20.1