rehamaltamimi / gwtwiki

Automatically exported from code.google.com/p/gwtwiki
0 stars 0 forks source link

Problem in converting MediaWiki text to Plain text #150

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
mediawikiString = "Simple test of a this {{conversion|feature}} and seems to 
have a problem"
WikiModel wikiModel = new WikiModel("http://www.mywiki.com/wiki/${image}", 
"http://www.mywiki.com/wiki/${title}");
return wikiModel.render(new PlainTextConverter(), mediawikiString);

What is the expected output? What do you see instead?
I expect to see:
Simple test of a this feature and seems to have a problem

And instead I see:
Simple test of a this {{conversion}} and seems to have a problem

What version of the product are you using? On what operating system?
Latest, latest

Thanks!

Original issue reported on code.google.com by joroi...@gmail.com on 8 Nov 2013 at 5:41

GoogleCodeExporter commented 8 years ago
Have you crate your own IWikiModel class?
Did your IWikiModel#getRawWikiContent() method return the "conversion" template 
raw sourcetext?

Original comment by axelclk@gmail.com on 12 Nov 2013 at 6:52