Closed GoogleCodeExporter closed 9 years ago
Original comment by axelclk@gmail.com
on 14 May 2010 at 5:01
JUnit test testProgrammiersprachen() for issue #42 seems to work, but rendering
of
the complete de:JavaScript page doesn't?
Any idea what could be the cause?
http://code.google.com/p/gwtwiki/source/detail?r=1325
Original comment by axelclk@gmail.com
on 16 May 2010 at 2:31
The problem seems to be related to a cached template in the WikiDB.
After deleting C:\temp\WikiDB and recreating the de:JavaScript page, it now
works
with the current SVN sources.
Original comment by axelclk@gmail.com
on 16 May 2010 at 2:44
My testcase was:
String[] listOfTitleStrings = { "JavaScript" };
User user = new User( "", "", "http://de.wikipedia.org/w/api.php" );
user.login();
List<Page> queryContent = user.queryContent( listOfTitleStrings );
for ( Page page : queryContent )
{
String string = page.getCurrentContent();
WikiModel wikiModel = new WikiModel( "http://de.wikipedia.org/wiki/${image}",
"http://de.wikipedia.org/wiki/${title}" );
String htmlStr = wikiModel.render( string );
System.out.println( htmlStr );
}
}
Then the result for the <ref> is not really empty but
<li id="_note-4"><a href="#_ref-4" title="">↑</a> {{cite web}}</li>
So a default macro expansion would be great.
Original comment by ullenb...@googlemail.com
on 16 May 2010 at 2:57
Sorry, I thought you used:
info.bliki.api.creator.HTMLCreatorExample
like in this example:
http://code.google.com/p/gwtwiki/source/detail?r=1326
The example loads the templates content through the Wikipedia API and caches it
in a
Derby database.
http://code.google.com/p/gwtwiki/wiki/MediaWikiAPISupport
Original comment by axelclk@gmail.com
on 16 May 2010 at 5:49
Original comment by axelclk@gmail.com
on 27 May 2010 at 5:45
Original comment by axelclk@gmail.com
on 3 Jul 2012 at 5:39
Original issue reported on code.google.com by
ullenb...@googlemail.com
on 13 May 2010 at 9:19