General Actions:
List all pages having links to the page being viewed. Displays nothing if there are no links to the page being viewed.
#set($blinks = $doc.getBacklinks())
#if($blinks.size()>0 || $showEmptyPanels)
#panelheader($msg.get("docextra.backlinks"))
#set($first = true)
#foreach($docname in $blinks)
#set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument())
#if($first == true)
#set($first = false)
#else
<span class="pitemseparator"> | </span>
#end
<span class="panelitem"><a href="$rdoc.getURL('view')">$xwiki.getXMLEncoded($rdoc.displayTitle)</a></span>
#end
#panelfooter()
#end