Addshore has uploaded a new change for review.

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

Change subject: WikiPage::getDeletionUpdates returns DeferrableUpdates
......................................................................

WikiPage::getDeletionUpdates returns DeferrableUpdates

This means the hook also only needs to add
DeferrableUpdate object rather than DataUpdate objects

Change-Id: Ic19c93860aa364d4e1b69a20ed6bbcd61f6f4979
---
M includes/page/WikiPage.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/87/311687/1

diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php
index 2308ef0..fe0fffc 100644
--- a/includes/page/WikiPage.php
+++ b/includes/page/WikiPage.php
@@ -3735,7 +3735,7 @@
         *
         * @param Content|null $content Optional Content object for determining 
the
         *   necessary updates.
-        * @return DataUpdate[]
+        * @return DeferrableUpdate[]
         */
        public function getDeletionUpdates( Content $content = null ) {
                if ( !$content ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic19c93860aa364d4e1b69a20ed6bbcd61f6f4979
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <addshorew...@gmail.com>

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

Reply via email to