mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
1aeac001fe
We want it to be possible to turn a <ref> into an extended one after it was re-used for the first time, not knowing if it later turns out to be an extended ref. This should work: <ref name=x/> is a short re-use of a ref that later turns out to be a <ref extends=… name=x>…</ref>. <ref name=x></ref> is just another syntax that should behave identical. However, it should probably not be possible to turn <ref name=x>foo</ref> into a subref later because it really, really looks like a normal ref. Even if the content matches with a later <ref extends=… name=x>foo</ref> and we usually ignore identical content, I suggest to block this with a dedicated error message. But this is for a later patch. This patch here just documents the status quo. This patch also contains minor code cleanups that will be useful in Ia752a7d. Bug: T367749 Change-Id: Ie38769b36e5c476b96e7af7f03b0fc800b32ba97 |
||
---|---|---|
.. | ||
cypress | ||
parser | ||
phpunit | ||
qunit |