diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js index 9db9d3d953..a0f89b1f89 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js @@ -276,6 +276,9 @@ ve.init.mw.DesktopArticleTarget.prototype.loadSuccess = function ( response ) { this.checkboxFields = []; this.checkboxesByName = {}; this.$otherFields = $( [] ); + if ( [ 'edit', 'submit' ].indexOf( mw.util.getParamValue( 'action' ) ) !== -1 ) { + $( '#content #firstHeading' ).text( mw.config.get( 'wgTitle' ) ); + } if ( data.checkboxes ) { defaults = {