Index: branches/liquidthreads/extensions/LqtExtension.php |
— | — | @@ -61,6 +61,12 @@ |
62 | 62 | } else if ( $title->getNamespace() == NS_LQT_THREAD ) { |
63 | 63 | self::threadPermalinkMain($output, $article, $title, $user, $request); |
64 | 64 | return false; |
| 65 | + } else if ($title->getNamespace() == NS_LQT_HEADER) { |
| 66 | + $talkt = Title::newFromText( $title->getText() ); |
| 67 | + $url = $talkt->getFullURL(); |
| 68 | + $name = $talkt->getPrefixedText(); |
| 69 | + $output->setSubtitle("part of <a href=\"$url\">$name</a>."); |
| 70 | + return true; |
65 | 71 | } |
66 | 72 | return true; |
67 | 73 | } |