Actions

Template

Difference between revisions of "Extension version grid"

From WikiApiary, monitoring the MediaWiki universe

m
(chg)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>{{#arraydefine: Versions
 
<includeonly>{{#arraydefine: Versions
  | {{#ask: [[Has extension::Extension:{{{Extension|}}}]] [[Has extension version::+]]
+
|{{#ask:
    |?Has extension version
+
  [[Has extension::Extension:{{{Extension|}}}]]
    |format=array
+
  [[Has extension version::!~*MLEB*]]
    |limit=1000
+
  |?Has extension version
    |link=none
+
  |format=array
    |sort=Has extension version
+
  |limit=5000
    |headers=hide
+
  |link=none
    |mainlabel=-
+
  |sort=Has extension version
    |sep=,
+
  |order=descending
    |manysep=,
+
  |headers=hide
 +
  |mainlabel=-
 +
  |sep=^
 +
  |manysep=^
 +
  }}
 +
|^
 +
|sort=desc, unique
 
}}
 
}}
  | , | sort=asc, unique
+
{{#arrayslice: Versions_Final
 +
|Versions
 +
|0
 +
|10
 
}}<nowiki/>
 
}}<nowiki/>
 
{{#arraydefine: MediaWiki_Versions
 
{{#arraydefine: MediaWiki_Versions
  | {{#ask: [[Has extension::Extension:{{{Extension|}}}]] [[Has MediaWiki version::+]]
+
|{{#ask:
    |?Has MediaWiki version
+
  [[Has extension::Extension:{{{Extension|}}}]]
    |format=array
+
  [[Has MediaWiki version::+]]
    |limit=1000
+
  |?Has MediaWiki version
    |link=none
+
  |format=array
    |sort=Has MediaWiki version
+
  |limit=5000
    |headers=hide
+
  |link=none
    |mainlabel=-
+
  |sort=Has MediaWiki version
    |sep=,
+
  |order=descending
    |manysep=,
+
  |headers=hide
 +
  |mainlabel=-
 +
  |sep=^
 +
  |manysep=^
 +
  }}
 +
|^
 +
|sort=desc, unique
 
}}
 
}}
  | , | sort=asc, unique
+
{{#arrayslice: MediaWiki_Versions_Final
 +
|MediaWiki_Versions
 +
|0
 +
|20
 
}}<nowiki/>
 
}}<nowiki/>
 
{| width=80% class="wikitable sortable"
 
{| width=80% class="wikitable sortable"
|+ Version Breakdown
+
|+ Version Breakdown for [[Extension:{{{Extension|}}}|{{{Extension|}}}]]
 
! Versions
 
! Versions
{{#arrayprint:Versions
+
{{#arrayprint: Versions_Final
 
  |
 
  |
 
  |####
 
  |####
Line 36: Line 54:
 
! ####
 
! ####
 
}}
 
}}
{{#arrayprint:MediaWiki_Versions
+
{{#arrayprint:MediaWiki_Versions_Final
 
  |
 
  |
 
  |@@@@
 
  |@@@@
Line 42: Line 60:
 
{{!}}-
 
{{!}}-
 
! align=right {{!}} @@@@
 
! align=right {{!}} @@@@
{{#arrayprint:Versions
+
{{#arrayprint:Versions_Final
 
  |
 
  |
 
  |####
 
  |####
 
  |<nowiki/>
 
  |<nowiki/>
{{!}} align=center {{!}} {{#ask: [[Has extension::Extension:{{{Extension|}}}]] [[Has MediaWiki version::@@@@]] [[Has extension version::####]] | format=count | default=- }}
+
{{!}} align=center {{!}}{{#vardefine: temp
 +
|{{#ask:
 +
  [[Has extension::Extension:{{{Extension|}}} ]]
 +
  [[Has MediaWiki version::@@@@ ]]
 +
  [[Has extension version::#### ]]
 +
  |format=count
 +
  |default=0
 +
  }}
 +
}}{{#ifexpr: {{#var: temp }} > 0 | {{#var: temp}} | }}
 
}}
 
}}
 
}}
 
}}
 
|}
 
|}
 +
{{#arrayreset: MediaWiki_Versions_Final
 +
|MediaWiki_Versions
 +
|Versions_Final
 +
|Versions
 +
}}<nowiki/>
 
</includeonly>
 
</includeonly>

Latest revision as of 11:28, 1 September 2017