jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Krinkle: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I15a5e7042c8c0c7a97ee5c34ed48b325f2611063
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits