MediaWiki:Gadget-T321394-main.js

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