Difference between revisions of "Template:Extension"

184 bytes added ,  00:17, 6 June 2021
syntaxhighlight
>Shirayuki
m (Undo revision 4622501 by Shirayuki (talk))
>Shirayuki
(syntaxhighlight)
Line 626: Line 626:


<!--T:195-->
<!--T:195-->
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 <tvar name=target><code>$IP/extensions/ExtensionName</code></tvar> and inserted <tvar name=code><code>wfLoadExtension( "ExtensionName");</code></tvar> into "LocalSettings.php", run from the command line:</translate>
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 <tvar name=target><source lang=php inline>$IP/extensions/ExtensionName</source></tvar> and inserted <tvar name=code><source lang=php inline>wfLoadExtension( "ExtensionName" );</source></tvar> into "LocalSettings.php", run from the command line:</translate>


cd path/to/wiki_install_directory
<code class="mw-code mw-highlight" style="display:block"><!--
cd maintenance
-->{{#tag:span|cd|class=nb}} ''<translate>path/to/wiki_install_directory</translate>''
php update.php
{{#tag:span|cd|class=nb}} maintenance
php update.php
</code>


{{$IP}}</td>
{{$IP}}</td>
Anonymous user