mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-02 01:36:41 +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 ) );
|