// always update userdetails, just in case user reauthenticates as someone else
if (userDetails && userDetails.changesets_count !== undefined) {
- tags.changesets_count = String(userDetails.changesets_count);
+ var changesetsCount = parseInt(userDetails.changesets_count, 10) + 1; // #4283
+ tags.changesets_count = String(changesetsCount);
// first 100 edits - new user
- if (parseInt(tags.changesets_count, 10) < 100) {
+ if (changesetsCount <= 100) {
var s;
s = context.storage('walkthrough_completed');
if (s) {
function coreContext() {
var context = {};
- context.version = '2.4.0';
+ context.version = '2.4.1';
// create a special translation that contains the keys in place of the strings
var tkeys = lodash.cloneDeep(en);