mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Allow NWE on non-VE namespaces
Bug: T146182 Change-Id: I9547dfd591ad1e68e045b4928765a95895e37737
This commit is contained in:
parent
1e89ab7d7a
commit
d15034011f
|
@ -965,7 +965,7 @@
|
|||
}
|
||||
|
||||
// Set up the tabs appropriately if the user has VE on
|
||||
if ( init.isVisualAvailable && userPrefPreferShow ) {
|
||||
if ( init.isAvailable && userPrefPreferShow ) {
|
||||
// … on two-edit-tab wikis, or single-edit-tab wikis, where the user wants both …
|
||||
if ( !conf.singleEditTab || tabPreference === 'multi-tab' ) {
|
||||
// … set the skin up with both tabs and both section edit links.
|
||||
|
|
Loading…
Reference in a new issue