From: Ævar Arnfjörð Bjarmason Date: Mon, 27 Jun 2005 05:55:33 +0000 (+0000) Subject: * (bug 2530) Not displaying talk pages on Special:Watchlist/edit X-Git-Tag: 1.5.0beta2~180 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=9e3cc446b153eb822f70c909a08e071e63ec0bfd;p=lhc%2Fweb%2Fwiklou.git * (bug 2530) Not displaying talk pages on Special:Watchlist/edit --- 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( '