Jeroen De Dauw has uploaded a new change for review.

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


Change subject: (bug 45614) Fix incompatibility with recent Validator
......................................................................

(bug 45614) Fix incompatibility with recent Validator

Change-Id: Ia4e0095c6063b4278f45b5139bed905e422c6b8b
---
M formats/array/SRF_Hash.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticResultFormats 
refs/changes/86/51686/1

diff --git a/formats/array/SRF_Hash.php b/formats/array/SRF_Hash.php
index 083959a..996c446 100644
--- a/formats/array/SRF_Hash.php
+++ b/formats/array/SRF_Hash.php
@@ -69,7 +69,7 @@
         *
         * @since 1.8
         *
-        * @param $definitions array of IParamDefinition
+        * @param IParamDefinition[] $definitions
         *
         * @return array of IParamDefinition|array
         */
@@ -77,7 +77,7 @@
                $params = parent::getParamDefinitions( $definitions );
 
                unset( $params['pagetitle'] ); // page title is Hash key, 
otherwise, just use Array format!
-               $params['name']->setMessage( 'srf_paramdesc_hashname' );
+               $params['name']['message']( 'srf_paramdesc_hashname' );
 
                return $params;
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia4e0095c6063b4278f45b5139bed905e422c6b8b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticResultFormats
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>

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

Reply via email to