Template:Phab: Difference between revisions

From mcr
No edit summary
No edit summary
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><div style="display:none;">
{| width=100%
| {{#ifeq:{{{suppress|}}}|Yes|<span class="pops plainlinks">[{{fullurl:Special:PhabTaskGraph}}?tasks={{PAGENAME}} Click to see graph]</span>|{{Special:PhabTaskGraph|tasks={{PAGENAME}}|width=500|height=300}}}}
| style="vertical-align:top;text-align:right;" |
{| class="wikitable" width=100%
! style="text-align:left;" | Phabricator Link
| style="text-align:left;" | <span class="pops plainlinks">[https://phabricator.wikimedia.org/{{PAGENAME}} {{PAGENAME}}]</span>
|-
! style="text-align:left;" |  Related Gerrit Changes
| style="text-align:left;" | <span class="pops plainlinks">[https://gerrit.wikimedia.org/r/#/q/bug:{{PAGENAME}} CLICK]</span>
|-
! style="text-align:left;" | Annual Plan Objectives
| style="text-align:left;" | {{#if:{{{objectives|}}}|{{#invoke:Utilities|parseMultiple|{{{objectives}}}|Tag Link|, }}}}
|-
! style="text-align:left;" | People
| style="text-align:left;" | {{#if:{{{people|}}}|{{#invoke:Utilities|parseMultiple|{{{people}}}|Tag Link|, }}}}
|-
! style="text-align:left;" | Schedule
| style="text-align:left;" | {{#if:{{{schedule|}}}|{{#invoke:Utilities|parseMultiple|{{{schedule}}}|Tag Link|, }}}}
|-
! style="text-align:left;" | Tags
| style="text-align:left;" | {{#if:{{{tags|}}}|{{#invoke:Utilities|parseMultiple|{{{tags}}}|Tag Link|, }}}}
|}
|}
''Related Gerrit Changes:''
{{#get_web_data:
url=https://gerrit.wikimedia.org/r/#/q/bug:{{PAGENAME}}
|format=JSON
|data=number=_number,subject=subject,status=status
|json xssi prefix length=5
}}
{{Gerrit Table Intro}}
{{#display_external_table:
template=Gerrit Table Row
|data=number=number,subject=subject,status=status
}}
|}
<div style="display:none;">
{{DISPLAYTITLE:{{{title|}}}}}
{{DEFAULTSORT:{{{title|}}}}}
{{#if:{{{objectives|}}}|{{#invoke:Utilities|parseMultiple|{{{objectives}}}|Set Objective|}}}}
{{#if:{{{people|}}}|{{#invoke:Utilities|parseMultiple|{{{people}}}|Set Person|}}}}
{{#if:{{{schedule|}}}|{{#invoke:Utilities|parseMultiple|{{{schedule}}}|Set Quarter|}}}}
{{#if:{{{tags|}}}|{{#invoke:Utilities|parseMultiple|{{{tags}}}|Set Tag|}}}}
{{#if:{{{tags|}}}|{{#invoke:Utilities|parseMultiple|{{{tags}}}|Set Tag|}}}}
{{#set:Title Icon=Phab.png}}
[[Category:Phabricator Tasks]]
[[Category:Phabricator Tasks]]
</div>
</div></includeonly>
</includeonly>

Latest revision as of 20:54, 29 May 2018