Incomprehensible line of code on each page

Vladimir Obukhov January 22, 2020

Hello, i update the confluence server, from 6.9.0 to 7.2.1 version, after updating I observe an obscure line of code on all pages in all spaces. I use default template for web parts.

How can this be removed?

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))

 I also see that this problem is not only mine, example:

https://kb.nocproject.org/display/SITE/About

https://docs.onapp.com/display/35AG/Copy+Billing+Plan

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=9011888&navigatingVersions=true

1 comment

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 22, 2020

You've used the "trackback" macro on these pages.  This was deprecated a while ago and removed from Confluence 7.

In the long term, you will want to remove all usage of it.

In the short term, you can pretty it up - write a new "user macro" called trackbackRDF that does nothing at all.  This will

  • remove the display you're getting from every page
  • enable you to use the "macro search" in Confluence admin to find and remove them

As you're seeing it a lot, I would guess you have embedded it into a theme, or possibly some page templates.  I'd remove the macro from there first.

Like # people like this
Vladimir Obukhov January 22, 2020

Strange, I didn’t change anything at all, maybe something went wrong when updating confluence.
And yet thanks, your advice helped solve my problem.

 

My solution: 

Admin page -> Layouts (look and feel)

Page Layout (or more) -> Reset to default

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 22, 2020

No, sorry, you have misunderstood.

The code you are seeing is a block that is a macro.  That macro was removed from your install by your upgrade

Glad the fix helped though, even better that it was in the Layouts, so it's easy to remove!

Like Vladimir Obukhov likes this

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events