mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-18 11:35:54 +00:00
a32999e641
Change-Id: Icabf6e065ed5685207731262db72faf848a0a04d
14 lines
332 B
JavaScript
14 lines
332 B
JavaScript
( function () {
|
|
/**
|
|
* Create a link element that opens the issues overlay.
|
|
*
|
|
* @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;
|
|
}() );
|