rehamaltamimi / gwtwiki

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

Passed in incorrectly parsed template name in getRawWikiContent(...) #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Really I cannot reproduce this problem. It just happened once or twice from 
time to time.

I override getRawWikiContent to get the template page from a remote wiki site, 
but sometimes the passed in template name can be something like: 
"#urlencode:{{#if: {{{1|}}} | {{{1}}} | {{BASEPAGENAMEE}} }}" (without quotes).

What is the expected output? What do you see instead?
expected: the correct template name if in the template namespace.

What version of the product are you using? On what operating system?
3.0.13

Please provide any additional information below.
Since I've modified my code to log more details. When I find this problem 
happen again I'll update this issue with more information

Original issue reported on code.google.com by Ken...@gmail.com on 22 Sep 2010 at 8:28

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 22 Sep 2010 at 5:32

GoogleCodeExporter commented 8 years ago
The #urlencode is a parser function which should be substituted before the call 
to getRawWikiContent() occurs.
http://meta.wikimedia.org/wiki/Help:Parser_function#URLENCODE

Original comment by axelclk@gmail.com on 22 Sep 2010 at 5:36

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 27 Jan 2012 at 3:51