From 9e3cc446b153eb822f70c909a08e071e63ec0bfd Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 27 Jun 2005 05:55:33 +0000 Subject: [PATCH] * (bug 2530) Not displaying talk pages on Special:Watchlist/edit --- RELEASE-NOTES | 1 + includes/SpecialWatchlist.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 79c94d2693..8395ac4a2a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -380,6 +380,7 @@ Various bugfixes, small features, and a few experimental things: * (bug 2273) deletion log comment used user interface langage * Try reading revision _text_ from master if no result on slave * Use content-language message cache for raw view of message pages +* (bug 2530) Not displaying talk pages on Special:Watchlist/edit === Caveats === diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index a8344da40c..d3247c7591 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -139,8 +139,10 @@ function wfSpecialWatchlist( $par ) { $list[$s->wl_namespace][] = $s->wl_title; } - // TODO: Display a t TOC + // TODO: Display a TOC foreach($list as $ns => $titles) { + if (Namespace::isTalk($ns)) + continue; if ($ns != NS_MAIN) $wgOut->addHTML( '

' . $wgContLang->getFormattedNsText( $ns ) . '

' ); $wgOut->addHTML( '