mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts/page-issues/page/PageIssueLink.js

14 lines
323 B
JavaScript
Raw Normal View History

/**
* Create a link element that opens the issues overlay.
*
* @internal
* @ignore
* @param {string} labelText The text value of the element
* @return {jQuery}
*/
function newPageIssueLink( labelText ) {
return $( '<a>' ).addClass( 'cleanup mw-mf-cleanup' ).text( labelText );
}
module.exports = newPageIssueLink;