Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Wladek92
(adding < translate > sections)
>Wladek92
(Marked this version for translation)
Line 672: Line 672:
</tr>
</tr>
<tr>
<tr>
<td><span id="needs-updatephp">needs-updatephp</span></td><td><translate><tvar|yes><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. <tvar|no><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><span id="needs-updatephp">needs-updatephp</span></td><td><translate><!--T:194-->
<tvar|yes><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. <tvar|no><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


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


Line 683: Line 685:
</tr>
</tr>
<tr>
<tr>
<td><span id="php">composer</span></td><td><translate>If applicable the name of the "vendor" as well as the "package" should be entered in the format <tvar|format><code>vendor/package</code></>, e.g. <tvar|xmp><code>mediawiki/semantic-media-wiki</code></> to point people directly to packagist.org, which serves as the package archive.</translate></td>
<td><span id="php">composer</span></td><td><translate><!--T:196--> If applicable the name of the "vendor" as well as the "package" should be entered in the format <tvar|format><code>vendor/package</code></>, e.g. <tvar|xmp><code>mediawiki/semantic-media-wiki</code></> to point people directly to packagist.org, which serves as the package archive.</translate></td>
</tr>
</tr>
<tr>
<tr>
Line 703: Line 705:
</tr>
</tr>
<tr>
<tr>
<td><span id="parameters">parameters</span></td><td><translate>available parameters for LocalSettings.php</translate></td>
<td><span id="parameters">parameters</span></td><td><translate><!--T:197--> available parameters for LocalSettings.php</translate></td>
</tr>
</tr>
<tr>
<tr>
<td><span id="tags">tags</span></td><td><translate>any tags your extension uses (e.g. <tvar|tags>&lt;tag1&gt;, &lt;tag2&gt;</>).</translate></td>
<td><span id="tags">tags</span></td><td><translate><!--T:198--> any tags your extension uses (e.g. <tvar|tags>&lt;tag1&gt;, &lt;tag2&gt;</>).</translate></td>
</tr>
</tr>
<tr>
<tr>
Line 712: Line 714:
</tr>
</tr>
<tr>
<tr>
<td><span id="namespace">namespace</span></td><td><translate>namespace in which this extension is used</translate></td>
<td><span id="namespace">namespace</span></td><td><translate><!--T:199--> namespace in which this extension is used</translate></td>
</tr>
</tr>
<tr>
<tr>
<td><span id="example">example</span></td><td><translate>example, website or screenshot of working extension</translate></td>
<td><span id="example">example</span></td><td><translate><!--T:200--> example, website or screenshot of working extension</translate></td>
</tr>
</tr>
<tr>
<tr>
Line 728: Line 730:
</tr>
</tr>
<tr>
<tr>
<td><span id="bugzilla">bugzilla</span></td><td><translate>Bugzilla MediaWiki extension component name</translate></td>
<td><span id="bugzilla">bugzilla</span></td><td><translate><!--T:201--> Bugzilla MediaWiki extension component name</translate></td>
</tr>
</tr>
<tr>
<tr>
<td><span id="phabricator">phabricator</span></td><td><translate>Phabricator project name</translate></td>
<td><span id="phabricator">phabricator</span></td><td><translate><!--T:202--> Phabricator project name</translate></td>
</tr>
</tr>
<tr>
<tr>
<td><span id="CheckUsageNameOverride">CheckUsageNameOverride</span></td><td><translate>override the page name used for the check usage link.</translate>
<td><span id="CheckUsageNameOverride">CheckUsageNameOverride</span></td><td><translate><!--T:203--> override the page name used for the check usage link.</translate>
</tr>
</tr>
</table>
</table>

Revision as of 22:40, 17 November 2019

<languages/> Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.[[Category:Template documentation pages{{#translation:}}]] Maintenance: vulnerabilities, archived

[[Category:Info templates{{#translation:}}|Extension]] [[Category:Extension creation{{#translation:}}]] [[Category:Categorizing templates{{#translation:}}|Extension]] [[Category:Extension templates{{#translation:}}]]