mediawiki-extensions-Visual.../modules/ve-mw/ui
Thiemo Kreuz 66029402ee Restructure code finding closest top-level page for readability
I hope this makes it a little more readable. The two steps done in
the loop are mostly independent:
a) Find pages that should be removed.
b) Find next best top-level page when the current one is removed.

Change-Id: I600253fb206a31ef5851865e733b66c336d5014d
2022-07-20 09:25:09 +00:00
..
actions Use new config option signature when building sequences 2022-03-11 17:12:54 +00:00
commands Move var declarations inline 2022-03-01 17:50:24 +00:00
contextitems Use @type instead of @var for JavaScript variable 2022-07-12 11:18:27 +00:00
datatransferhandlers Move var declarations inline 2022-03-01 17:50:24 +00:00
dialogs Merge "Simplify interface to remove pages" 2022-07-18 09:55:18 +00:00
elements Document some classes touched in the sidebar rewrite 2022-07-12 12:49:31 +02:00
inspectors Increase default debounce of live extension inspector/dialog to 1000ms 2022-07-14 17:14:37 +01:00
layouts Restructure code finding closest top-level page for readability 2022-07-20 09:25:09 +00:00
pages Document some classes touched in the sidebar rewrite 2022-07-12 12:49:31 +02:00
styles Remove non-helpful 1px hack from template dialog sidebar 2022-07-15 13:00:40 +02:00
tools Use surface's cancel command to close the editor 2022-06-15 19:24:21 +00:00
widgets Fix sidebar losing focus when unchecking params with space 2022-07-20 09:19:59 +00:00
ve.ui.MWAriaDescribe.js Make better use of the ARIA mixin 2021-11-18 15:21:47 +00:00
ve.ui.MWCommandRegistry.js
ve.ui.MWExtensionWindow.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWSequenceRegistry.js Use new config option signature when building sequences 2022-03-11 17:12:54 +00:00
ve.ui.MWSurface.js Add mw-show-empty-elt to MW surfaces 2021-11-19 16:08:53 +00:00
ve.ui.MWWikitextCommandRegistry.js Use boolean RegExp.test() instead of .match() where possible 2022-03-24 11:04:43 +01:00
ve.ui.MWWikitextDataTransferHandlerFactory.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWWikitextSequenceRegistry.js
ve.ui.MWWikitextSurface.js
ve.ui.MWWikitextTransferRegistry.js