return Title::makeTitle( NS_USER, $this->getUser()->getName() . '/' . $subpage );
}
+
+ /**
+ * Target identifies a specific User. See T109724.
+ *
+ * @since 1.27
+ * @return bool
+ */
+ public function personallyIdentifiableTarget() {
+ return true;
+ }
}
/**
return Title::makeTitle( NS_USER_TALK, $this->getUser()->getName() . '/' . $subpage );
}
+
+ /**
+ * Target identifies a specific User. See T109724.
+ *
+ * @since 1.27
+ * @return bool
+ */
+ public function personallyIdentifiableTarget() {
+ return true;
+ }
}
/**
class SpecialMycontributions extends RedirectSpecialPage {
public function __construct() {
parent::__construct( 'Mycontributions' );
- $this->mAllowedRedirectParams = array( 'limit', 'namespace', 'tagfilter',
+ $this->mAllowedRedirectParams = [ 'limit', 'namespace', 'tagfilter',
'offset', 'dir', 'year', 'month', 'feed', 'deletedOnly',
- 'nsInvert', 'associated', 'newOnly', 'topOnly' );
+ 'nsInvert', 'associated', 'newOnly', 'topOnly' ];
}
/**
public function getRedirect( $subpage ) {
return SpecialPage::getTitleFor( 'Contributions', $this->getUser()->getName() );
}
+
+ /**
+ * Target identifies a specific User. See T109724.
+ *
+ * @since 1.27
+ * @return bool
+ */
+ public function personallyIdentifiableTarget() {
+ return true;
+ }
}
/**
class SpecialMyuploads extends RedirectSpecialPage {
public function __construct() {
parent::__construct( 'Myuploads' );
- $this->mAllowedRedirectParams = array( 'limit', 'ilshowall', 'ilsearch' );
+ $this->mAllowedRedirectParams = [ 'limit', 'ilshowall', 'ilsearch' ];
}
/**
public function getRedirect( $subpage ) {
return SpecialPage::getTitleFor( 'Listfiles', $this->getUser()->getName() );
}
+
+ /**
+ * Target identifies a specific User. See T109724.
+ *
+ * @since 1.27
+ * @return bool
+ */
+ public function personallyIdentifiableTarget() {
+ return true;
+ }
}
/**
class SpecialAllMyUploads extends RedirectSpecialPage {
public function __construct() {
parent::__construct( 'AllMyUploads' );
- $this->mAllowedRedirectParams = array( 'limit', 'ilsearch' );
+ $this->mAllowedRedirectParams = [ 'limit', 'ilsearch' ];
}
/**
return SpecialPage::getTitleFor( 'Listfiles', $this->getUser()->getName() );
}
+
+ /**
+ * Target identifies a specific User. See T109724.
+ *
+ * @since 1.27
+ * @return bool
+ */
+ public function personallyIdentifiableTarget() {
+ return true;
+ }
}