MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
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 13: | Line 13: | ||
$('#p-tool').remove(); | $('#p-tool').remove(); | ||
function createTab() { | |||
addPortletLink( 'p-cactions', wgArticlePath.replace( '$1', 'Special:Log' ), 'Logs'); | |||
} | |||
addOnloadHook( createTab ); |
Revision as of 16:35, 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 );