Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QP_Timeline.php |
— | — | @@ -96,7 +96,11 @@ |
97 | 97 | if ( !$hastitle && $object->getTypeID() != '_wpg') { // "linking" non-pages in title positions confuses timeline scripts, don't try this |
98 | 98 | $l = NULL; |
99 | 99 | } |
100 | | - $objectlabel = $object->getShortText($outputmode,$l); |
| 100 | + if ($object->getTypeID() == '_wpg') { // use shorter "LongText" for wikipage |
| 101 | + $objectlabel = $object->getLongText($outputmode,$l); |
| 102 | + } else { |
| 103 | + $objectlabel = $object->getShortText($outputmode,$l); |
| 104 | + } |
101 | 105 | $urlobject = ($l !== NULL); |
102 | 106 | $header = ''; |
103 | 107 | if ($first_value) { |