Difference between revisions of "Template:Incompatible"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "<translate>" to "")
m (Text replacement - "</translate>" to "")
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<languages />
 
<languages />
</noinclude>{{#switch:</translate>
+
</noinclude>{{#switch:
 
| =
 
| =
 
{{mbox
 
{{mbox
 
| type = {{#if:{{{version|}}}|notice|content}}
 
| type = {{#if:{{{version|}}}|notice|content}}
| text = '''<!--T:1--> This extension is incompatible with the {{<tvar|1>#if:{{{version|}}}|</>|[[<tvar|lifecycle>Special:MyLanguage/Version lifecycle</>|current stable]]}} MediaWiki {{<tvar|2>#if:{{{version|}}}</>|<tvar|ver>{{{version}}}</> or any later|<tvar|3>{{MW stable branch number}}</>}} release!</translate>'''<br />
+
| text = '''<!--T:1--> This extension is incompatible with the {{<tvar|1>#if:{{{version|}}}|</>|[[<tvar|lifecycle>Special:MyLanguage/Version lifecycle</>|current stable]]}} MediaWiki {{<tvar|2>#if:{{{version|}}}</>|<tvar|ver>{{{version}}}</> or any later|<tvar|3>{{MW stable branch number}}</>}} release!'''<br />
<!--T:2--> You are advised '''against''' using this extension on a live site.</translate>
+
<!--T:2--> You are advised '''against''' using this extension on a live site.
 
{{#if:{{{1|{{{reason|}}}}}}|
 
{{#if:{{{1|{{{reason|}}}}}}|
* <!--T:21--> Reason:</translate> {{{1|{{{reason|}}}}}}}}<br /><!--
+
* <!--T:21--> Reason: {{{1|{{{reason|}}}}}}}}<br /><!--
-->{{#if:{{{pledge|}}}|<!--T:3--> 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}}}</>.</translate><br /><!--
+
-->{{#if:{{{pledge|}}}|<!--T:3--> 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%"><!--T:4--> Please reset the pledge if 14 days have passed since an edit was made by the developer.</translate> <!--T:5--> Last edited on <tvar|timestamp>{{#time: r | {{REVISIONTIMESTAMP}}}}</> by <tvar|user>[[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] ([[User talk:{{REVISIONUSER}}|talk]])</>.</translate></div>|{{#if:{{{alternative|}}}|<!--T:6--> Its features are available in <tvar|ext>[[Extension:{{{alternative}}}]]</>, which is believed to be compatible with MediaWiki <tvar|ver>{{MW stable branch number}}</>.</translate>|<div style="margin-{{dir|{{pagelang}}|right|left}}:40px; font-size:80%">''<!--T:7--> 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></>.</translate>''</div>}}}}}}{{#if:{{{nocat|}}}||<includeonly>[[Category:Extensions incompatible with {{#if:{{{version|}}}|{{{version}}}{{#translation:}}|{{MW stable branch number}}}}]]</includeonly>}}
+
--><div style="margin-{{dir|{{pagelang}}|right|left}}:40px; font-size:80%"><!--T:4--> Please reset the pledge if 14 days have passed since an edit was made by the developer. <!--T:5--> Last edited on <tvar|timestamp>{{#time: r | {{REVISIONTIMESTAMP}}}}</> by <tvar|user>[[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] ([[User talk:{{REVISIONUSER}}|talk]])</>.</div>|{{#if:{{{alternative|}}}|<!--T:6--> 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%">''<!--T:7--> 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 18: Line 18:
  
 
== Usage == <!--T:8-->
 
== Usage == <!--T:8-->
</translate>
+
 
 
<pre>{{Incompatible}}</pre>
 
<pre>{{Incompatible}}</pre>
  
  
 
=== Optional parameters === <!--T:9-->
 
=== Optional parameters === <!--T:9-->
</translate>
+
 
* <code>reason=</code> &mdash; <!--T:10--> Reason for incompatibility (PHP errors, incompatible dependency, etc.).</translate>
+
* <code>reason=</code> &mdash; <!--T:10--> Reason for incompatibility (PHP errors, incompatible dependency, etc.).
** <code>1=</code> &mdash; <!--T:11--> Can be used alternatively to <tvar|reason><code>reason=</code></>.</translate>
+
** <code>1=</code> &mdash; <!--T:11--> Can be used alternatively to <tvar|reason><code>reason=</code></>.
* <code>alternative=</code> &mdash; <!--T:12--> If you would like to list a possible alternative extension.</translate>
+
* <code>alternative=</code> &mdash; <!--T:12--> If you would like to list a possible alternative extension.
* <code>version=</code> &mdash; <!--T:13--> Version of MediaWiki extension is incompatible with, if other than current stable version (<tvar|ver>{{MW stable branch number}}</>) - such as an upcoming release</translate>
+
* <code>version=</code> &mdash; <!--T:13--> 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> &mdash; <!--T:14--> <tvar|mw>{{ll|MediaWiki|MediaWiki.org}}</> username (<tvar|sig><code><nowiki>~~~~</nowiki></code></>) of developer pledging to fix compatibility issues</translate>
+
* <code>pledge=</code> &mdash; <!--T:14--> <tvar|mw>{{ll|MediaWiki|MediaWiki.org}}</> username (<tvar|sig><code><nowiki>~~~~</nowiki></code></>) of developer pledging to fix compatibility issues
* <code>nocat=yes</code> &mdash; <!--T:15--> Do not add page to <tvar|cat>{{ll|Category:Incompatible extensions}}</> - for demo purposes and not actual use.</translate>
+
* <code>nocat=yes</code> &mdash; <!--T:15--> Do not add page to <tvar|cat>{{ll|Category:Incompatible extensions}}</> - for demo purposes and not actual use.
  
  
 
== Example == <!--T:16-->
 
== Example == <!--T:16-->
</translate>
+
 
 
{{Incompatible|nocat=yes}}
 
{{Incompatible|nocat=yes}}
  
  
 
=== With a reason === <!--T:17-->
 
=== With a reason === <!--T:17-->
</translate>
+
 
 
{{Incompatible|reason=Many PHP errors.|nocat=yes}}
 
{{Incompatible|reason=Many PHP errors.|nocat=yes}}
  
  
 
=== Showing a alternative === <!--T:18-->
 
=== Showing a alternative === <!--T:18-->
</translate>
+
 
 
<pre>{{Incompatible|alternative=Cite}}</pre>
 
<pre>{{Incompatible|alternative=Cite}}</pre>
 
{{Incompatible|alternative=Cite|nocat=yes}}
 
{{Incompatible|alternative=Cite|nocat=yes}}
Line 49: Line 49:
  
 
=== Version === <!--T:19-->
 
=== Version === <!--T:19-->
</translate>
+
 
 
<pre>{{Incompatible|version=1.20}}</pre>
 
<pre>{{Incompatible|version=1.20}}</pre>
 
{{Incompatible|version=1.20|nocat=yes}}
 
{{Incompatible|version=1.20|nocat=yes}}
Line 55: Line 55:
  
 
=== Pledge === <!--T:20-->
 
=== Pledge === <!--T:20-->
</translate>
+
 
 
<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}}

Revision as of 04:37, 21 December 2019


Template documentation

Usage

{{Incompatible}}


Optional parameters

  • reason= — Reason for incompatibility (PHP errors, incompatible dependency, etc.).
    • 1= — Can be used alternatively to <tvar