Difference between revisions of "Template:Extension/doc"
Jump to navigation
Jump to search
→Content parameters
>Wikinaut |
>Wikinaut |
||
Line 176: | Line 176: | ||
| <span id="php">php</span>|| required version of PHP | | <span id="php">php</span>|| required version of PHP | ||
|- | |- | ||
| <span id="needs-updatephp">needs-updatephp</span>|| '''''yes''''' indicates that the extension requires a database table schema change. | | <span id="needs-updatephp">needs-updatephp</span>|| '''''yes''''' indicates that the extension requires a database table schema change or a similar action, before the MediaWiki can run. It is a common pitfall: your MediaWiki will stall, if you forgot to run update.php - if the extension requires it. | ||
Extensions which conform to MediaWiki extension standards come with a '''schema change script which you need to start manually''' after you copied all the extension files to <tt>$IP/extensions/ExtensionName</tt> and inserted <tt>require_once( "$IP/extensions/ExtensioName" )</tt> to <tt>$IP/LocalSettings.php</tt>: | Extensions which conform to MediaWiki extension standards come with a '''schema change script which you need to start manually''' (once) before starting and accessing the MediaWiki through your browser, and after you copied all the extension files to <tt>$IP/extensions/ExtensionName</tt> and inserted <tt>require_once( "$IP/extensions/ExtensioName" )</tt> to <tt>$IP/LocalSettings.php</tt>: | ||
$IP/maintenance/php update.php | $IP/maintenance/php update.php |