(bug 12882) Adding a <span class="patrollink"></span> arround "Mark as patrolled...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 14 Mar 2008 22:50:09 +0000 (22:50 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 14 Mar 2008 22:50:09 +0000 (22:50 +0000)
RELEASE-NOTES
includes/DifferenceEngine.php

index 4a95ba5..c5929d3 100644 (file)
@@ -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 ===
 
index 9aa17bb..48a8226 100644 (file)
@@ -186,11 +186,11 @@ CONTROL;
                        }
                        // Build the link
                        if( $rcid ) {
-                               $patrol = ' [' . $sk->makeKnownLinkObj(
+                               $patrol = ' <span class="patrollink">[' . $sk->makeKnownLinkObj(
                                        $this->mTitle,
                                        wfMsgHtml( 'markaspatrolleddiff' ),
                                        "action=markpatrolled&rcid={$rcid}"
-                               ) . ']';
+                               ) . ']</span>';
                        } else {
                                $patrol = '';
                        }