Translations:Manual:Maintenance scripts/Running the scripts/28/en

If your script fails to run, and spews out a lot of error messages, the first thing to try is to set the $1 environment variable to point to the root of your MediaWiki installation.