mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "DesktopArticleTarget.init: only show welcome dialog if page editable"
This commit is contained in:
commit
1b6cc864b3
|
@ -1043,6 +1043,7 @@
|
|||
welcomeDialogLocalStorageValue = localStorage.getItem( 've-beta-welcome-dialog' );
|
||||
} catch ( e ) {}
|
||||
if (
|
||||
pageCanLoadEditor &&
|
||||
showWikitextWelcome &&
|
||||
mw.config.get( 'wgVisualEditorConfig' ).showBetaWelcome &&
|
||||
[ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 &&
|
||||
|
|
Loading…
Reference in a new issue