mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Merge "Avoid conflicts between 2017 wikitext editor and DiscussionTools new topic tool"
This commit is contained in:
commit
21d9f533c8
|
@ -1252,6 +1252,10 @@
|
|||
}
|
||||
|
||||
function getInitialEditMode() {
|
||||
if ( mw.config.get( 'wgDiscussionToolsStartNewTopicTool' ) ) {
|
||||
// Avoid conflicts with DiscussionTools
|
||||
return false;
|
||||
}
|
||||
// On view pages if veaction is correctly set
|
||||
var m = veactionToMode[ uri.query.veaction ];
|
||||
if ( isViewPage && init.isAvailable && availableModes.indexOf( m ) !== -1 ) {
|
||||
|
|
Loading…
Reference in a new issue