MediaWiki REL1_39
TempUserConfig.php
Go to the documentation of this file.
1<?php
2
4
14interface TempUserConfig {
20 public function isEnabled();
21
28 public function isAutoCreateAction( string $action );
29
37 public function isReservedName( string $name );
38
44 public function getPlaceholderName(): string;
45}
Interface for temporary user creation config and name matching.
getPlaceholderName()
Get a placeholder name which matches the reserved prefix.
isReservedName(string $name)
Does the name match the configured pattern indicating that it is a temporary auto-created user?
isAutoCreateAction(string $action)
Is the action valid for user auto-creation?
isEnabled()
Is temp user creation enabled?