Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QP_Timeline.php |
— | — | @@ -93,6 +93,9 @@ |
94 | 94 | $pr = $field->getPrintRequest(); |
95 | 95 | while ( ($object = $field->getNextObject()) !== false ) { |
96 | 96 | $l = $this->getLinker($first_col); |
| 97 | + if ( !$hastitle && $object->getTypeID() != '_wpg') { // "linking" non-pages in title positions confuses timeline scripts, don't try this |
| 98 | + $l = NULL; |
| 99 | + } |
97 | 100 | $objectlabel = $object->getShortText($outputmode,$l); |
98 | 101 | $urlobject = ($l !== NULL); |
99 | 102 | $header = ''; |