96 'DeletedContributions',
99 $this->revisionStore = $revisionStore;
100 $this->commentFormatter = $commentFormatter;
101 $this->linkBatchFactory = $linkBatchFactory;
102 $this->tempUserConfig = $tempUserConfig;
109 if ( $this->pager ===
null ) {
114 $this->revisionStore,
115 $this->namespaceInfo,
116 $this->commentFormatter,
117 $this->linkBatchFactory,
140 $tools = parent::getUserLinks( $sp, $target );
143 $contributionsLink = $linkRenderer->makeKnownLink(
145 $this->msg(
'sp-deletedcontributions-contribs' )->text()
147 if ( isset( $tools[
'deletedcontribs'] ) ) {
150 $tools, [
'contribs' => $contributionsLink ],
'deletedcontribs' );
151 unset( $tools[
'deletedcontribs'] );
153 $tools[
'contribs'] = $contributionsLink;
164 $messageKey =
'deletedcontributions-title';
165 if ( $this->tempUserConfig->isEnabled() && IPUtils::isIPAddress( $target->
getName() ) ) {
166 $messageKey .=
'-for-ip-when-temporary-accounts-enabled';
173class_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.