mediawiki-skins-Vector/stories
jdlrobson 9f2ca0d072 Refactor: Portal is also a Menu
To complete the refactor, the Portal is also refactored
as a Menu using the getMenu function.

An old code path supporting portals outputted by hooks with
strings is marked as deprecated to simplify this code in future.

array-portals-first -> data-portals-first (the value is not
an array)

Changes:
* $this->getLanguages and  $this->getToolbox() always returns an array (see BaseTemplate)
but we previously supported portals made using raw HTML. Let's move away from that
behaviour and deprecate it.
* Hooks are moved into buildSidebarProps and marked as deprecated where possible
(SkinTemplateToolboxEnd). SidebarBeforeOutput can be used instead.

Bug: T249372
Change-Id: I2549af3e24e5d51c09e9a88ca50a0d9b2e154c3f
2020-05-07 16:56:59 -07:00
..
.eslintrc.json Use template partials rather than HTML strings 2020-03-03 09:28:52 -08:00
Footer.stories.data.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
Footer.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
legacy.stories.js [modern] A new version of Vector with a new logo 2020-04-30 14:11:54 -07:00
Logo.stories.data.js [modern] A new version of Vector with a new logo 2020-04-30 14:11:54 -07:00
Logo.stories.js [modern] A new version of Vector with a new logo 2020-04-30 14:11:54 -07:00
Menu.stories.data.js Class names with hyphens preferred over camel case 2020-05-07 14:43:13 -07:00
Menu.stories.js Refactor: Generalise personal menu 2020-05-05 17:34:44 -07:00
MenuDropdown.stories.data.js Class names with hyphens preferred over camel case 2020-05-07 14:43:13 -07:00
MenuDropdown.stories.js Refactor: VectorMenu merged in to Menu 2020-05-06 16:09:22 -07:00
MenuPortal.stories.data.js Refactor: Portal is also a Menu 2020-05-07 16:56:59 -07:00
MenuPortal.stories.js Refactor: Portal is also a Menu 2020-05-07 16:56:59 -07:00
MenuTabs.stories.data.js Class names with hyphens preferred over camel case 2020-05-07 14:43:13 -07:00
MenuTabs.stories.js Organize CSS by common, layout, typography and components 2020-05-07 22:57:13 +00:00
rawLoader.d.ts [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
SearchBox.stories.data.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
SearchBox.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
Sidebar.stories.data.js Refactor: Portal is also a Menu 2020-05-07 16:56:59 -07:00
Sidebar.stories.js Refactor: Portal is also a Menu 2020-05-07 16:56:59 -07:00
skin.stories.data.js Refactor: VectorMenu merged in to Menu 2020-05-06 16:09:22 -07:00
types.js Refactor: Portal is also a Menu 2020-05-07 16:56:59 -07:00
utils.js [JavaScript] Validate types 2020-03-16 09:10:08 -06:00