Hi SMW community,

About 5 years before we have developed a custom MW tag extension to
create flowcharts. For this purpose we use a self-defined domain
specific language to create process diagrams with links to other
articles. As the result, we get an image-map consisting of image and
HTML code generated. This will displayed on the wiki page. In addition,
certain semantic properties deposited on the side that can't appear
directly in the source code of the page. We have had no problem with
reload or refreshing the page. The properties were always there and were
always stored correctly.

We use the following code:

SMWParseData::addProperty("Has product",
        $value,
        false,                          // No caption
        self::$wikiParser,              // Mediawiki parser
        true );                         // Store data in the database

Problem: http://semantic-mediawiki.org/doc/classSMWParseData.html

THIS CLASS IS OBSOLETE AND SHOULD NOT BE USED BEYOND SMW 1.8. THIS CLASS
WILL BE REMOVED IN SMW 1.10.

Therefore, we need an alternative. Do you know an code-example for that
case? Or do we have to use SMW code and parse via the MW-parser?

Thanks!

Nils


------------------------------------------------------------------------------
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to