Hi,

I see that all the static arrays are cleared when initStorage is
called. This is not necessary, for one they are globally assigned and
the other, it makes using SMWSemanticData from another extension close
to impossible.

Because each time parser strip()s (for whatever reason) these arrays
are cleared by a call from the hook ParserAfterStrip. So whatever
calls made to addRelation() and other functions prior to a strip() are
wiped out.

I disabled them in my copy but thought it might be good to modify it
in the official version itself. I am using version 0.6

cheers,
Krishna.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Semediawiki-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to