Re: [SMW-devel] Problem with storing semantic attributes in a parserhook

2011-02-10 Thread Markus Krötzsch
assidian.com>> wrote: > > > >> Using SMWParseData::storeData at the end of my parserhook > solves the > >> problem with the data that I generate, but now any other > semantic data > >> contained

Re: [SMW-devel] Problem with storing semantic attributes in a parserhook

2010-12-22 Thread Laurent Alquier
custom properties added >> by >> > SME_ParseData and it seems that nothing more is needed than what I have >> > above. >> > >> > Any insight ? code sample ? nudge in any direction ? :) >> > >> > - Laurent >> > >> &

Re: [SMW-devel] Problem with storing semantic attributes in a parserhook

2010-12-22 Thread Laurent Alquier
a at the end of my parserhook solves the > >> problem with the data that I generate, but now any other semantic data > >> contained in the rest of the article is discarded... I guess it's > >> because of what the documentation for storeData says, that the

Re: [SMW-devel] Problem with storing semantic attributes in a parserhook

2010-12-22 Thread zehetner
ys, that the parsing >> is assumed to be complete. >> >> So this is not the fix for my problem :( >> >> Stefan >> >> > -Original Message- >> > From: zehetner [mailto:zehet...@molgen.mpg.de] >> > Sent: Monday, November 01, 2010 10:

Re: [SMW-devel] Problem with storing semantic attributes in a parserhook

2010-12-21 Thread Laurent Alquier
r [mailto:zehet...@molgen.mpg.de] > > Sent: Monday, November 01, 2010 10:24 AM > > To: Harwarth, Stefan (Bundeswehr) > > Cc: semediawiki-devel@lists.sourceforge.net > > Subject: Re: [SMW-devel] Problem with storing semantic > > attributes in a parserho

Re: [SMW-devel] Problem with storing semantic attributes in a parserhook

2010-11-04 Thread Harwarth, Stefan (Bundeswehr)
SMW-devel] Problem with storing semantic > attributes in a parserhook > > I use >SMWParseData::addProperty( $property, $prop_val, false, > $wgParser, true ); >SMWParseData::storeData( $wgParser->getOutput(), $title, > false ); which seems to work so far ok to st

Re: [SMW-devel] Problem with storing semantic attributes in a parserhook

2010-11-02 Thread Harwarth, Stefan (Bundeswehr)
mediawiki-devel@lists.sourceforge.net > Subject: Re: [SMW-devel] Problem with storing semantic > attributes in a parserhook > > I use >SMWParseData::addProperty( $property, $prop_val, false, > $wgParser, true ); >SMWParseData::storeData( $wgParser->getOutput(), $title, > false

Re: [SMW-devel] Problem with storing semantic attributes in a parserhook

2010-11-01 Thread zehetner
I use SMWParseData::addProperty( $property, $prop_val, false, $wgParser, true ); SMWParseData::storeData( $wgParser->getOutput(), $title, false ); which seems to work so far ok to store properties generated within an extension (although it might not be the correct or official way to do it) $p

[SMW-devel] Problem with storing semantic attributes in a parserhook

2010-10-29 Thread Harwarth, Stefan (Bundeswehr)
Hi, I'm working on an Mediawiki extension that uses the SMWData::addProperty function to store semantic data inside a parser hook function, which is working perfectly when saving a page. But when I use the ApprovedRevs extension to approve the revision of an article, my semantic data isn't stored