MediaWiki:Gadget-T321394-main.js

var mainVersion = 'main_v4'; var depVersion = require('ext.gadget.T321394-dependency').version; console.log('T321394 testing', { mainVersion: mainVersion, depVersion: depVersion }); mw.track('counter.T321394_testing.' + mainVersion + '.' + depVersion, '1');