Merge ".mailmap: Correct two contributor names"
[mediawiki.git] / includes / user / TempUser / SerialMapping.php
blob455b7551795b38887fd405938b0093c7397df24c
1 <?php
3 namespace MediaWiki\User\TempUser;
5 /**
6 * Interface for integer to string mappings for temporary user autocreation
8 * @since 1.39
9 */
10 interface SerialMapping {
11 /**
12 * @param int $index
13 * @return string The serial ID. This should consist of title characters
14 * but should not be a single asterisk.
16 public function getSerialIdForIndex( int $index ): string;