Hi everyone!

Im 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?