Merge "Check for 'veaction' when clicking section edit links"

This commit is contained in:
jenkins-bot 2017-02-09 18:33:55 +00:00 committed by Gerrit Code Review
commit a234120771

View file

@ -685,7 +685,7 @@
uri = new mw.Uri( e.target.href ),
title = mw.Title.newFromText( uri.query.title || '' );
if ( !init.isUnmodifiedLeftClick( e ) || !( 'action' in uri.query ) ) {
if ( !init.isUnmodifiedLeftClick( e ) || !( 'action' in uri.query || 'veaction' in uri.query ) ) {
return;
}
if ( title && title.getPrefixedText() !== new mw.Title( mw.config.get( 'wgRelevantPageName' ) ).getPrefixedText() ) {