Cleanup the convertPLural method for Lithuanian(lt)
[lhc/web/wiklou.git] / resources / mediawiki.page / mediawiki.page.ready.js
1 jQuery( document ).ready( function( $ ) {
2
3 /* Initialize utilities (messageBoxNew, profile, tooltip access keys, TOC etc.) */
4 mw.util.init();
5
6 /* Emulate placeholder if not supported by browser */
7 if ( !( 'placeholder' in document.createElement( 'input' ) ) ) {
8 $( 'input[placeholder]' ).placeholder();
9 }
10
11 /* Enable makeCollapsible */
12 $( '.mw-collapsible' ).makeCollapsible();
13
14 /* Lazy load jquery.tablesorter */
15 if ( $( 'table.sortable' ).length ) {
16 mw.loader.using( 'jquery.tablesorter', function() {
17 $( 'table.sortable' ).tablesorter();
18 });
19 }
20
21 /* Enable CheckboxShiftClick */
22 $( 'input[type=checkbox]:not(.noshiftselect)' ).checkboxShiftClick();
23
24 /* Add accesskey hints to the tooltips */
25 mw.util.updateTooltipAccessKeys();
26
27 } );