> You're right, I had never noticed this or didn't recall it...
> 
> I've checked the code and found where we do this conversion (it's in
> XWikiLinkFilter.java, line 206 and 213 FWIW).
> 
> The easy solution is to write: [SamplePage>SamplePage].
> 
> Now if you really to change the behavior, you'd need to do the
> following:
> 
> 1) Create a class that extends XWikiLinkFilter.java and overrides the
> protected String getWikiView(String name) method. You can make it
> return name directly.
> 2) modify the META-INF/services/com/xpn/xwiki/render/filter/
> XWikiFilter file and replace XWikiFilter by the name of your class
> 3) compile your class (you'll need the xwiki core JAR in WEB-INF/lib/
> xwiki-core-*.jar) and copy it in WEB-INF/classes (or get xwiki sources
> from SVN and rebuild the core with your class).
> 
> Hope it helps,
> -Vincent
> 

Wow, excellent answer; and quick too!

Thanks!
Paul G.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to