dokufreaks / plugin-include

A DokuWiki plugin for including other wiki pages into the current one.
http://www.dokuwiki.org/plugin:include
GNU General Public License v2.0
62 stars 54 forks source link

namespace include does not work with relative pathes #273

Open fthommen opened 2 years ago

fthommen commented 2 years ago

namespace includes don't work, when relative pathes are used:

====== Include Test ======

===== Individual Pages =====

{{page>..:pages:1}}

{{page>..:pages:2}}

===== Full Namespace Include =====

==== Relative Path ====
{{namespace>..:pages}}

==== Absolute Path ====
{{namespace>:it:scratch:frank:pages}}

results in

image

chrisisbd commented 1 year ago

Yes, I have hit this problem too. It makes include almost unusable on a moderately deeply nested wiki.

The documentation says "shortcuts are resolved (:, ., ..)" but I couldn't make any of these work with namespace.

fthommen commented 1 year ago

Would be nice to have a developer assessment on this issue