jenkins-bot has submitted this change and it was merged.

Change subject: Stop warning
......................................................................


Stop warning

When a revision is deleted just index everything about the page.

Bug: 58709

Change-Id: Ie0ab14444fe0ea4a67fe0914e49cb896b9022cb7
---
M includes/CirrusSearchHooks.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/CirrusSearchHooks.php b/includes/CirrusSearchHooks.php
index 2dab5eb..04ffead 100644
--- a/includes/CirrusSearchHooks.php
+++ b/includes/CirrusSearchHooks.php
@@ -87,7 +87,7 @@
        public static function onRevisionDelete( $title ) {
                $page = WikiPage::factory( $title );
                JobQueueGroup::singleton()->push(
-                       CirrusSearchUpdatePagesJob::build( array( $page ), true 
)
+                       CirrusSearchUpdatePagesJob::build( array( $page ), 
true, CirrusSearchUpdater::INDEX_EVERYTHING )
                );
        }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie0ab14444fe0ea4a67fe0914e49cb896b9022cb7
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Manybubbles <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to