Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
− | $( "div#p-views ul" ). | + | $( "div#p-views ul" ).prepend( "<li class=\"collapsible\"><span><a href=\"https://kingkiller.wiki/w/Special:CreatePage\">Create a new page</a></span></li>" ); |
tippy('.tooltip', { | tippy('.tooltip', { |
Latest revision as of 01:54, 27 December 2019
/* Any JavaScript here will be loaded for all users on every page load. */
$( "div#p-views ul" ).prepend( "<li class=\"collapsible\"><span><a href=\"https://kingkiller.wiki/w/Special:CreatePage\">Create a new page</a></span></li>" );
tippy('.tooltip', {
delay: 100,
arrow: true,
arrowType: 'round',
size: 'large',
duration: 500,
animation: 'shift-toward'
})