w/skins/MinervaNeue/resources/skins.minerva.scripts/cleanuptemplates.js
/**
		 * Extract a summary message from a cleanup template generated element that is
		 * friendly for mobile display.
		 * @param {Object} $box element to extract the message from
		 * @ignore
		 * @typedef {object} IssueSummary
		 * @prop {string} icon HTML string.
		 * @prop {string} text HTML string.
		 * @return {IssueSummary}
		 */
Extract a summary message from a cleanup template generated element that is
friendly for mobile display.
@param {Object} $box element to extract the message from
@ignore
@typedef {object} IssueSummary
@prop {string} icon HTML string.
@prop {string} text HTML string.
Extract a summary message from a cleanup template generated element that is friendly for mobile display . @param { Object } $box element to extract the message from @ignore @typedef { object } IssueSummary @prop { string } icon HTML string . @prop { string } text HTML string .
function extractMessage( $box ) {
			var selector = '.mbox-text, .ambox-text',
				$container = $( '<div>' );
			$box.find( selector ).each( function () {
				var contents,
					$this = $( this );
				$this.find( 'table, .noprint' ).remove();
				contents = $this.html();
				if ( contents ) {
					$( '<p>' ).html( contents ).appendTo( $container );
				}
			} );
			return {
				icon: getIconFromAmbox( $box ).toHtmlString(),
				text: $container.html()
			};
		}
function extractMessage ( $box ) { var selector = '.mbox-text, .ambox-text' , $container = $ ( '<div>' ) ; $box . find ( selector ) . each ( function ( ) { var contents , $this = $ ( this ) ; $this . find ( 'table, .noprint' ) . remove ( ) ; contents = $this . html ( ) ; if ( contents ) { $ ( '<p>' ) . html ( contents ) . appendTo ( $container ) ; } } ) ; return { icon : getIconFromAmbox ( $box ) . toHtmlString ( ) , text : $container . html ( ) } ; }
Extract a summary message from a cleanup template generated element that is
 friendly for mobile display.
Extract a summary message from a cleanup template generated element that is friendly for mobile display .
// Clean up talk page boxes