* (bug 2530) Not displaying talk pages on Special:Watchlist/edit
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 27 Jun 2005 05:55:33 +0000 (05:55 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 27 Jun 2005 05:55:33 +0000 (05:55 +0000)
RELEASE-NOTES
includes/SpecialWatchlist.php

index 79c94d2..8395ac4 100644 (file)
@@ -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 ===
index a8344da..d3247c7 100644 (file)
@@ -139,8 +139,10 @@ function wfSpecialWatchlist( $par ) {
                        $list[$s->wl_namespace][] = $s->wl_title;
                }
                
-               // TODO: Display a TOC
+               // TODO: Display a TOC
                foreach($list as $ns => $titles) {
+                       if (Namespace::isTalk($ns))
+                               continue;
                        if ($ns != NS_MAIN) 
                                $wgOut->addHTML( '<h2>' . $wgContLang->getFormattedNsText( $ns ) . '</h2>' );
                        $wgOut->addHTML( '<ul>' );