/** * @external MenuDefinition */ import { placeholder, htmlUserLanguageAttributes, portletAfter } from './utils'; /** * @type {MenuDefinition} */ export const languageData = { id: 'p-lang-btn', // both classes needed for this to render correctly class: 'mw-portlet-lang vector-menu-dropdown', // mw-interlanguage-selector must be present to operate in ULS mode. // icon classes and button classes 'heading-class': 'vector-menu-heading mw-interlanguage-selector ' + 'mw-ui-icon mw-ui-icon-before mw-ui-icon-wikimedia-language ' + 'mw-ui-button mw-ui-quiet', 'html-tooltip': 'A message tooltip-p-lang must exist for this to appear', label: '10 languages', 'html-user-language-attributes': htmlUserLanguageAttributes, 'html-items': `
Further hook output possible (lang)
`, 60 )}` ) };