Probably doesn't help much, but the only place I know of property revisions being saved is here:
http://www.mediawiki.org/wiki/Extension:SemanticHistory -Tom On Wed, Feb 3, 2010 at 4:37 PM, Lane, Ryan <ryan.l...@ocean.navo.navy.mil> wrote: >> I'm going to start maintaining the SemanticTasks code, and >> there were a few >> major changes I wanted to make. The first major change I >> wanted to make was >> to fix the "Assigned to" portion of the code. >> >> Currently, the code only assigns tasks when a task is created. If the >> "Assigned to" property changes at some point in time, the new >> taskee will >> get an email about the change on the page, but will not get >> an email about >> being assigned. >> >> To properly implement this, I need to be able to get all >> values of "Assigned >> to" from the previous revision. I'm fairly new to working with the SMW >> codebase. Is this possible? It looks like I can't run a query >> to find the >> values, since they've already been modified. Is there any way >> for me to get >> the values of properties from an old revision? >> > > To somewhat answer my own question: > > I'm able to do this by doing a query in the "ArticleSave" hook, saving the > values into a global variable, then comparing them against the query in the > "ArticleSaveComplete" hook. > > Is there a better way to do this? It seems to be really expensive to do two > queries for every article save. > > Respectfully, > > Ryan Lane > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Semediawiki-devel mailing list > Semediawiki-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > > ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel