Hi everyone!

I´m working on a extensio for SMW.

The problem is that my extension add new semantic data to pages. But when I
reload the wiki page, the change is not seen quickly. I need to make an
edition to see the changes.

For example, if the extension change the category of a wiki page, the next
time I visit the page, the category is still the same, so I need to make an
edition and save again the page.

Right now I'm doing this:

$resArticle = MediaWiki::articleFromTitle($title);
$valuestring = $resArticle->getContent();
$newvalue = $valuestring . $newAnotation;
$resArticle->doEdit($newvalue, '');


This is the right way of doing that?


Thanks!
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to