Steps to replicate the issue (include links if applicable):
Operating System Ubuntu 20.04
Software installed: Apache, MariaDB
- Install mediawiki 1.39.5 or 1.39.6
- Install Grabbers
- run grabText.php on remote wikis
remote wikis: https://nerfpedialegacy.fandom.com, https://nerf.fandom.com
What happens?:
under namespace 3 aka User Talk, the following failure occurs
Inserting revision 78347
Notice: We encountered an user rename on ID 11530769, SSéÿßlâÐëRèvêñgë => ßéÿßlâÐëRèvêñgë
CannotCreateActorException from line 431 of /var/www/html/w/includes/user/ActorStore.php: Failed to create actor ID for user_id=11530769 user_name="SSéÿßlâÐëRèvêñgë"
#0 /var/www/html/w/grabbers/includes/ExternalWikiGrabber.php(185): MediaWiki\User\ActorStore->acquireActorId()
#1 /var/www/html/w/grabbers/includes/TextGrabber.php(157): ExternalWikiGrabber->getUserIdentity()
#2 /var/www/html/w/grabbers/grabText.php(283): TextGrabber->processRevision()
#3 /var/www/html/w/grabbers/grabText.php(131): GrabText->processPage()
#4 /var/www/html/w/grabbers/grabText.php(94): GrabText->processPagesFromNamespace()
#5 /var/www/html/w/maintenance/includes/MaintenanceRunner.php(309): GrabText->execute()
#6 /var/www/html/w/maintenance/doMaintenance.php(85): MediaWiki\Maintenance\MaintenanceRunner->run()
#7 /var/www/html/w/grabbers/grabText.php(344): require_once('/var/www/html/w...')
What should have happened instead?:
This should not have occurred and all text revisions should have copied correctly without error. Is not handling non-English characters correctly.
Should renameuser extension have been installed to avoid this error?
Software version (skip for WMF-hosted wikis like Wikipedia): 1.39.5 or 1.39.6