mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-13 14:58:43 +00:00
06cf00f4c6
I tried hard to come up with the best possible names. Some of the criteria I used: * Longer and more unique is better. This makes it much easier to e.g. search for the event name. * The term "part" should only be used for top-level parts. While template parameters have a unique id, they are not a subclass of …TransclusionPartModel and therefor not "parts". * BookletLayout manages "pages" via "page names". * The page names of top-level parts are identical with the part id, see ve.ui.MWTemplateDialog.getPageFromPart. * The page names of parameters are identical with the parameter model id, see ve.ui.MWTemplateDialog.onAddParameter. Some code knows parameter ids, but not what pages are. Other code knows page names, but not what parameters are. The transition currently happens in the …OutlineContainerWidget. We might want to move this point up to the …TemplateDialog. But I would argue this is good enough for now and can be changed later, if needed. Bug: T285323 Change-Id: Iab2805b3203988db400b67c8d00e48905fdc53dc |
||
---|---|---|
.. | ||
ve.ui.MWParameterCheckboxInputWidget.test.js | ||
ve.ui.MWParameterSearchWidget.test.js | ||
ve.ui.MWTemplateTitleInputWidget.test.js | ||
ve.ui.MWTransclusionOutlineButtonWidget.test.js | ||
ve.ui.MWTransclusionOutlineContainerWidget.test.js | ||
ve.ui.MWTransclusionOutlineParameterSelectWidget.test.js | ||
ve.ui.MWTransclusionOutlineParameterWidget.test.js | ||
ve.ui.MWTransclusionOutlinePartWidget.test.js | ||
ve.ui.MWTransclusionOutlinePlaceholderWidget.test.js | ||
ve.ui.MWTransclusionOutlineTemplateWidget.test.js | ||
ve.ui.MWTransclusionOutlineWikitextWidget.test.js |