Difference between revisions of "Template:Incompatible"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (1 revision imported) |
Joelmartin (talk | contribs) m (Text replacement - "<tvar|1>" to "") |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages /> | <languages /> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch: |
| = | | = | ||
{{mbox | {{mbox | ||
| type = {{#if:{{{version|}}}|notice|content}} | | type = {{#if:{{{version|}}}|notice|content}} | ||
− | | text = ''' | + | | text = ''' This extension is incompatible with the {{#if:{{{version|}}}||[[<tvar|lifecycle>Special:MyLanguage/Version lifecycle|current stable]]}} MediaWiki {{#if:{{{version|}}}|<tvar|ver>{{{version}}} or any later|<tvar|3>{{MW stable branch number}}}} release!'''<br /> |
− | + | You are advised '''against''' using this extension on a live site. | |
{{#if:{{{1|{{{reason|}}}}}}| | {{#if:{{{1|{{{reason|}}}}}}| | ||
− | * | + | * Reason: {{{1|{{{reason|}}}}}}}}<br /><!-- |
− | -->{{#if:{{{pledge|}}}| | + | -->{{#if:{{{pledge|}}}| An update to this extension, making it compatible with MediaWiki <tvar|ver>{{#if:{{{version|}}}|{{{version}}}|{{MW stable branch number}}}}, has been pledged by <tvar|pledge>{{{pledge}}}.<br /><!-- |
− | --><div style="margin-{{dir|{{pagelang}}|right|left}}:40px; font-size:80%" | + | --><div style="margin-{{dir|{{pagelang}}|right|left}}:40px; font-size:80%"> Please reset the pledge if 14 days have passed since an edit was made by the developer. Last edited on <tvar|timestamp>{{#time: r | {{REVISIONTIMESTAMP}}}} by <tvar|user>[[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] ([[User talk:{{REVISIONUSER}}|talk]]).</div>|{{#if:{{{alternative|}}}| Its features are available in <tvar|ext>[[Extension:{{{alternative}}}]], which is believed to be compatible with MediaWiki <tvar|ver>{{MW stable branch number}}.|<div style="margin-{{dir|{{pagelang}}|right|left}}:40px; font-size:80%">'' Volunteer developers are invited to pledge their efforts to updating this extension to make it compatible with MediaWiki <tvar|ver>{{MW stable branch number}} by replacing the <tvar|incompatible><code><nowiki>{{</nowiki>{{ll|Template:Incompatible|Incompatible}}<nowiki>}}</nowiki></code> template with <tvar|code><code><nowiki>{{</nowiki>{{ll|Template:Incompatible|Incompatible}}{{!}}{{#if:{{{version|}}}|version={{{version}}}{{!}}|}}<nowiki>pledge=~~~~}}</nowiki></code>.''</div>}}}}}}{{#if:{{{nocat|}}}||<includeonly>[[Category:Extensions incompatible with {{#if:{{{version|}}}|{{{version}}}{{#translation:}}|{{MW stable branch number}}}}]]</includeonly>}} |
| #default= | | #default= | ||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Incompatible|noshift=1}} | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Incompatible|noshift=1}} | ||
Line 16: | Line 16: | ||
{{Documentation|content= | {{Documentation|content= | ||
− | + | ||
− | == Usage == | + | == Usage == |
− | + | ||
<pre>{{Incompatible}}</pre> | <pre>{{Incompatible}}</pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | + | === Optional parameters === |
− | == | + | |
− | </ | + | * <code>reason=</code> — Reason for incompatibility (PHP errors, incompatible dependency, etc.). |
+ | ** <code>1=</code> — Can be used alternatively to <tvar|reason><code>reason=</code>. | ||
+ | * <code>alternative=</code> — If you would like to list a possible alternative extension. | ||
+ | * <code>version=</code> — Version of MediaWiki extension is incompatible with, if other than current stable version (<tvar|ver>{{MW stable branch number}}) - such as an upcoming release | ||
+ | * <code>pledge=</code> — <tvar|mw>{{ll|MediaWiki|MediaWiki.org}} username (<tvar|sig><code><nowiki>~~~~</nowiki></code>) of developer pledging to fix compatibility issues | ||
+ | * <code>nocat=yes</code> — Do not add page to <tvar|cat>{{ll|Category:Incompatible extensions}} - for demo purposes and not actual use. | ||
+ | |||
+ | |||
+ | == Example == | ||
+ | |||
{{Incompatible|nocat=yes}} | {{Incompatible|nocat=yes}} | ||
− | + | ||
− | === With a reason === | + | === With a reason === |
− | + | ||
{{Incompatible|reason=Many PHP errors.|nocat=yes}} | {{Incompatible|reason=Many PHP errors.|nocat=yes}} | ||
− | + | ||
− | === Showing a alternative === | + | === Showing a alternative === |
− | + | ||
<pre>{{Incompatible|alternative=Cite}}</pre> | <pre>{{Incompatible|alternative=Cite}}</pre> | ||
{{Incompatible|alternative=Cite|nocat=yes}} | {{Incompatible|alternative=Cite|nocat=yes}} | ||
− | + | ||
− | === Version === | + | === Version === |
− | + | ||
<pre>{{Incompatible|version=1.20}}</pre> | <pre>{{Incompatible|version=1.20}}</pre> | ||
{{Incompatible|version=1.20|nocat=yes}} | {{Incompatible|version=1.20|nocat=yes}} | ||
− | + | ||
− | === Pledge === | + | === Pledge === |
− | + | ||
<pre>{{Incompatible|pledge=~~~~}}</pre> | <pre>{{Incompatible|pledge=~~~~}}</pre> | ||
{{Incompatible|pledge=[[User:Varnent|Varnent]] 09:44, 8 December 2011 (UTC)|nocat=yes}} | {{Incompatible|pledge=[[User:Varnent|Varnent]] 09:44, 8 December 2011 (UTC)|nocat=yes}} |
Latest revision as of 19:17, 21 December 2019
![]() | This extension is incompatible with the [[<tvar|lifecycle>Special:MyLanguage/Version lifecycle|current stable]] MediaWiki ver>{{{version}}} or any later release!You are advised against using this extension on a live site. ver>1.33, has been pledged by <tvar |

Usage
{{Incompatible}}
Optional parameters
reason=
— Reason for incompatibility (PHP errors, incompatible dependency, etc.).1=
— Can be used alternatively to <tvar