mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-18 03:31:34 +00:00
15 lines
379 B
JavaScript
15 lines
379 B
JavaScript
|
( function ( M ) {
|
||
|
/**
|
||
|
* Creates a "read more" button with given text.
|
||
|
* @param {string} msg
|
||
|
* @return {JQuery}
|
||
|
*/
|
||
|
function newPageIssueLearnMoreLink( msg ) {
|
||
|
return $( '<span>' )
|
||
|
.addClass( 'ambox-learn-more' )
|
||
|
.text( msg );
|
||
|
}
|
||
|
|
||
|
M.define( 'skins.minerva.scripts/page-issues/page/PageIssueLearnMoreLink', newPageIssueLearnMoreLink );
|
||
|
}( mw.mobileFrontend ) );
|