Last modified: 2013-07-15 01:46:25 UTC
Created attachment 12685 [details] Screenshot See the screenshot; I imagine the reference is being treated as existing within the template, rather than within the template within the page - it hunts for <references\>, can't find a tag in the template itself, and freaks the heck out.
The short-term fix is to just strip this comment from the returned HTML that the PHP parser gives us. When we switch over to using Parsoid for this, we'll need that to run in context, somehow, so the references are correctly numbered and that we know to update the relevant reference lists.
Change 73092 had a related patch set uploaded by Esanders: Hide ref errors inside MW transclusions https://gerrit.wikimedia.org/r/73092
Change 73092 merged by jenkins-bot: Hide ref errors inside MW transclusions https://gerrit.wikimedia.org/r/73092
These are now hidden by the above commit, which we're deploying in the next few minutes.
Also: https://gerrit.wikimedia.org/r/73096
Should probably leave this open to track improvements.
Change 73614 had a related patch set uploaded by Esanders: Use new class to detect Cite errors inside templates https://gerrit.wikimedia.org/r/73614
I'm forking this off into bug 51337.