MacFan4000 has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/382682 )

Change subject: Fix a reported PHP 7.1 incompatibility
......................................................................

Fix a reported PHP 7.1 incompatibility

Bug: T177263
Change-Id: Ibf1870bfe20a01e95e0387e0b75c4a2db8fa72cc
(cherry picked from commit 5cd35b2fed14373152c544f365d608ed4c1c9a23)
---
M tag/PageTranslationHooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/82/382682/1

diff --git a/tag/PageTranslationHooks.php b/tag/PageTranslationHooks.php
index 55ad8e9..e699886 100644
--- a/tag/PageTranslationHooks.php
+++ b/tag/PageTranslationHooks.php
@@ -626,7 +626,7 @@
                $page = TranslatablePage::isTranslationPage( $title );
 
                if ( $page !== false ) {
-                       $result[] = 'tpt-patrolling-blocked';
+                       $result = [ 'tpt-patrolling-blocked' ];
                        return false;
                }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf1870bfe20a01e95e0387e0b75c4a2db8fa72cc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: REL1_29
Gerrit-Owner: MacFan4000 <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>

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

Reply via email to