MediaWiki:Template-MyContent.js

if ( $( 'span#QuestList' ).length === 0 ) { console.error( 'No quest lists found on page.' ); alert( 'No quest lists found on page.' ); } else if ( $( 'span#QuestList' ).length === 1 ){ function checkAll { $( 'input.adpackCheck' ).prop( 'checked', true ); }	function invertAll { $( 'input.adpackCheck' ).prop( 'checked', function ( i, val ) {			return val === true ? false : true;		}); }	function uncheckAll { $( 'input.adpackCheck' ).prop( 'checked', false ); }

$( 'span#VIP-date' ).after( '   ' ); $( 'span#VIP-date' ).remove; $( 'td#VIP-date_cell' ).attr( 'colspan', '2' ); $( 'td#toggle_buttons' ).attr( 'colspan', '2' ).html( '  ' ).css( 'display', 'table-cell' ); $( 'td.adpack' ).each(function {		$(this).html( ' ' + $(this).html );	} ); } else if ( $( 'td#QuestList' ).length > 1 ) { console.error( 'You may only have one quest list on a page.' ); $( 'span#QuestList' ).replace( ' ERROR: You may only have one quest list on a page.' ); }