mediawiki-skins-Vector/tests/jest/skins.vector.js
Jon Robson 329d91c99c Vector 2022: Support dropdown creation via addPortlet
Vector 2022:
mw.util.addPortlet('p-twinkle', 'TW', '#p-cactions');
mw.util.addPortletLink('p-twinkle','#', 'Hello world');

Or if preferred it can be added to the pinned menu
mw.util.addPortlet('p-twinkle-pinnable', 'TW', '#p-tb');
mw.util.addPortletLink('p-twinkle-pinnable','#', 'Hello world');

Bug: T342815
Change-Id: Id58515e72bfbd5f700aa573a122529c6efdfea9d
2023-10-25 15:44:45 +00:00
..
__snapshots__ Separate vector-menu classes from Dropdowns 2023-06-27 10:14:29 -05:00
dropdownMenus.test.js Separate vector-menu classes from Dropdowns 2023-06-27 10:14:29 -05:00
menuTabs.test.js Separate vector-menu classes from Dropdowns 2023-06-27 10:14:29 -05:00
portlets.test.js Vector 2022: Support dropdown creation via addPortlet 2023-10-25 15:44:45 +00:00