-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27.08.2014 13:27, Roger Oberholtzer wrote:
> I am trying to Include a sub-wiki page in a wiki page. If I have a page
> called 'here', the following works:
> 
>      [[Include(here/subPage)]]
> 
> but the following does not:
> 
>      [[Include(./subPage)]]
> 
> It complains that ./subPage cannot be found. According to the docs, the
> second syntax should be equivalent with the first.

With docs you refer to TracLinks, specifically the paragraph on relative
links [1]? Well, a short look at the current source code reveals, that
that wiki page name resolution is not implemented yet in IncludeMacro.
To implement it, one would have to use a wiki page link resolver syntax
like in WikiSystem component [2]. Unluckily that one is modular, but not
exposed for re-use by plugins, so we would need to copy it.

Steffen Hoffmann


[1] http://trac.edgewall.org/wiki/TracLinks#Relativelinks
[2] http://trac.edgewall.org/browser/trunk/trac/wiki/api.py?rev=12853#L405

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlP+NtYACgkQ31DJeiZFuHc0ugCfS5OMc9X3o3oKO+/c8eyXWMCI
UDwAoJKCiE3JUU3Mi0lpTsl6/8PbToSJ
=pSeJ
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to