Feature #13294
openMore powerful includes
0%
Description
Lets say I have project Standards
which holds some reusables, like typical sidebars.
If on project X's sidebar I write
{{include(Standards: Sidebar-Common)}}
and if Sidebar-Common itself contains reference to some other macros like:
{{child_pages}}
I will nto get desired result (it will list child pages of its parent in Standards project, rather then that of the project X).
Another example, I have plugin that allows me to have Header, Footer and Stylesheet meta-pages just like Sidebar. If I have wiki page [[Standards: Header-Common]]
which holds for example
{{lastupdated_at}}: {{lastupdated_by}}
and then reference that page from project X's Header as {{include( Standards:Header-Common)}}
I will get who update page in project Standards, rather then project X.
One possible solution would be to implement another directive, such as include_recursive
that will allow macros to reference the calling page, rather then the parent page.
So, this feature allows for propagation of changes to multiple projects that follow some pattern from single project.
No data to display