mw-ui-monkey
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

MW-UI-Monkey

A unified, simple micro-library to throw monkey wrenches into the MediaWiki UI.

This is essentially an easier-to-use version of mw.util.addPortletLink.

How to Use

To insert a link at the end of the header portlet section (next to "History"), do:

const link = MwUiMonkey.addHeaderPortletLink('My special link', () => {
    console.log('Meow');
});
// <- HTMLElement

Result be like:

Screen Shot

Readme

Keywords

none

Package Sidebar

Install

npm i mw-ui-monkey

Weekly Downloads

0

Version

1.2.1

License

Unlicense

Unpacked Size

24.2 kB

Total Files

32

Last publish

Collaborators

  • rileyvel