Move methods for handling external usernames to a dedicated class
authorAmir Sarabadani <ladsgroup@gmail.com>
Thu, 11 Jan 2018 12:20:35 +0000 (13:20 +0100)
committerAmir Sarabadani <ladsgroup@gmail.com>
Thu, 18 Jan 2018 20:02:49 +0000 (21:02 +0100)
commitdc4089b268b2d0bcf904e4b8ba6679f8c9115aac
tree8e96184ed8919272967bb2a1d11f7bdcde896f58
parentfded33d6deb75ecd50eb5ba8f1bea03106474308
Move methods for handling external usernames to a dedicated class

This makes things centralized to reduce maintenance cost and also
enables me to use this methods in Wikibase to handle RC injection

Bug: T185034
Change-Id: Ic8c602e316144ccb5b05c69a0cc607cd53e38912
autoload.php
includes/Linker.php
includes/import/WikiImporter.php
includes/user/ExternalUserNames.php [new file with mode: 0644]
tests/phpunit/includes/user/ExternalUserNamesTest.php [new file with mode: 0644]