http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89800

Revision: 89800
Author:   raymond
Date:     2011-06-09 21:31:51 +0000 (Thu, 09 Jun 2011)
Log Message:
-----------
Self revert r89797: At least the block log link is wrong. I should not commit 
when bed calls me :/

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialContributions.php

Modified: trunk/phase3/includes/specials/SpecialContributions.php
===================================================================
--- trunk/phase3/includes/specials/SpecialContributions.php     2011-06-09 
21:25:41 UTC (rev 89799)
+++ trunk/phase3/includes/specials/SpecialContributions.php     2011-06-09 
21:31:51 UTC (rev 89800)
@@ -259,8 +259,13 @@
                        }
                        # Block log link
                        $tools[] = $sk->linkKnown(
-                               SpecialPage::getTitleFor( 'Log', 'block/' . 
$username ),
-                               wfMsgHtml( 'sp-contributions-blocklog' )
+                               SpecialPage::getTitleFor( 'Log' ),
+                               wfMsgHtml( 'sp-contributions-blocklog' ),
+                               array(),
+                               array(
+                                       'type' => 'block',
+                                       'page' => $userpage->getPrefixedText()
+                               )
                        );
                }
                # Uploads
@@ -271,8 +276,10 @@
 
                # Other logs link
                $tools[] = $sk->linkKnown(
-                       SpecialPage::getTitleFor( 'Log', $username ),
-                       wfMsgHtml( 'sp-contributions-logs' )
+                       SpecialPage::getTitleFor( 'Log' ),
+                       wfMsgHtml( 'sp-contributions-logs' ),
+                       array(),
+                       array( 'user' => $username )
                );
 
                # Add link to deleted user contributions for priviledged users


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to