* (bug 4334) Add "watch" links to Special:Unwatchedpages
authorRob Church <robchurch@users.mediawiki.org>
Thu, 5 Jan 2006 14:50:35 +0000 (14:50 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Thu, 5 Jan 2006 14:50:35 +0000 (14:50 +0000)
RELEASE-NOTES
includes/SpecialUnwatchedpages.php

index f7624b0..46c0f89 100644 (file)
@@ -405,6 +405,7 @@ fully support the editing toolbar, but was found to be too confusing.
   Special:Export form, 'exportnohistory' message to translate live hack.
 * (bug 4453) fix for __TOC__ dollar-number breakage
 * Maintenance script to delete unused user accounts
+* (bug 4334) Add "watch" links to Special:Unwatchedpages
 
 === Caveats ===
 
index 43b712e..d37ce07 100644 (file)
@@ -48,8 +48,9 @@ class UnwatchedpagesPage extends QueryPage {
                $text = $wgContLang->convert( $nt->getPrefixedText() );
                
                $plink = $skin->makeKnownLink( $nt->getPrefixedText(), htmlspecialchars( $text ) );
+               $wlink = $skin->makeKnownLinkObj( $nt, '(' . wfMsg( 'watch' ) . ')', 'action=watch' );
                
-               return $plink;
+               return $plink . ' ' . $wlink;
        }
 }