MediaWiki:Common.js: Difference between revisions

From Riverview Legal Group
Access restrictions were established for this page. If you see this message, you have no access to this page.
mNo edit summary
mNo edit summary
Line 9: Line 9:


$(document).ready(function(){
$(document).ready(function(){
    $('.mw-references-wrap').before('<h2>References</h2>');
    $('.mw-references-wrap').before('<h2>References</h2>');
});
});



Revision as of 16:38, 25 April 2021

/* Any JavaScript here will be loaded for all users on every page load. */

$(document).ready( function() {
  var tree = $('#sidebartree);
  $('#p-logo').after( tree.html() );
  tree.remove();
  /*tree.html('');*/
});

$(document).ready(function(){
     $('.mw-references-wrap').before('<h2>References</h2>');
});

$('#p-tool').remove();

function createTab() {
 addPortletLink( 'p-cactions', wgArticlePath.replace( '$1', 'Special:Log' ), 'Logs');
}
addOnloadHook( createTab );