mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "DesktopArticleTarget.init: more explicit no-welcome-on-protected-pages"
This commit is contained in:
commit
1a2de9c8ad
|
@ -1055,6 +1055,11 @@
|
|||
welcomeDialogLocalStorageValue === null &&
|
||||
$.cookie( 've-beta-welcome-dialog' ) === null
|
||||
)
|
||||
) &&
|
||||
(
|
||||
// Not on protected pages
|
||||
mw.config.get( 'wgIsProbablyEditable' ) ||
|
||||
mw.config.get( 'wgRelevantPageIsProbablyEditable' )
|
||||
)
|
||||
) {
|
||||
mw.loader.using( 'ext.visualEditor.welcome' ).done( function () {
|
||||
|
|
Loading…
Reference in a new issue