Paladox has uploaded a new change for review.
https://gerrit.wikimedia.org/r/264128
Change subject: Test:
......................................................................
Test:
Change-Id: Ia05078351254587601f1af99ecde76a2264a1cdc
---
M SemanticFormsInputs.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticFormsInputs
refs/changes/28/264128/1
diff --git a/SemanticFormsInputs.php b/SemanticFormsInputs.php
index d64c4b5..ac3e42d 100644
--- a/SemanticFormsInputs.php
+++ b/SemanticFormsInputs.php
@@ -25,7 +25,7 @@
if ( version_compare( $wgVersion, '1.17', 'lt' ) ) {
die( '<b>Error:</b> This version of <a
href="https://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs">Semantic
Forms Inputs</a> is only compatible with MediaWiki 1.17 or above. You need to
upgrade MediaWiki first.' );
}
-
+$wgExtensionFunctions[] = function () {
if ( !defined( 'SF_VERSION' ) ) {
die( '<b>Error:</b> <a
href="https://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs">Semantic
Forms Inputs</a> is a Semantic Forms extension. You need to install <a
href="https://www.mediawiki.org/wiki/Extension:Semantic_Forms">Semantic
Forms</a> first.' );
}
@@ -33,7 +33,7 @@
if ( version_compare( SF_VERSION, '2.4.2', 'lt' ) ) {
die( '<b>Error:</b> This version of <a
href="https://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs">Semantic
Forms Inputs</a> is only compatible with Semantic Forms 2.4.1 or above. You
need to upgrade <a
href="https://www.mediawiki.org/wiki/Extension:Semantic_Forms">Semantic
Forms</a> first.' );
}
-
+};
define( 'SFI_VERSION', '0.9.0 alpha' );
// create and initialize settings
--
To view, visit https://gerrit.wikimedia.org/r/264128
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia05078351254587601f1af99ecde76a2264a1cdc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticFormsInputs
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits