Last modified: 2011-03-13 18:06:20 UTC
Using dumpHTML do get static version of an article does not always provide a good HTML code: the <references/> tag is not always correctly rendered. This is the case for this article for example: http://it.wikipedia.org/wiki/Provincia_di_Ragusa It seems that between the last <ref> tag and the <references> tag, the Cite::clearState() is time to time called. This erases the intern ref array ($this->mRefs = array()) and <references/> will be rendered afterwards as empty string. Using Mediawiki "online", Cite::clearState() is not called in this context (between the last <ref> and <references/>). I have tried to find the root cause and it seems that something runs differently in MessageCache.php. "Offline" (with dumpHTML) the method transform() is called a lot of time with the following values of $message: * Utenti registrati * {{ns:project}}:Utenti ... and this (both or one of them) generate the issue.
It seems that the problem does not occure anymore... See https://sourceforge.net/tracker/index.php?func=detail&aid=2845907&group_id=175508&atid=873515