MediaWiki talk:Common.js

Latest comment: 25 March by Stag in topic Obfuscated text and underlined text
Jump to navigation Jump to search

Obfuscated text and underlined text[edit source]

I'm using this code to create Minecraft style tooltips on another website, but there's no support for obfuscated text. Could this be added?

Also, underlined text renders very weirdly. This might be a problem on my end, but I'm not sure. Here's a demo I created: User:Stag/Use-Invitem. Here's how the underlined text looks for me: . stag (discuss!) 18:24, 25 March 2025 (UTC)Reply[reply]

I think you're here for the wrong reasons. Arina (she/her) 18:25, 25 March 2025 (UTC)Reply[reply]
Best place to ask for help like this is on Discord Mudscape talk 18:28, 25 March 2025 (UTC)Reply[reply]
ok thanks stag (discuss!) 18:49, 25 March 2025 (UTC)Reply[reply]
This JavaScript page is only there to support tooltips as used on the wiki, and we don't have a need for any special formatting, therefore we won't implement support for that here. You're of course welcome to extend on this JS and modify it yourself for your website; however keep in mind that it still falls under the wiki's CC BY-NC-SA 3.0 license. | violine1101 (talk) 18:28, 25 March 2025 (UTC)Reply[reply]
Obfuscated text is of no use here because no in-game tooltips feature it, it’s only found in the End Poem and some Bedrock loading tips. Implementing it would require using JavaScript to periodically update the text. — BabylonAS 18:31, 25 March 2025 (UTC)Reply[reply]