avinash-k / gwtwiki

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

missing support for behavior switches #83

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
behavior switches like __NOEDITSECTION__ are not parsed

What is the expected output? What do you see instead?
Instead of parsing them away (and possible reacting upon them), there plain 
text is included in the output.
Some of them influence the internal storage model like __HIDDENCAT__, others 
like __NOEDITSECTION__ influence the appearance. Since supporting all of them 
is probably a bigger task, I'd suggest to at least parse them all away like 
__NOTOC__ etc in 
info.bliki.wiki.filter.WikipediaParser.parseSpecialIdentifiers() and probably 
give accessors, too.

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

Please provide any additional information below.
https://www.mediawiki.org/wiki/Help:Magic_words#Behavior_switches

Original issue reported on code.google.com by nico.kru...@googlemail.com on 16 Apr 2012 at 12:05

GoogleCodeExporter commented 8 years ago
Please check if r4588 works as you suggested.

Original comment by axelclk@gmail.com on 16 Apr 2012 at 6:42

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 16 Apr 2012 at 6:42

GoogleCodeExporter commented 8 years ago
at the moment I did not want to react on the behavior switches but it's nice 
not to see them in the output any more :)
the new IWikiModel#parseBehaviorSwitch(String identifier) function seems useful 
for the case anyone likes to react on them though

Original comment by nico.kru...@googlemail.com on 17 Apr 2012 at 9:39

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 27 Apr 2012 at 9:47