MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 703: Line 703:
}
}
$(document).ready(function() {
$(document).ready(function() {
    alert('Test');  // This should trigger when the page loads
     // Get the page title
     // Get the page title
     var pageTitle = mw.config.get('wgTitle');
     var pageTitle = mw.config.get('wgTitle');

Navigation menu