Jeroen De Dauw has uploaded a new change for review.

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


Change subject: Put version constant definition above composer autoload 
inclusion to avoid double loading
......................................................................

Put version constant definition above composer autoload inclusion to avoid 
double loading

Change-Id: I2cffc237ae8144e931656e4bfb544a07b735a5a3
---
M ParamProcessor.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Validator 
refs/changes/18/67618/1

diff --git a/ParamProcessor.php b/ParamProcessor.php
index 5317177..7f55df7 100644
--- a/ParamProcessor.php
+++ b/ParamProcessor.php
@@ -26,6 +26,9 @@
        return;
 }
 
+define( 'ParamProcessor_VERSION', '1.0 beta' );
+define( 'Validator_VERSION', ParamProcessor_VERSION ); // @deprecated since 1.0
+
 if ( isset( $wgVersion ) && version_compare( $wgVersion, '1.16c', '<' ) ) {
        die( '<b>Error:</b> This version of Validator requires MediaWiki 1.16 
or above.' );
 }
@@ -59,9 +62,6 @@
 
 unset( $dependencies );
 
-
-define( 'ParamProcessor_VERSION', '1.0 beta' );
-define( 'Validator_VERSION', ParamProcessor_VERSION ); // @deprecated since 1.0
 
 // Register the internationalization file.
 $wgExtensionMessagesFiles['Validator'] = __DIR__ . '/Validator.i18n.php';

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2cffc237ae8144e931656e4bfb544a07b735a5a3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Validator
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