Manual:Update.php

Details
update.php checks if the schema>Special:MyLanguage/Manual:Database layout|MediaWiki database schema needs to be updated in order to work with the current version of MediaWiki. You should run  after each upgrade>Special:MyLanguage/Manual:Upgrading|upgrade of MediaWiki or after the update or install of an extension that requires a schema update. Most extensions that require schema updates will say so in their documentation.

From the command line
From the command line, or an SSH shell or similar:

 $ php update.php
 * Change to the maintenance directory
 * Run the update script:

 $ mwscript update.php

Parameters
This script offers several parameters (generic, script dependent and script specific) which may be required in some wiki environments.

Generic maintenance parameters

 * : used to get a prompt of all available script parameters (generic, script dependent and script specific) together with short explanations of their usage. These are less often used parameters.
 * : update wiki family if database name depends on virtual host, where wikiId - database name (e.g. enwiki, dewiki ...)