Difference between revisions of "Template:Extension"
syntaxhighlight
>Shirayuki |
>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>< | 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> | ||
<code class="mw-code mw-highlight" style="display:block"><!-- | |||
-->{{#tag:span|cd|class=nb}} ''<translate>path/to/wiki_install_directory</translate>'' | |||
{{#tag:span|cd|class=nb}} maintenance | |||
php update.php | |||
</code> | |||
{{$IP}}</td> | {{$IP}}</td> |