Merge "Change "slave" => "replica DB" in /maintenance"
[lhc/web/wiklou.git] / includes / specials / SpecialContributions.php
index 0a98721..68289a7 100644 (file)
@@ -203,7 +203,7 @@ class SpecialContributions extends IncludableSpecialPage {
                        if ( !$pager->getNumRows() ) {
                                $out->addWikiMsg( 'nocontribs', $target );
                        } else {
-                               # Show a message about slave lag, if applicable
+                               # Show a message about replica DB lag, if applicable
                                $lag = wfGetLB()->safeGetLag( $pager->getDatabase() );
                                if ( $lag > 0 ) {
                                        $out->showLagWarning( $lag );
@@ -363,7 +363,7 @@ class SpecialContributions extends IncludableSpecialPage {
                        if ( $sp->getUser()->isAllowed( 'suppressionlog' ) ) {
                                $tools['log-suppression'] = $linkRenderer->makeKnownLink(
                                        SpecialPage::getTitleFor( 'Log', 'suppress' ),
-                                       $sp->msg( 'sp-contributions-suppresslog' )->text(),
+                                       $sp->msg( 'sp-contributions-suppresslog', $username )->text(),
                                        [],
                                        [ 'offender' => $username ]
                                );
@@ -385,7 +385,7 @@ class SpecialContributions extends IncludableSpecialPage {
                if ( $sp->getUser()->isAllowed( 'deletedhistory' ) ) {
                        $tools['deletedcontribs'] = $linkRenderer->makeKnownLink(
                                SpecialPage::getTitleFor( 'DeletedContributions', $username ),
-                               $sp->msg( 'sp-contributions-deleted' )->text()
+                               $sp->msg( 'sp-contributions-deleted', $username )->text()
                        );
                }