MediaWiki:Gadget-T321394-main.js

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