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