On 27/02/07, Simetrical Simetrical+wikilist@gmail.com wrote:
Probably the "cleanest" way to do it would be to create a new database table for it, akin to categorylinks or other metadata tables, and query that on page render. Whether in practice that's better than the hacky solution, I don't know.
I would have said the cleanest way would be to alter some property of the ParserOutput object. An excellent idea would be to introduce an array of arbitrary properties to this, which a parser hook extension can set or alter, and then allow access to it using an appropriate hook which is called when all the information is pulled out of the ParserOutput object in order to build up the page again.
I think I've proposed this before.
Rob Church