mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 01:16:30 +00:00
e0125e3e9d
Move shouldShowWelcomeDialog() and stopShowingWelcomeDialog() from DesktopArticleTarget to DesktopArticleTarget.init, and use them to deduplicate code in init that manages the wikitext welcome dialog. Look for both the vehidebetadialog and hidewelcomedialog URL params. The code in DesktopArticleTarget used vehidebetadialog, but the code in init for the wikitext welcome dialog used hidewelcomedialog. Bug: T249954 Change-Id: I19f1a2da36bc65addb52811c3d3c73c1259bc8f5 |
||
---|---|---|
.. | ||
ve-mw | ||
ve-mw-collab |