39 parent::__construct(
'Mycontributions' );
41 $this->tempUserConfig = $tempUserConfig;
43 $this->mAllowedRedirectParams = [
'limit',
'namespace',
'tagfilter',
44 'offset',
'dir',
'year',
'month',
'feed',
'deletedOnly',
45 'nsInvert',
'associated',
'newOnly',
'topOnly',
'start',
'end',
55 if ( $this->tempUserConfig->isEnabled() && $this->getUser()->isAnon() ) {
76class_alias( SpecialMycontributions::class,
'SpecialMycontributions' );
Shortcut to construct a special page alias.
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,...
getUser()
Shortcut to get the User executing this instance.
requireLogin( $reasonMsg='exception-nologin-text', $titleMsg='exception-nologin')
If the user is not logged in, throws UserNotLoggedIn error.
getName()
Get the canonical, unlocalized name of this special page without namespace.