Difference between revisions of "Template:Extension/en"
Jump to navigation
Jump to search
Updating to match new version of source page
>FuzzyBot (Updating to match new version of source page) |
>FuzzyBot (Updating to match new version of source page) |
||
Line 612: | Line 612: | ||
<td>{{visible anchor|needs-updatephp}}</td><td><code>yes</code> 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. <code>no</code> should be set as a value since this assures that the extension does not need update.php to be run and thus avoids uncertainty | <td>{{visible anchor|needs-updatephp}}</td><td><code>yes</code> 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. <code>no</code> should be set as a value since this assures that the extension does not need update.php to be run and thus avoids uncertainty | ||
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 < | 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 <source lang=php inline>$IP/extensions/ExtensionName</source> and inserted <source lang=php inline>wfLoadExtension( "ExtensionName" );</source> into "LocalSettings.php", run from the command line: | ||
<code class="mw-code mw-highlight" style="display:block"><!-- | |||
-->{{#tag:span|cd|class=nb}} ''path/to/wiki_install_directory'' | |||
{{#tag:span|cd|class=nb}} maintenance | |||
php update.php | |||
</code> | |||
{{$IP}}</td> | {{$IP}}</td> |