mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-11-24 00:05:33 +00:00
Add class to nuke contribs link
Continuation of MW core patch 603941 Change-Id: I3ae1aeddbd0c00ffecf7b8b8115cf161b0e15202
This commit is contained in:
parent
5cb6cece54
commit
029111351c
|
@ -23,7 +23,10 @@ class Hooks implements ContributionsToolLinksHook {
|
|||
$tools['nuke'] = $specialPage->getLinkRenderer()->makeKnownLink(
|
||||
SpecialPage::getTitleFor( 'Nuke' ),
|
||||
$specialPage->msg( 'nuke-linkoncontribs' )->text(),
|
||||
[ 'title' => $specialPage->msg( 'nuke-linkoncontribs-text', $username )->text() ],
|
||||
[
|
||||
'title' => $specialPage->msg( 'nuke-linkoncontribs-text', $username )->text(),
|
||||
'class' => 'mw-contributions-link-nuke'
|
||||
],
|
||||
[ 'target' => $username ]
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue