From 29dc949221590b83ac8322210d690b1cfdc4a488 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 14 Mar 2008 22:50:09 +0000 Subject: [PATCH] (bug 12882) Adding a arround "Mark as patrolled" link on diffs --- RELEASE-NOTES | 2 ++ includes/DifferenceEngine.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4a95ba5ce4..c5929d35f1 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -42,6 +42,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13269) Added MediaWiki:Uploadfooter to the bottom of Special:Upload * (bug 2815) Search results for media now use thumb instead of text extract * When a page doesn't exist, the tab should say "create", not "edit" +* (bug 12882) Added a span with class "patrollink" arround "Mark as patrolled" + link on diffs === Bug fixes in 1.13 === diff --git a/includes/DifferenceEngine.php b/includes/DifferenceEngine.php index 9aa17bbb70..48a8226ed0 100644 --- a/includes/DifferenceEngine.php +++ b/includes/DifferenceEngine.php @@ -186,11 +186,11 @@ CONTROL; } // Build the link if( $rcid ) { - $patrol = ' [' . $sk->makeKnownLinkObj( + $patrol = ' [' . $sk->makeKnownLinkObj( $this->mTitle, wfMsgHtml( 'markaspatrolleddiff' ), "action=markpatrolled&rcid={$rcid}" - ) . ']'; + ) . ']'; } else { $patrol = ''; } -- 2.20.1