Jump to content

User talk:MasterQuestionable/2

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

[Bug] MediaWiki cannot properly handle references in references

[edit]

    Tested on [ https://wiki.riteme.site/wiki/Wikipedia:Sandbox?action=edit ].
[[

	<ref name="_1" /> <ref name="_2" /><br/>
	<ref group="lower-alpha" name="_1" /> <ref group="lower-alpha" name="_2" />

== Notes ==

	{{#tag:references|
<!--
	The above line may be replaced to `{{Reflist|refs=` to invoke the template variant: yielding similar result. (such templates pretty much do the same thing but less efficiently)
-->

	<ref group="lower-alpha" name="_1">
	Example
	</ref>

	{{#tag:ref|
	Example <ref name="_3" />
	|group=lower-alpha|name=_2}}

	|group=lower-alpha}}
<!--

	The clumsy form above was bothered for [ https://wiki.riteme.site/?diffonly=1&diff=prev&oldid=1105186269 ].
	.
[[
	<references group="lower-alpha">

	<ref name="_1">
	Example
	</ref>

	<ref name="_2">
	Example <ref name="_3" />
	</ref>

	</references>
]]
Fails more.

-->

== References ==

	<references responsive="0">

	<ref name="_1">
	1
	</ref>

	<ref name="_2">
	2
	</ref>

	<ref name="_3">
	3
	</ref>

	</references>

]]

    <& Strikeout>Discuss at: https://www.mediawiki.org/wiki/Topic:X1hnma8u8r7amg4c</&>
    The board's posting mechanism seems to be unfit for handling any serious writing...



Comments

[edit]
	[ Quote Thiemo Kreuz (WMDE) @ CE 2022-08-19 17:20:24 UTC:
https://www.mediawiki.org/wiki/Topic:X1hnma8u8r7amg4c?topic_showPostId=x1j55bj9npc913xu
	What should the example illustrate? ]
<^>	Literally "references in references".

	The specific example created 2 "<references>"s: in 1 (under # Notes) of whose "<ref>" there's a "<ref>" referencing the content in another "<references>" (under # References).
	And things did not work as intended.


=== Off-Topic ===

	Thank you for your assistance.
	Though it appears things are no less broken (if not more...) after your attempted fixing.

	Hope you wouldn't mind me reverting some of your changes.

- MasterQuestionable (talk) 01:43, 20 August 2022 (UTC)[reply]