Hi all,
I have used the replaceAll.php script in the past without a problem, but for some reason it doesn't work for me anymore. What I try to do from the command line is the following:
php ./maintenance/replaceAll.php "some text" "the text that will replace the some text"
This returns: Couldn't translate '1' to a user.
php ./maintenance/replaceAll.php "some text" "the text that will replace the some text" --user="WikiSysop"
This returns: Couldn't translate 'WikiSysop' to a user.
The settings in the LocalSettings.php are:
wfLoadExtension( 'ReplaceText' );
$wgReplaceTextUser = "WikiSysop"; /*Just added this without success*/
$wgGroupPermissions['sysop']['replacetext'] = true;
$wgRunJobsAsync = false;
And this is on a mediawiki that runs:
- MW 1.41.2
- PHP 7.4.33 (fpm-fcgi)
- MySQL 8.0.36
Any idea what I might do wrong? Thanks!