Board Thread:Support Requests - Getting Technical/@comment-1788607-20151209124434/@comment-1647694-20151210040002

I've installed Tooltips on my test wiki and it's working. I'll paste the code I used below and that might help you.

MediaWiki:Common.js // Tooltips // Source: http://dev.wikia.com/wiki/Tooltips // Main Config var tooltips_config = { offsetX: 5, offsetY: 10, waitForImages: true, events: ['CustomEvent'], };   // Creating custom tooltip types var tooltips_list = [ {       classname: 'custom-tooltip-text', text: "Parameter: <#parameter#> This is just text and HTML - wikitext won't be parsed", }, {       classname: 'custom-tooltip-parse', parse: '{|style="white-space:nowrap;"\n!Parameter:\n|<#parameter#>\n|-\n!Lc:\n|{'+'{lc:<#parameter#>}}\n|-\n!Uc:\n|{'+'{uc:<#parameter#>}}\n|-\n!PAGENAME:\n|{'+'{PAGENAME}}\n|}', }, {       classname: 'basic-tooltip', delay: 500, onHide: function(handle) { $(this).html($(handle).html) }, }, ]; // importArticles importArticles({   type: 'script',    articles: [        'u:dev:Tooltips/code.js'    ] });

MediaWiki:Wikia.css /* For Tooltips */ /* Source: http://dev.wikia.com/wiki/Tooltips */ /* See also MediaWiki:Common.js */ /* Main CSS class of the tooltip */ .main-tooltip { border: 1px solid #999; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); border-radius: 4px; margin-bottom: 5px; padding: 2px 5px; background-color: #EEE; } /* Adds padding to the wrapper to make space for a shadow + z-index so tooltips are visible over edit preview screen */ padding: 3px 7px 2px 3px; z-index: 6000000; } /* Hides tooltips with redlinks, not yet loaded ones and elements containing tooltip contents for advanced tooltips */ .has-redlinks, .tooltip-loading, .advanced-tooltip .tooltip-contents { display: none; } .tooltips-init-complete { cursor: help; }
 * 1) tooltip-wrapper {

User:LegendFPS/Sandbox Basic tooltips

Advanced tooltips Tooltip content

Custom tooltips – parse

Custom tooltips – text