mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
Disable VisualEditor in the TwoColConflict extension
As for the Translate extension this will read a global set by the TwoColConflict extension to disable the VisualEditor and its hooks on the modified edit conflict page there. Bug: T156251 Change-Id: I164d1546c9d98d8715650e13c63a01d06c76315d
This commit is contained in:
parent
521a15a07d
commit
a0af0b0529
|
@ -772,6 +772,10 @@
|
|||
// TODO: Allow the Translate extension to do this itself
|
||||
mw.config.get( 'wgTranslatePageTranslation' ) !== 'translation' &&
|
||||
|
||||
// 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' &&
|
||||
|
||||
// Not on pages like Special:RevisionDelete
|
||||
mw.config.get( 'wgNamespaceNumber' ) !== -1
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue