mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 17:00:10 +00:00
37206e2a12
* 4ea8dbd8 exposed a bug handling of nested <refs> (done via templates). It caused crashers in rt-testing of a few pages. Ex: enwiki/António de Oliveira Salazar?oldid=676623209 * Reproducible with the following wikitext: ------------------------------------- x <ref>y {{sfn|Kay|1970|pp=123}}</ref> <references /> ------------------------------------- * This patch fixes the problem by making sure data-mw and data-parsoid of the DOM for the nested ref are saved before serialization to a string. * Removed the saveHandler from dom.t.unpackDOMFragments.js and reused the simpler dom-walk code added as part of this patch. * Also updated comments in ext.Cite.js * Hard to introduce nested <ref> in parser tests, so no new tests for this scenario. Change-Id: I2298bbe87ccddd87f307d206d77d78fcfb0d8a75 |
||
---|---|---|
.. | ||
ext.Cite.js |