From 6ec29b3bf5880e6ee51e2a2fc5981dc577999053 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Thu, 5 Jan 2006 14:50:35 +0000 Subject: [PATCH] * (bug 4334) Add "watch" links to Special:Unwatchedpages --- RELEASE-NOTES | 1 + includes/SpecialUnwatchedpages.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f7624b0550..46c0f89c3a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/SpecialUnwatchedpages.php b/includes/SpecialUnwatchedpages.php index 43b712e101..d37ce07b31 100644 --- a/includes/SpecialUnwatchedpages.php +++ b/includes/SpecialUnwatchedpages.php @@ -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; } } -- 2.20.1