Index: trunk/extensions/SemanticResultFormats/GraphViz/SRF_Graph.php |
— | — | @@ -88,7 +88,7 @@ |
89 | 89 | |
90 | 90 | while ( ($object = $field->getNextObject()) !== false ) { |
91 | 91 | |
92 | | - $text = $object->getShortText($outputmode); |
| 92 | + $text = $object->getShortText($outputmode); |
93 | 93 | |
94 | 94 | if ($firstcol) { |
95 | 95 | $firstcolvalue = $object->getShortText($outputmode); |
— | — | @@ -96,7 +96,10 @@ |
97 | 97 | } |
98 | 98 | |
99 | 99 | if ($this->m_graphLink==true){ |
100 | | - $graphInput .= " \"$text\" [URL = \"[[$text]]\"]; "; |
| 100 | + $nodeLinkTitle = Title::newFromText($text); |
| 101 | + $nodeLinkURL = $nodeLinkTitle->getLocalURL(); |
| 102 | + |
| 103 | + $graphInput .= " \"$text\" [URL = \"$nodeLinkURL\"]; "; |
101 | 104 | } |
102 | 105 | |
103 | 106 | if (!$firstcol) { |