1 jQuery( document ).ready( function( $ ) {
3 /* Initialize utilities (messageBoxNew, profile, tooltip access keys, TOC etc.) */
6 /* Emulate placeholder if not supported by browser */
7 if ( !( 'placeholder' in document.createElement( 'input' ) ) ) {
8 $( 'input[placeholder]' ).placeholder();
11 /* Enable makeCollapsible */
12 $( '.mw-collapsible' ).makeCollapsible();
14 /* Lazy load jquery.tablesorter */
15 if ( $( 'table.sortable' ).length ) {
16 mw.loader.using( 'jquery.tablesorter', function() {
17 $( 'table.sortable' ).tablesorter();
21 /* Enable CheckboxShiftClick */
22 $( 'input[type=checkbox]:not(.noshiftselect)' ).checkboxShiftClick();
24 /* Add accesskey hints to the tooltips */
25 mw.util.updateTooltipAccessKeys();