On Mon, May 31, 2010 at 7:04 AM, Roan Kattouw <roan.kattouw(a)gmail.com> wrote:
2010/5/31 Niklas Laxström
<niklas.laxstrom(a)gmail.com>om>:
I tried to use page_props once. I did end up
using my own table, since
the parser thinks it owns the page_props table and when page is parsed
it happily deletes all values stored in page_props it doesn't know
about.
The parser does indeed own the page_props table. It's intended for
storing properties that can be derived at parse time and set by the
parser itself or a parser hook through
$parserOutput->setProperty($name, $value) .
Roan Kattouw (Catrope)
Ah, I was thinking that looked like something too perfectly fitted to
the situation to be true. However I still think it may be a good
approach to generally keep the metadata as a serialized php blob, and
have another table, similar looking to page_props to store specific
metadata values of interest.
cheers,
bawolff