Pastakhov has uploaded a new change for review. https://gerrit.wikimedia.org/r/207748
Change subject: update for PhpTags version 5.0.0 Hook release 7 (v 1.4.3) ...................................................................... update for PhpTags version 5.0.0 Hook release 7 (v 1.4.3) Bug: T97400 Change-Id: I20998b3bf85ebec65b3b18e3a7a62108306f3894 --- M PhpTagsSMW.json M PhpTagsSMW.php 2 files changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PhpTagsSMW refs/changes/48/207748/1 diff --git a/PhpTagsSMW.json b/PhpTagsSMW.json index 85b4d63..350f939 100644 --- a/PhpTagsSMW.json +++ b/PhpTagsSMW.json @@ -49,7 +49,7 @@ }, "condition": { "parameters": [ - { "type": "not object", "name": "condition" }, + { "type": "nonobject", "name": "condition" }, { "type": "scalar", "name": "conditionValue", "default": "null" } ], "return": "ExtSQI", @@ -64,7 +64,7 @@ }, "printout": { "parameters": [ - { "type": "not object", "name": "printout" } + { "type": "nonobject", "name": "printout" } ], "return": "ExtSQI", "desc": "Adds property to be fetched and printed out, use * to print out all properties" @@ -103,7 +103,7 @@ "addValue": { "parameters": [ { "type": "string", "name": "property" }, - { "type": "not object", "name": "value" } + { "type": "nonobject", "name": "value" } ], "desc": "Add a value for a property to the current page. $value can be scalar|null, or an array of scalar|null (which is converted into a record value string)" }, diff --git a/PhpTagsSMW.php b/PhpTagsSMW.php index 9e1ccaa..ea39ab0 100644 --- a/PhpTagsSMW.php +++ b/PhpTagsSMW.php @@ -16,7 +16,7 @@ die( 'This file is an extension to MediaWiki and thus not a valid entry point.' ); } -const PHPTAGS_SMW_VERSION = '1.4.2'; +const PHPTAGS_SMW_VERSION = '1.4.3'; // Register this extension on Special:Version $wgExtensionCredits['phptags'][] = array( @@ -41,11 +41,11 @@ if ( !defined( 'PHPTAGS_VERSION' ) ) { throw new MWException( "\n\nYou need to have the PhpTags extension installed in order to use the PhpTags SMW extension." ); } - $needVersion = '4.0.2'; + $needVersion = '5.0.0'; if ( version_compare( PHPTAGS_VERSION, $needVersion, '<' ) ) { throw new MWException( "\n\nThis version of the PhpTags SMW extension requires the PhpTags extension $needVersion or above.\n You have " . PHPTAGS_VERSION . ". Please update it." ); } - if ( PHPTAGS_HOOK_RELEASE != 6 ) { + if ( PHPTAGS_HOOK_RELEASE != 7 ) { throw new MWException( "\n\nThis version of the PhpTags SMW extension is outdated and not compatible with current version of the PhpTags extension.\n Please update it." ); } return true; -- To view, visit https://gerrit.wikimedia.org/r/207748 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I20998b3bf85ebec65b3b18e3a7a62108306f3894 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/PhpTagsSMW Gerrit-Branch: master Gerrit-Owner: Pastakhov <pastak...@yandex.ru> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits