mediawiki-extensions-Visual.../modules/ve-mw
David Lynch 92c4e231f2 DesktopArticleTarget: consolidate edit tab behavior
What happens when an edit tab is clicked is spread across handlers in
DesktopArticleTarget and DesktopArticleTarget.init. Consolidating the logic
into the handler in DesktopArticleTarget.init makes it easier to understand.

It could be moved further into DesktopArticleTarget, but the init handler has
to exist to activate the target in the first place.

This patches a hole where clicking "edit source" while in visual mode would
sometimes not switch to source mode, because it didn't think it was changing
the current section.

Also, fix a typo in the documentation.

Bug: T198272
Change-Id: I12d958b6af1b9fa9aca68b498eb2a1a2d76b5a82
2018-07-02 16:17:15 -05:00
..
ce Give up on realistic styling of mw-collapsible 2018-06-23 14:17:21 +01:00
dm Update VE core submodule to master (a1fd90540) 2018-06-20 12:53:43 +02:00
init DesktopArticleTarget: consolidate edit tab behavior 2018-07-02 16:17:15 -05:00
tests Merge "Add MW-specific DiffElement tests" 2018-06-20 18:47:54 +00:00
themes Update VE core submodule to master (4922429f7) 2018-03-28 09:17:12 -07:00
ui Update link contexts with label info from core 2018-06-26 21:16:53 +00:00
ve.MWutils.js Centralize Parsoid resource name parsing logic 2018-02-28 03:01:05 +01:00