You can create a little script of your own and run it via the web server. Inside the script place some
PHP Code:
exec('som command', $output)
calls and afterwards check the $output by using
PHP Code:
var_dump($output);
or
PHP Code:
print_r($output, true);
.
Some mediawiki PHP scripts that must be executed from the command line check if the script was called via the apache. This might cause problems in the solution above.
The other way is to do it manually at a local server and then update the database with the new tables.