5 /* Emulate placeholder if not supported by browser */
6 if ( !( 'placeholder' in document
.createElement( 'input' ) ) ) {
7 $( 'input[placeholder]' ).placeholder();
10 /* Enable makeCollapsible */
11 $( '.mw-collapsible' ).makeCollapsible();
13 /* Lazy load jquery.tablesorter */
14 $sortableTables
= $( 'table.sortable' );
15 if ( $sortableTables
.length
) {
16 mw
.loader
.using( 'jquery.tablesorter', function () {
17 $sortableTables
.tablesorter();
21 /* Enable CheckboxShiftClick */
22 $( 'input[type=checkbox]:not(.noshiftselect)' ).checkboxShiftClick();
24 /* Add accesskey hints to the tooltips */
25 mw
.util
.updateTooltipAccessKeys();
28 }( mediaWiki
, jQuery
) );