MediaWiki talk:Gadget-ReferenceTooltips.js: Difference between revisions
Content deleted Content added
→Change 2 strings: new topic |
|||
Line 189:
Continuing with the earlier example, currently when a user hovers over the "p. 42" sub-citation, the tooltip will just contain "p. 42" without the book name. That tooltip is not especially useful. It would be nice if this gadget could handle "book references" more naturally. That is, if a user hovers over a citation of the form <code><nowiki><ref name="child" extends="parent">text</ref></nowiki></code> attribute, it would be nice if the tooltip displayed the contents of both the <code>parent</code> and <code>child</code> citations. Note that book citations can only go one level deep (you cannot extend a citation that extends another citation), which should make the implementation more straightforward. Thank you for considering this suggestion! [[User:MtMNC|MtMNC]] ([[User talk:MtMNC|talk]]) 06:51, 2 November 2020 (UTC)
:The feature in Cite extension was experimental. The project was eventually abandoned unfortunately, see [[m:WMDE Technical Wishes/Book referencing]]. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 07:23, 14 December 2021 (UTC)
== Change 2 strings ==
{{edit fully-protected}}
As it [[Wikipedia:Village pump (technical)#citation tooltips no longer working when logged in?|turned out]], it can be unclear to users what they are disabling/enabling. So please replace
<syntaxhighlight lang="js">
'rt-enable': 'Enable',
'rt-disable': 'Disable',
</syntaxhighlight>
with
<syntaxhighlight lang="js">
'rt-enable': 'Enable Reference Tooltips',
'rt-disable': 'Disable Reference Tooltips',
</syntaxhighlight> [[User:JWBTH|Jack who built the house]] ([[User:JWBTH|talk]]) 20:43, 4 February 2024 (UTC)
|