*
* @param string $permissions,... Permissions to test
* @return bool True if user is allowed to perform *any* of the given actions
+ * @suppress PhanCommentParamOnEmptyParamList Cannot make variadic due to HHVM bug, T191668#5263929
*/
public function isAllowedAny() {
return MediaWikiServices::getInstance()
* ->getPermissionManager()->userHasAllRights(...) instead
* @param string $permissions,... Permissions to test
* @return bool True if the user is allowed to perform *all* of the given actions
+ * @suppress PhanCommentParamOnEmptyParamList Cannot make variadic due to HHVM bug, T191668#5263929
*/
public function isAllowedAll() {
return MediaWikiServices::getInstance()
* @return bool
*/
public function addNewUserLogEntryAutoCreate() {
+ wfDeprecated( __METHOD__, '1.27' );
$this->addNewUserLogEntry( 'autocreate' );
return true;