Closed GoogleCodeExporter closed 9 years ago
The DumpWikiModel#getRawWikiContent() method probably could not find the
"Template:Convert" in the Derby database?
Are you sure the Template:Convert is in the wiki database?
Did you skip the first pass in the Dump2HTMLCreatorExamplefor storing the
templates in the Derby database?
Nethertheless the Convert template uses parser functions like formatnum, which
are currently not completly implemented:
http://code.google.com/p/gwtwiki/source/browse/trunk/info.bliki.wiki/bliki-core/
src/main/java/info/bliki/wiki/template/Formatnum.java
See:
http://www.mediawiki.org/wiki/Help:Magic_words#Formatting
Original comment by axelclk@gmail.com
on 25 Jul 2012 at 5:00
Original comment by axelclk@gmail.com
on 25 Jul 2012 at 5:00
Hi,
In the transformation there were not error.
At the beginning I skip the first pass then I delete the database (folders),
and I tried again without skip it (building the database again). So, I suppose
all the templates was stored in the database.
I will check if overwriting that class I can solve my problem.
Thanks!
Original comment by emir.mu...@gmail.com
on 25 Jul 2012 at 5:34
r6059 improves the Formatnum.java but doesn't solve this issue.
Original comment by axelclk@gmail.com
on 25 Jul 2012 at 7:02
I just want to recover the original value, I don't mind the conversion. Which
class handle that kind of convertions (i.e., the {{convertion}} template)?
Original comment by emir.mu...@gmail.com
on 25 Jul 2012 at 8:27
The AbstractWikiModel#substituteTemplateCall() method substitute the template
name by the template content and given parameters.
Original comment by axelclk@gmail.com
on 25 Jul 2012 at 9:15
r6187 improves the #expr parser and avaluator for this issue
Original comment by axelclk@gmail.com
on 27 Jul 2012 at 4:56
Original comment by axelclk@gmail.com
on 28 Jul 2012 at 8:24
Committed r6252 improves the rendering of the convert template.
Original comment by axelclk@gmail.com
on 2 Aug 2012 at 12:51
Original comment by axelclk@gmail.com
on 8 Aug 2012 at 1:01
I marked this as Fixed. Please reopen if there are other issues with
Template:Convert.
Original comment by axelclk@gmail.com
on 8 Aug 2012 at 1:04
Many thanks!. I will try the new version and see if it is working properly.
Original comment by emir.mu...@gmail.com
on 8 Aug 2012 at 7:36
Original issue reported on code.google.com by
emir.mu...@gmail.com
on 24 Jul 2012 at 11:36Attachments: