MediaWiki talk:Gadget-ReferenceTooltips.js: Difference between revisions

Content deleted Content added
Interference with links on touchscreen: Setting request template as "answered".
Line 166:
::<small>{{u|Xaosflux}} [[User:Jack who built the house|Jack who built the house]] ([[User talk:Jack who built the house|talk]]) 19:33, 10 May 2019 (UTC)</small>
:::{{done}}. [[User:Oshwah|<b><span style="color:#C00000">~Oshwah~</span></b>]]<sup><small><b>[[User_talk:Oshwah|<span style="color:blue">(talk)</span>]] [[Special:Contributions/Oshwah|<span style="color:green">(contribs)</span>]]</b></small></sup> 10:21, 11 May 2019 (UTC)
 
== Add support for directionality of ref tags ==
 
{{editprotected}}
[https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Cite/+/7738/ Since May 2018] we have the ability to use the <code>dir</code> attribute in the <code>&lt;ref&gt;</code> tags to specify the directionality of ref tags as right-to-left (RTL) or left-to-right (LTR). This is widely used in pages that cite both RTL and LTR sources, for example on Persian Wikipedia (fawiki, see [[:fa:مقام (موسیقی)|example]]). Since the ReferenceTooltips code is used on many wikis, it is ideal to add support for directionality in its enwiki version so that all others who copy it would also benefit from it.
 
I have already implemented the solution into our copy on fawiki. Please incorporate it here too.
 
* [https://fa.wikipedia.org/w/index.php?title=%D9%85%D8%AF%DB%8C%D8%A7%D9%88%DB%8C%DA%A9%DB%8C:Gadget-ReferenceTooltips.js&diff=26531003&oldid=25714387 This diff] shows how the JS code on this page should be changed.
* [https://fa.wikipedia.org/w/index.php?title=%D9%85%D8%AF%DB%8C%D8%A7%D9%88%DB%8C%DA%A9%DB%8C%3AGadget-ReferenceTooltips.css&type=revision&diff=26531007&oldid=25714426 This diff] shows how the CSS code on [[MediaWiki talk:Gadget-ReferenceTooltips.css]] should be modified.
 
Happy to answer any questions (but please {{tl|ping}} me). [[User:Huji|huji]]—[[User_talk:Huji|<small>TALK</small>]] 14:47, 1 July 2019 (UTC)