Confluence 4.1: custom wiki macro got broken and many pages aren't displayed properly

It seems one of custom macro got broken. It used to be wiki output format, now this field is missing.
There're only 2 non-commented lines in its template:

  h1. [$title]
 {include: $title}

All documents, which use the macro are not displayed properly, like below

h1. [Add a system calculated ad serving fee] {include: Add a system calculated ad serving fee} h1. [View and edit ad serving fees by ad server] {include: View and edit ad serving fees by ad server} h1. [View system calculated ad serving fees] {include: View system calculated ad serving fees} h1. [View placement/package specific ad serving fees] {include: View placement/package specific ad serving fees} h1. [Reporting & extracts for ad serving fees] {include: Reporting & extracts for ad serving fees} h1. [Map ad server to supplier (Photon)] {include: Map ad server to supplier (Photon)}

Is there anyway to restore macro's output format or create HTML one with the same function?


1 answer

This widget could not be displayed.

Actually full "wiki" formatted macro is below:

## No macro body
## Output is Wiki Markup
## Assume current space.
## Default root is current page, unless caller specifies different root.
#set ($key=$space.getKey())
#set ($root=$
#set ($thisPageTitle=$action.getPage().getTitle())
#if ($paramroot)
   #if ($paramroot=="parent")
      #set ($root=$action.getPage().getParent())
      #set ($root=$
#set ($kids=$root.getSortedChildren())
#foreach ($page in $kids)
   #set ($title=$page.getTitle())
   ## check title to avoid including self if root is above this page
   #if ("$title"!="$thisPageTitle")
      h1. [$title]
     {include: $title}
I would appreciate any help to convert it to HTTP one.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

596 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you