mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-11 05:56:11 +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
|
// TODO: Allow the Translate extension to do this itself
|
||||||
mw.config.get( 'wgTranslatePageTranslation' ) !== 'translation' &&
|
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
|
// Not on pages like Special:RevisionDelete
|
||||||
mw.config.get( 'wgNamespaceNumber' ) !== -1
|
mw.config.get( 'wgNamespaceNumber' ) !== -1
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue