Re-implementation of r46725 (caching of Cite <references /> output).
authorAndrew Garrett <werdna@users.mediawiki.org>
Tue, 3 Feb 2009 04:58:08 +0000 (04:58 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Tue, 3 Feb 2009 04:58:08 +0000 (04:58 +0000)
commit73965b1242d9244b108f566725b18871ae059c6e
treeaa9e29c2d4821d5b704023f8ae7dbb8e7dde095c
parent9388f9fb5d8b9a62d53ce31dce1f5a1f90024daa
Re-implementation of r46725 (caching of Cite <references /> output).

This time, I've written a Parser method called serialiseHalfParsedText, which, as the name implies, grabs some half-parsed text, and fixes up all of the strip
markers, and link comments, and makes it safe to import some other time with unserialiseHalfParsedText. I tested it by live-hacking the cache key to be a constant,
and then putting <references /> on a completely different page, where it worked perfectly.
includes/parser/Parser.php