diff --git a/modules/ve-mw/init/ve.init.mw.trackSubscriber.js b/modules/ve-mw/init/ve.init.mw.trackSubscriber.js index 453deb3c7d..fd5c8c936d 100644 --- a/modules/ve-mw/init/ve.init.mw.trackSubscriber.js +++ b/modules/ve-mw/init/ve.init.mw.trackSubscriber.js @@ -151,7 +151,7 @@ page_title: mw.config.get( 'wgPageName' ), page_ns: mw.config.get( 'wgNamespaceNumber' ), // eslint-disable-next-line no-jquery/no-global-selector - revision_id: mw.config.get( 'wgRevisionId' ) || $( 'input[name=parentRevId]' ).val(), + revision_id: mw.config.get( 'wgRevisionId' ) || +$( 'input[name=parentRevId]' ).val(), editing_session_id: editingSessionId, page_token: mw.user.getPageviewToken(), session_token: mw.user.sessionId(),