Index: branches/wmf-deployment/extensions/LiquidThreads/classes/View.php |
— | — | @@ -561,10 +561,12 @@ |
562 | 562 | 'enabled' => true, 'icon' => 'reply.png', 'showlabel' => 1, |
563 | 563 | 'tooltip' => wfMsg( 'lqt_reply' ) ); |
564 | 564 | |
565 | | - $commands['link'] = array( 'label' => wfMsgExt( 'lqt_permalink', 'parseinline' ), |
566 | | - 'href' => $thread->title()->getFullURL(), |
567 | | - 'enabled' => true, 'icon' => 'link.png', |
568 | | - 'tooltip' => wfMsgExt( 'lqt_permalink', 'parseinline' ) ); |
| 565 | + if ($thread->title()) { |
| 566 | + $commands['link'] = array( 'label' => wfMsgExt( 'lqt_permalink', 'parseinline' ), |
| 567 | + 'href' => $thread->title()->getFullURL(), |
| 568 | + 'enabled' => true, 'icon' => 'link.png', |
| 569 | + 'tooltip' => wfMsgExt( 'lqt_permalink', 'parseinline' ) ); |
| 570 | + } |
569 | 571 | |
570 | 572 | if ( $thread->root()->getTitle()->quickUserCan( 'edit' ) ) { |
571 | 573 | $commands['edit'] = array( 'label' => wfMsgExt( 'edit', 'parseinline' ), |
Property changes on: branches/wmf-deployment/extensions/LiquidThreads |
___________________________________________________________________ |
Name: svn:mergeinfo |
572 | 574 | - /branches/REL1_15/phase3/extensions/LiquidThreads:51646 |
/trunk/extensions/LiquidThreads:56151-57116,57130-57134,57169,57193,57195,57198,57200-57206 |
/trunk/phase3/extensions/LiquidThreads:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350 |
573 | 575 | + /branches/REL1_15/phase3/extensions/LiquidThreads:51646 |
/trunk/extensions/LiquidThreads:56151-57116,57130-57134,57169,57193,57195,57198,57200-57206,57215 |
/trunk/phase3/extensions/LiquidThreads:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350 |