"Platonides" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Mark Clements (HappyDog) wrote: >> I don't do this on page view (in the <data> tag handler), as it is a >> relatively expensive operation to clear out the old entries and reparse >> the >> data tags, and the data will not have changed, so it is not necessary. > > Why not rely on default MediaWiki caching to avoid it? Or check the > page_touched field. > >> So instead I re-parse it whenever the data changes (save/undelete/etc.). > > What about > <data> > name={{username|Jim}} > age=20 > </data> > > Are you reparsing when Template:username changes? > > You're reimplementing too much MediaWiki behavior. There must be a > better way :-)
I agree with that statement entirely... that's why I'm posting here! ;-) - Mark Clements (HappyDog) _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
