81 'DeletedContributions',
84 $this->revisionStore = $revisionStore;
85 $this->commentFormatter = $commentFormatter;
86 $this->linkBatchFactory = $linkBatchFactory;
87 $this->tempUserConfig = $tempUserConfig;
94 if ( $this->pager ===
null ) {
100 $this->namespaceInfo,
101 $this->commentFormatter,
102 $this->linkBatchFactory,
125 $tools = parent::getUserLinks( $sp, $target );
128 $contributionsLink = $linkRenderer->makeKnownLink(
130 $this->msg(
'sp-deletedcontributions-contribs' )->text()
132 if ( isset( $tools[
'deletedcontribs'] ) ) {
135 $tools, [
'contribs' => $contributionsLink ],
'deletedcontribs' );
136 unset( $tools[
'deletedcontribs'] );
138 $tools[
'contribs'] = $contributionsLink;
149 $messageKey =
'deletedcontributions-title';
150 if ( $this->tempUserConfig->isEnabled() && IPUtils::isIPAddress( $target->
getName() ) ) {
151 $messageKey .=
'-for-ip-when-temporary-accounts-enabled';
158class_alias( SpecialDeletedContributions::class,
'SpecialDeletedContributions' );
wfArrayInsertAfter(array $array, array $insert, $after)
Insert an array into another array after the specified key.
Show user contributions in a paged list.
UserIdentityLookup $userIdentityLookup
NamespaceInfo $namespaceInfo
PermissionManager $permissionManager
UserOptionsLookup $userOptionsLookup
UserNamePrefixSearch $userNamePrefixSearch
IConnectionProvider $dbProvider
UserNameUtils $userNameUtils
DatabaseBlockStore $blockStore
Parent class for all special pages.
static getTitleFor( $name, $subpage=false, $fragment='')
Get a localised Title object for a specified special page name If you don't need a full Title object,...
getContext()
Gets the context this SpecialPage is executed in.