Translations:Manual:Sql.php/10/en

If you give an SQL file as the first argument, it will replace MediaWiki specific code comments like $1 for the configured database prefix (among others).