Nikerabbit has uploaded a new change for review.

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

Change subject: Remove reference from hooks for params which are not changed
......................................................................

Remove reference from hooks for params which are not changed

Change-Id: I15a5e7042c8c0c7a97ee5c34ed48b325f2611063
---
M TranslateHooks.php
1 file changed, 6 insertions(+), 6 deletions(-)


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

diff --git a/TranslateHooks.php b/TranslateHooks.php
index e3ff6c5..57c5553 100644
--- a/TranslateHooks.php
+++ b/TranslateHooks.php
@@ -570,7 +570,7 @@
        /**
         * Hook: AdminLinks
         */
-       public static function onAdminLinks( ALTree &$tree ) {
+       public static function onAdminLinks( ALTree $tree ) {
                global $wgTranslateUseSandbox;
 
                if ( $wgTranslateUseSandbox ) {
@@ -675,11 +675,11 @@
        public static function linkfix(
                /*unused*/$dummy,
                Title $target,
-               /*string*/&$html,
-               /*array*/&$customAttribs,
-               array &$query,
+               /*string*/$html,
+               /*array*/$customAttribs,
+               array $query,
                array &$options,
-               &$ret
+               $ret
        ) {
                if ( !$target->inNamespace( NS_SPECIAL ) ) {
                        return;
@@ -712,7 +712,7 @@
        /**
         * Hook: ParserFirstCallInit
         */
-       public static function setupTranslateParserFunction( Parser &$parser ) {
+       public static function setupTranslateParserFunction( Parser $parser ) {
                $parser->setFunctionHook( 'translation', 
'TranslateHooks::translateRenderParserFunction' );
        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I15a5e7042c8c0c7a97ee5c34ed48b325f2611063
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>

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

Reply via email to