On Sun, Aug 8, 2010 at 9:49 PM, lmhelp <[email protected]> wrote: > > Hi, > > I have abandonned "Bliki" because look what happenned: > > Here is what I gave to "Bliki" as an input: > ------------------------------------------------------------------------------- > Le {{Guil|'''parti philosophique'''}} désignait globalement au > {{s-|XVIII|e|}}, > en [[France]], les intellectuels partisans du mouvement des > [[Lumières (philosophie)|Lumières]], par opposition au parti dit dévôt. > ------------------------------------------------------------------------------- > > And here is what I got as an (HTML) output: > ------------------------------------------------------------------------------- > <p>Le {{Guil}} désignait globalement au {{s-}}, en > < a href="http://fr.wikipedia.org/wiki/France" title="France">France , > les intellectuels partisans du mouvement des > < a href="http://fr.wikipedia.org/wiki/Lumi%C3%A8res_(philosophie)" > title="Lumières (philosophie)">Lumières , par opposition au parti dit dévôt. > </p> > ------------------------------------------------------------------------------- > > The two templates: > - {{Guil|'''parti philosophique'''}} > - {{s-|XVIII|e|}} > haven't been resolved correctly, respectively: > - {{Guil}} > - {{s-}} In your wikimodel you have to implement, how to get the raw text of these templates. In the APIWikiModel, there's an example getRawWikiContent() method, which reads the template through the http://en.wikipedia.org/w/api.php
http://code.google.com/p/gwtwiki/source/browse/trunk/info.bliki.wiki/bliki-pdf/src/main/java/info/bliki/wiki/impl/APIWikiModel.java See these examples for reading articles from wikipedia: http://code.google.com/p/gwtwiki/source/browse/trunk/info.bliki.wiki/bliki-pdf/src/test/java/info/bliki/api/creator/HTMLCreatorExample.java -- Axel Kramer _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
