mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-11 22:56:01 +00:00
03bf14b003
This better matches the behaviour of the php extension. An instructive example is, <ref>123 {{#tag:ref|321}}</ref> {{#tag:ref|456 <ref>654</ref>}} The php implementation only parses the ref contents when producing the output for reference tags, at which point, nested refs will be ignored, as in the former case. The "321" is dropped. The latter is special, since the extension tag takes precedence over the parser function, the inner ref will already have been processed when the outer is added to the stack, and hence the nesting is permitted. This is why the inner ref precedes the outer in the references list (has a lower number). Unfortunately, Parsoid doesn't yet get that ordering right. Change-Id: Ieb0e418cca634605c2a9f1487139b15095f38d81 |
||
---|---|---|
.. | ||
ext/Cite |