EBernhardson has uploaded a new change for review.

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

Change subject: Remove references from SpecialSearchResults hook handler
......................................................................

Remove references from SpecialSearchResults hook handler

We have no need to take these in as references, so don't flag
it as such.

Change-Id: Ib8ff5458d2fa5f1a244b768a58fffd394c0d00e7
---
M WikimediaEventsHooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikimediaEvents 
refs/changes/46/324346/1

diff --git a/WikimediaEventsHooks.php b/WikimediaEventsHooks.php
index 9bb7857..0c50d73 100644
--- a/WikimediaEventsHooks.php
+++ b/WikimediaEventsHooks.php
@@ -452,7 +452,7 @@
         * SERP or not. This ends up being non-trivial due to localization, so
         * make it trivial by injecting a boolean value to check.
         */
-       public static function onSpecialSearchResults( $term, &$titleMatches, 
&$textMatches ) {
+       public static function onSpecialSearchResults( $term, $titleMatches, 
$textMatches ) {
                global $wgOut;
 
                $wgOut->addJsConfigVars( array(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib8ff5458d2fa5f1a244b768a58fffd394c0d00e7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikimediaEvents
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org>

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

Reply via email to