MediaWiki talk:Gadget-ReferenceTooltips.js: Difference between revisions
Content deleted Content added
→Update request 9 July 2024: reply to Nardog |
→Update request 9 July 2024: reply to Nardog |
||
Line 235:
:::::It would just give <code>font-size: 90%;</code> to the root font size and bring side effects with it. [[User:JWBTH|Jack who built the house]] ([[User:JWBTH|talk]]) 07:40, 10 July 2024 (UTC)
::::<code>#mw-teleport-target</code> isn't served by HTML, so I assume you can't just expect it to be there but have to await something. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 07:36, 10 July 2024 (UTC)
:::::https://phabricator.wikimedia.org/source/mediawiki/browse/master/resources/src/mediawiki.page.ready/ready.js<syntaxhighlight lang="js">
mw.loader.using('mediawiki.page.ready').then(function (require) {
console.log(require('mediawiki.page.ready').teleportTarget);
});
</syntaxhighlight>works. [[User:JWBTH|Jack who built the house]] ([[User:JWBTH|talk]]) 07:44, 10 July 2024 (UTC)
::{{tq|1=Footnote boxes are the same width as before but now much less text fits on each line}}<br>This actually made me think that probably we should also made the tooltip wider when the user opted for the large font size in ''Vector''. [[User:JWBTH|Jack who built the house]] ([[User:JWBTH|talk]]) 06:57, 10 July 2024 (UTC)
|