Hi,
Thank you for reading my post.
I have been using the "WikiModel" "render()" method.
-----------------------------------------------------------------------------------------------------------
String htmlString = wikiModel.render(rawWikiText);
-----------------------------------------------------------------------------------------------------------
After executing that code line,
-----------------------------------------------------------------------------------------------------------
> "rawWikiText" contains:
-----------------------------------------------------------------------------------------------------------
'''Cokot''', en [[serbe]] [[Alphabet cyrillique serbe|cyrillique]]
{{lang|sr|?????}}, est une localité de [[Serbie]] située dans la
municipalité de [[Palilula (Niš)]], district de [[Nišava (district)|
Nišava]]. En [[2002]], elle comptait {{formatnum:1401}} habitants<ref
name="stats1">{{Historique de la population (Serbie)}}</ref>, dont une
majorité de [[Serbes]].
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
> "htmlString" contains:
-----------------------------------------------------------------------------------------------------------
<p><b>Cokot</b>, en <a href="
http://fr.wikipedia.org/wiki/Serbe"
title="serbe">serbe</a> <a href="
http://fr.wikipedia.org/wiki/
Alphabet_cyrillique_serbe" title="Alphabet cyrillique
serbe">cyrillique</a> {{lang}}, est une localité de <a href="http://
fr.wikipedia.org/wiki/Serbie" title="Serbie">Serbie</a> située dans la
municipalité de <a href="
http://fr.wikipedia.org/wiki/Palilula_(Ni
%C2%9A)" title="Palilula (Niš)">Palilula (Niš)</a>, district de <a
href="
http://fr.wikipedia.org/wiki/Ni%C2%9Aava_(district)"
title="Nišava (district)">Nišava</a>. En <a href="http://
fr.wikipedia.org/wiki/2002" title="2002">2002</a>, elle comptait
{{formatnum:1401}} habitants<sup id="_ref-stats1_a"
class="reference"><a href="#_note-stats1" title="">[1]</a></sup>, dont
une majorité de <a href="
http://fr.wikipedia.org/wiki/Serbes"
title="Serbes">Serbes</a>.</p>
-----------------------------------------------------------------------------------------------------------
"htmlString" still contains two "Wikitext" chunks:
- {{lang}}
and
- {{formatnum:1401}}.
=> "{{lang}}" should have been suppressed.
=> "{{formatnum:1401}}" should have been replaced by "1401".
Is it normal it didn't happened?
Is there another way to make it work?
Thank you for your help.
All the best,
--
Lmhelp