Difference between revisions of "Template:Extension/doc"
Jump to navigation
Jump to search
+ license string examples
>Krinkle (Is it lunch time yet?) |
>Kghbln (+ license string examples) |
||
Line 13: | Line 13: | ||
| align="left" | | | align="left" | | ||
<span id="CutAndPaste">Copy and paste:</span> | <span id="CutAndPaste">Copy and paste:</span> | ||
<pre>{{ | <pre>{{TNT|Extension |templatemode = | ||
|name = | |name = | ||
|status = | |status = | ||
Line 55: | Line 55: | ||
For help with parameter values, see [[#Content parameters|below]]. | For help with parameter values, see [[#Content parameters|below]]. | ||
| align="right"|{{ | | align="right"|{{TNT|Extension |templatemode=nocats | ||
|name = {{{name}}} | |name = {{{name}}} | ||
|status = {{{status}}} | |status = {{{status}}} | ||
Line 218: | Line 218: | ||
Links to a subpage of your extension page. For instance, "table1 = cu_changes" at [[Special:MyLanguage/Extension:CheckUser|Extension:CheckUser]] will link to [[Extension:CheckUser/cu_changes table]]. Don't list core tables such as [[Special:MyLanguage/Manual:Page table|page]] or [[Special:MyLanguage/Manual:Revision table|revision]]; only list tables that are added by extensions. | Links to a subpage of your extension page. For instance, "table1 = cu_changes" at [[Special:MyLanguage/Extension:CheckUser|Extension:CheckUser]] will link to [[Extension:CheckUser/cu_changes table]]. Don't list core tables such as [[Special:MyLanguage/Manual:Page table|page]] or [[Special:MyLanguage/Manual:Revision table|revision]]; only list tables that are added by extensions. | ||
|- | |- | ||
| <span id="license">license</span>|| license governing use of this extension, as one of the codes found in https://spdx.org/licenses/ | | <span id="license">license</span>|| license governing use of this extension, as one of the codes found in https://spdx.org/licenses/, e.g. <code>GPL-2.0-or-later</code>, <code>GPL-2.0-only</code> or <code>GPL-3.0-or-later</code>, etc. | ||
|- | |- | ||
| <span id="download">'''download'''</span>|| '''link to the download''' : [https://phabricator.wikimedia.org/r/project/mediawiki/core Git], {{tl|WikimediaDownload}} with server=svn in case it was not migrated from [[Subversion]]. If you put the code into page in the MediaWiki wiki, link to it using a full page name and section name, e.g. <code> <nowiki>[[Extension:Example/version_1.22a#Code]]</nowiki> </code> (it must remain valid when bot-copied elsewhere) | | <span id="download">'''download'''</span>|| '''link to the download''' : [https://phabricator.wikimedia.org/r/project/mediawiki/core Git], {{tl|WikimediaDownload}} with server=svn in case it was not migrated from [[Subversion]]. If you put the code into page in the MediaWiki wiki, link to it using a full page name and section name, e.g. <code> <nowiki>[[Extension:Example/version_1.22a#Code]]</nowiki> </code> (it must remain valid when bot-copied elsewhere) |