array(),
array( 'page' => $userpage->getPrefixedText() )
);
+
+ # Suppression log link (bug 59120)
+ if ( $this->getUser()->isAllowed( 'suppressionlog' ) ) {
+ $tools[] = Linker::linkKnown(
+ SpecialPage::getTitleFor( 'Log', 'suppress' ),
+ $this->msg( 'sp-contributions-suppresslog' )->escaped(),
+ array(),
+ array( 'offender' => $username )
+ );
+ }
}
# Uploads
$tools[] = Linker::linkKnown(
'page' => $nt->getPrefixedText()
)
);
+ # Suppression log link (bug 59120)
+ if ( $this->getUser()->isAllowed( 'suppressionlog' ) ) {
+ $tools[] = Linker::linkKnown(
+ SpecialPage::getTitleFor( 'Log', 'suppress' ),
+ $this->msg( 'sp-contributions-suppresslog' )->escaped(),
+ array(),
+ array( 'offender' => $userObj->getName() )
+ );
+ }
}
# Uploads
'sp-contributions-newbies-sub' => 'For new accounts',
'sp-contributions-newbies-title' => 'User contributions for new accounts',
'sp-contributions-blocklog' => 'block log',
+'sp-contributions-suppresslog' => 'suppressed user contributions',
'sp-contributions-deleted' => 'deleted user contributions',
'sp-contributions-uploads' => 'uploads',
'sp-contributions-logs' => 'logs',
* {{msg-mw|Sp-contributions-deleted}}
* {{msg-mw|Sp-contributions-userrights}}
{{Identical|Block log}}',
+'sp-contributions-suppresslog' => 'Used as a display name for a link to log entries of suppressed edits made by that user.
+
+Used as link title in [[Special:Contributions]] and in [[Special:DeletedContributions]].',
'sp-contributions-deleted' => "This is a link anchor used in [[Special:Contributions]]/''name'', when user viewing the page has the right to delete pages, or to restore deleted pages.
Used as link title in [[Special:Contributions]].
'sp-contributions-blocked-notice',
'sp-contributions-blocked-notice-anon',
'sp-contributions-search',
+ 'sp-contributions-suppresslog',
'sp-contributions-username',
'sp-contributions-toponly',
'sp-contributions-submit',