Skip to content

Wikitext in tooltips #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Contrafibularity opened this issue Mar 18, 2017 · 1 comment
Open

Wikitext in tooltips #7

Contrafibularity opened this issue Mar 18, 2017 · 1 comment

Comments

@Contrafibularity
Copy link

Like these two people on the MW talk page (https://www.mediawiki.org/wiki/Extension_talk:SimpleTooltip), I would very much like to be able to use wikitext in tooltips, such as character formatting, links and semantic queries. Would that be possible?

@gesinn-it-gea
Copy link
Contributor

Try playing with the return arrays in SimpleTooltipParserFunction.php. See also [0]. If this does not help, use the parser to parse the text [1].

[0] https://www.mediawiki.org/wiki/Manual:Parser_functions#The_setFunctionHook_hook
[1] https://www.mediawiki.org/wiki/Manual:Parser.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants