mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-09-28 12:46:59 +00:00
e7de455f88
The cloned Cite object in the ParserCloned hook must be cleared, even if the clone occurs inside a <ref> or <references> tag. The simple way to do this is to set mInCite and mInReferences to false before calling clearState(). While Cite could probably use a major cleanup, let's fix this bug now instead of waiting for someone to get around to it. Bug: 47291 Change-Id: Id3e91c41dc33a703b5326961fd57e1fe8ac61f5b |
||
---|---|---|
modules | ||
.gitignore | ||
.gitreview | ||
Cite.i18n.php | ||
Cite.php | ||
Cite_body.php | ||
citeCatTreeParserTests.txt | ||
citeParserTests.txt | ||
SpecialCite.alias.php | ||
SpecialCite.i18n.php | ||
SpecialCite.php | ||
SpecialCite_body.php |