From: Alexandre Emsenhuber Date: Fri, 14 Mar 2008 22:50:09 +0000 (+0000) Subject: (bug 12882) Adding a arround "Mark as patrolled... X-Git-Tag: 1.31.0-rc.0~49095 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=29dc949221590b83ac8322210d690b1cfdc4a488;p=lhc%2Fweb%2Fwiklou.git (bug 12882) Adding a arround "Mark as patrolled" link on diffs --- 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 = ''; }