Difference between revisions of "MediaWiki:Common.js"

From Awesome Baozam
Jump to: navigation, search
(Created page with "( function ( mw, $ ) { 'use strict'; // Table of contents toggle mw.hook( 'wikipage.content' ).add( function ( $content ) { alert(); } ); }( mediaWik...")
(No difference)

Revision as of 12:13, 6 July 2016

( function ( mw, $ ) {
    'use strict';
 
    // Table of contents toggle
    mw.hook( 'wikipage.content' ).add( function ( $content ) {
        alert();
    } );
 
}( mediaWiki, jQuery ) );