Mattflaschen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/64637
Change subject: Bump logging version to 2.
......................................................................
Bump logging version to 2.
Change-Id: Ica78014ccc2231f393d790665416fca295df1892
---
M GettingStarted.hooks.php
M resources/ext.gettingstarted.logging.js
2 files changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GettingStarted
refs/changes/37/64637/1
diff --git a/GettingStarted.hooks.php b/GettingStarted.hooks.php
index c0b49ed..1ffea5a 100644
--- a/GettingStarted.hooks.php
+++ b/GettingStarted.hooks.php
@@ -31,7 +31,9 @@
// Keep following two lines in sync with ext.gettingstarted.logging.js
// These are for the primary schema. There is a secondary schema,
// GettingStartedNavbarNoArticle, for a particular error case.
- const LOGGING_VERSION = 1;
+ //
+ // TODO (mattflaschen, 2013-05-20): Consider exporting this to JS so
it's not redundant.
+ const LOGGING_VERSION = 2;
const SCHEMA_NAME = 'GettingStartedNavbar';
const INTRO_OPTION = 'gettingstarted-task-toolbar-show-intro';
diff --git a/resources/ext.gettingstarted.logging.js
b/resources/ext.gettingstarted.logging.js
index 817b844..7550643 100644
--- a/resources/ext.gettingstarted.logging.js
+++ b/resources/ext.gettingstarted.logging.js
@@ -53,7 +53,7 @@
userId = mw.config.get( 'wgUserId' );
bucket = ( userId % 2 === 0 ) ? 'test' : 'control';
defaults = {
- version: 1,
+ version: 2,
userId: userId,
bucket: bucket
};
--
To view, visit https://gerrit.wikimedia.org/r/64637
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica78014ccc2231f393d790665416fca295df1892
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GettingStarted
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits