mediawiki-extensions-Visual.../modules/ve-mw
Roan Kattouw e0125e3e9d DesktopArticleTarget: Move shouldShowWelcomeDialog() to init
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
2020-04-21 11:41:59 -07:00
..
ce eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00
dm eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00
init DesktopArticleTarget: Move shouldShowWelcomeDialog() to init 2020-04-21 11:41:59 -07:00
preinit DesktopArticleTarget: Move shouldShowWelcomeDialog() to init 2020-04-21 11:41:59 -07:00
tests ve.dm.MWGalleryNode: Preserve 'class' attribute unchanged 2020-02-14 22:05:50 +01:00
themes doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ui eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00