MediaWiki talk:Gadget-ReferenceTooltips.js: Difference between revisions
Content deleted Content added
Traumnovelle (talk | contribs) →Update request 9 July 2024: Reply |
→Update request 14 July 2024: new topic |
||
Line 278:
::{{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)
:::Do your updates fix the gadget on Vector 2010? [[User:Traumnovelle|Traumnovelle]] ([[User talk:Traumnovelle|talk]]) 09:26, 14 July 2024 (UTC)
== Update request 14 July 2024 ==
{{editprotected}}
This update addresses user complaints voiced in [[MediaWiki talk:Gadget-ReferenceTooltips.js#Update request 9 July 2024]] and includes other changes.
Please update the JS and CSS parts of the gadget:
* Update [[MediaWiki:Gadget-ReferenceTooltips.js]] from [[User:JWBTH/Gadget-ReferenceTooltips.js]] ([https://en.wikipedia.org/wiki/Special:ComparePages?page1=MediaWiki%3AGadget-ReferenceTooltips.js&rev1=&page2=User%3AJWBTH%2FGadget-ReferenceTooltips.js&rev2=&action=&unhide= diff])
* Update [[MediaWiki:Gadget-ReferenceTooltips.css]] from [[User:JWBTH/Gadget-ReferenceTooltips.css]] ([https://en.wikipedia.org/wiki/Special:ComparePages?page1=MediaWiki%3AGadget-ReferenceTooltips.css&rev1=&page2=User%3AJWBTH%2FGadget-ReferenceTooltips.css&rev2=&action=&unhide= diff])
Changes:
* Make the font size in Vector 2010 and MonoBook the same as before the changes. (In the future, Vector 2010 font size should be fixed by placing the overlay inside <code>#mw-teleport-target</code>; see [[phab:T369880]].)
* Make the tooltip width relative to the font size.
* Increase the height of the tooltip tail (anchor) by 1px (it's hard to resize it proportionately as with other values).
* Make a horizontal scrollbar appear when the contents of the tooltip exceed the maximum width and can't be wrapped to the next line ([[Lemniscate elliptic functions#cite note-73|example]]).
* Make the script reusable by other wikis (and synchronizable across wikis). They can now load it from enwiki while setting their own settings and messages.
* Rework the settings dialog: turn the enable/disable radio input into a checkbox, turn the "Cancel" button into a close button, reword the labels.
* Replace a 404 image illustrating the footer link from an extension with a [[:File:MediaWiki footer link ltr.svg|Commons file]]. It appears when the gadget is disabled from its settings.
* Fix the page footer when the gadget is disabled from its settings. A new footer link to reenable the gadget was added each time <code>wikipage.content</code> hook fired on a page.
* Remove old IE fix (IE is [[mw:Compatibility#Browser support matrix|no longer supported]] by MediaWiki).
* Do minor chores and code style fixes.
[[User:JWBTH|Jack who built the house]] ([[User:JWBTH|talk]]) 09:33, 14 July 2024 (UTC)
|