Add deprecated comment to Article::doEdit()
authorReedy <reedy@wikimedia.org>
Wed, 21 Sep 2016 20:13:20 +0000 (21:13 +0100)
committerReedy <reedy@wikimedia.org>
Wed, 21 Sep 2016 20:13:20 +0000 (21:13 +0100)
Already there on WikiPage, but this brings it to the IDEs
attention rather than @see

Bug: T145736
Change-Id: Ic931f83d15638f2babce22edf14ee8626b8a0266

includes/page/Article.php

index ba0a484..6d370b0 100644 (file)
@@ -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' );