Difference between revisions of "Template:Extension"
show unmaintained warning only in the Extension namespace, not e.g. on Extension status (main namespace)
>Pppery (Adding logic to automatically mark extensions with |status=unmaintained as {{unmaintained extension}}) |
>Tacsipacsi (show unmaintained warning only in the Extension namespace, not e.g. on Extension status (main namespace)) |
||
Line 3: | Line 3: | ||
</noinclude><includeonly>{{#switch:<translate></translate> | </noinclude><includeonly>{{#switch:<translate></translate> | ||
| = | | = | ||
{{#ifeq:{{lc:{{{status}}}}}|unmaintained|{{#invoke:Extension|unmaintained}}}} | {{#ifeq:{{lc:{{{status}}}}}|unmaintained|{{#ifeq:{{NAMESPACE}}|Extension|{{#invoke:Extension|unmaintained}}}}}} | ||
{{#if: {{{phabricator|{{{bugzilla|}}}}}} | {{Ptag|{{{phabricator|MediaWiki-extensions-{{{bugzilla|}}}}}}}} }} | {{#if: {{{phabricator|{{{bugzilla|}}}}}} | {{Ptag|{{{phabricator|MediaWiki-extensions-{{{bugzilla|}}}}}}}} }} | ||
<templatestyles src="Extension/styles.css" /> | <templatestyles src="Extension/styles.css" /> |