MediaWiki:Vector-2022.js: Difference between revisions

Content deleted Content added
Analysis completed.
Temporary: Instrumentation to aid decision to merge gerrit patch around usage
Tag: Reverted
Line 1:
// gerrit:1079635
mw.loader.using( 'mediawiki.router' ).then(( req ) => {
const router = req( 'mediawiki.router' );
router.addRoute( /^mediaviewer\/(.+)$/, () => {
mw.track( 'counter.MediaWiki.mmv.legacyRoute', 1 );
} );
} );