Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
(Tooltip) |
|||
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" ).append( "<li class=\"collapsible\"><span><a href=\"https://kingkiller.wiki/w/Special:CreatePage\">Create a new page</a></span></li>" ); | ||
tippy('.tooltip', { | tippy('.tooltip', { |
Revision as of 01:51, 27 December 2019
/* Any JavaScript here will be loaded for all users on every page load. */
$( "div#p-views ul" ).append( "<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'
})