Feature #1903
Wiki macro
Start date:
27 Nov 2011
Due date:
04 Aug 2013
% Done:
100%
External issue:
Description
Add placeholder(s) to Wiki page content by adding a Wiki macro e.g. {{wiki_page_content}}
.
This way when writing Wiki page an author can add an ad by using this macro e.g.:
h2. Heading Hello this is some page... {{wiki_page_content}} h3. Section
Related issues
Associated revisions
Added Wiki macro (closes #1903)
History
#1 Updated by Andriy Lesyuk almost 13 years ago
- Status changed from New to Open
- Assignee set to Andriy Lesyuk
- Target version set to 1.0.0
#2 Updated by Andriy Lesyuk almost 13 years ago
I like this syntax more:
!{{inline_ads}}
- will callwiki_hooks_manager_inline_ads
!{{inline_ads(right)}}
- will callwiki_hooks_manager_inline_ads_right
#3 Updated by Andriy Lesyuk over 11 years ago
I think about generating hook name, e.g., view_wiki_content_hd44e4d541df4df15d41f4f
#4 Updated by Andriy Lesyuk over 11 years ago
Or:
- Hook name will be
view_wiki_inline_content
. - Wiki macro will be
{hook(parameter=value)}
. - Parameters will be “translated” into JS variables.
For example:{hook(parameter=value)}
Will be converted into:<script type="text/javascript"> <!-- parameter = "value"; //--> </script>
#5 Updated by Andriy Lesyuk over 11 years ago
- Due date set to 04 Aug 2013
- Status changed from Open to In Progress
- % Done changed from 0 to 100
Choose name {{inline_hook}}
.
#6 Updated by Andriy Lesyuk over 11 years ago
- Status changed from In Progress to Closed
Applied in changeset r19.