Index: branches/liquidthreads/extensions/LqtExtension.php |
— | — | @@ -684,7 +684,7 @@ |
685 | 685 | global $wgHooks; |
686 | 686 | $wgHooks['SkinTemplateTabs'][] = array($this, 'customizeTabs'); |
687 | 687 | |
688 | | - $this->output->setPageTitle( "Talk:" . $this->title->getText() ); // TODO non-main namespaces. |
| 688 | + $this->output->setPageTitle( $this->title->getTalkpage()->getPrefixedText() ); |
689 | 689 | $this->addJSandCSS(); |
690 | 690 | |
691 | 691 | $this->showHeader(); |
— | — | @@ -901,7 +901,7 @@ |
902 | 902 | global $wgHooks; |
903 | 903 | $wgHooks['SkinTemplateTabs'][] = array($this, 'customizeTabs'); |
904 | 904 | |
905 | | - $this->output->setPageTitle( "Talk:" . $this->title->getText() ); // TODO non-main namespaces. |
| 905 | + $this->output->setPageTitle( $this->title->getTalkpage()->getPrefixedText() ); |
906 | 906 | $this->addJSandCSS(); |
907 | 907 | |
908 | 908 | $empty = $this->showSearchForm(); |