Extension talk:SimpleTooltip

About this board

Created Fork to Fix MediaWiki 1.38 Sanitizer Error

1
Fanra (talkcontribs)

I was getting this error: PHP Deprecated:  Use of Sanitizer::removeHTMLtags was deprecated in MediaWiki 1.38. [Called from SimpleTooltipParserFunction::infoTooltip in [redacted]/extensions/SimpleTooltip/modules/SimpleTooltipParserFunction.php at line 61] in [redacted]/includes/debug/MWDebug.php on line 377


This is because MediaWiki deprecated the removeHTMLtags. I created a fork of this at GitHub. If you go to Github dot com and search for fanra/simpletooltip you can find it (links not allowed here). The version I created does not give that error. It's currently version 2.0.0.


It works fine for me but use at your own risk, I am disclaiming any responsibility for any possible issues.

Reply to "Created Fork to Fix MediaWiki 1.38 Sanitizer Error"

Tooltip formatting glitches in lists

1
Ulf Dunkel (talkcontribs)

In MediaWiki 1.32.2, I notice that the output of tooltips in list objects leads to the further indentation of the list.

  • {{#tip-text: NSFW|Not Safe For Work - the following link may contain graphic content!}}
  • {{#tip-text: NSFW|Not Safe For Work - the following link may contain graphic content!}}
  • {{#tip-text: NSFW|Not Safe For Work - the following link may contain graphic content!}}

Checking the HTML output shows that the tooltip isn't just embedded in <span></span> tags, but there are also paragraph and list tags which irritate the outer formatting of the desired unordered or ordered list.

The issue can be seen here: https://en.intactiwiki.org/wiki/Template:NSFW/Sandbox

Reply to "Tooltip formatting glitches in lists"

Using links in Simpletooltip is possible BUT

1
77.251.65.235 (talkcontribs)

It seems that you can't click on it because when you hover over the tooltip it closed before you can click on the link :-(

Any suggestions hou to use other options of the ST.

Can i use the other options who are displayed at:the original plugin

Reply to "Using links in Simpletooltip is possible BUT"

installation for noobs

1
~o)sabine(o~ (talkcontribs)

Hi, I just tried to install SimpleTooltip, but failed to find out where to place and enable the Tooltipster Library and the Fugue Icons. Can you please give some hints within the SimpleTooltip installation section about this?

Reply to "installation for noobs"
132.187.49.23 (talkcontribs)

Will it be posible to create Links within a tooltipe? e.g. {{#simple-tooltip-info: See: [[MyPage]] ... }}

Would be a nice feature!

Riverbees (talkcontribs)

We use SimpleTooltip and our user community is asking for the ability to add a page link within the tip. Is this something under consideration? Thanks!

Reply to "Links in Tooltip"

does not working with mobile view ..

1
121.130.23.215 (talkcontribs)

does anyone know why?

Reply to "does not working with mobile view .."

Internal error message

1
Throwaway6987 (talkcontribs)

I installed SimpleTooltip, but after I add the require_once line to LocalSettings.php and try to start my wiki (MW version 1.22.5, locally installed), I get the following error message:

[a0773652] /mediawiki/ Exception from line 181 of /Applications/MAMP/htdocs/mediawiki/includes/Hooks.php: Invalid callback in hooks for LocalisationCacheRecache

Backtrace:

#0 /Applications/MAMP/htdocs/mediawiki/includes/GlobalFunctions.php(3877): Hooks::run(string, array)

#1 /Applications/MAMP/htdocs/mediawiki/includes/cache/LocalisationCache.php(857): wfRunHooks(string, array)

#2 /Applications/MAMP/htdocs/mediawiki/includes/cache/LocalisationCache.php(442): LocalisationCache->recache(string)

[...]

Any ideas on how to fix this?

Reply to "Internal error message"

Scrolling to top of page on pages longer than screen length when using BlueSpice

1
80.149.60.171 (talkcontribs)

I really like this extension and it performs exactly as described in most cases. However I discoved a case where I experienced some trouble when used in conjunction with the extension BlueSpice which I use to add functionality to my wiki.

On short wiki pages everything is displayed normally; short meaning that either no scrolling is necessary to view the entirety of the page or the element with the tooltip does not require scrolling down to be seen (the scrollbar stays at top position).

Sadly, this is not true for longer wiki pages because whenever the cursor touches a tooltip element while the page has been scrolled down, the page is scrolled to the top. Naturally this makes displaying the tooltip virtually impossible as the mouse is no longer placed over the element.

I confirmed that this bug does not occur with BlueSpice deactivated, so my guess is that some compatibility issues, though I am unable to say on which end exactly or whether this is a problem that only I experience. Nevertheless I thought this should be brought to your attention.

Reply to "Scrolling to top of page on pages longer than screen length when using BlueSpice"
There are no older topics