Merge "Disable VE on Special:Undelete"

This commit is contained in:
jenkins-bot 2017-08-31 23:40:41 +00:00 committed by Gerrit Code Review
commit d743fa7c1f

View file

@ -770,7 +770,10 @@
// Not on the edit conflict page of the TwoColumnConflict extension see T156251
// TODO: Allow the TwoColumnConflict extension to do this itself
mw.config.get( 'wgTwoColConflict' ) !== 'true'
mw.config.get( 'wgTwoColConflict' ) !== 'true' &&
// Not on Special:Undelete (T173154)
mw.config.get( 'wgCanonicalSpecialPageName' ) !== 'Undelete'
);
// Duplicated in VisualEditor.hooks.php#isVisualAvailable()