Reedy has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/312098

Change subject: Add deprecated comment to Article::doEdit()
......................................................................

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
---
M includes/page/Article.php
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/98/312098/1

diff --git a/includes/page/Article.php b/includes/page/Article.php
index ba0a484..6d370b0 100644
--- a/includes/page/Article.php
+++ b/includes/page/Article.php
@@ -2109,6 +2109,8 @@
        /**
         * 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' );

-- 
To view, visit https://gerrit.wikimedia.org/r/312098
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic931f83d15638f2babce22edf14ee8626b8a0266
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Reedy <re...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to