Difference between revisions of "Template:FSD tracker"

From Free Software Directory
Jump to: navigation, search
(Fix #22084.)
(Attempt to fix issue #5, by sorting so that the most inactive entries come first, since the creation date is also the modification date.)
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<pre>
 
<pre>
Copyright David Hedlund 2020 BSD-3-Clause
+
Copyright © 2020-2021 David Hedlund
 +
Copyright © 2021 Adonay Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno>
 +
 
 +
SPDX-License-Identifier: BSD-3-Clause
  
 
Redistribution and use in source and binary forms, with or without
 
Redistribution and use in source and binary forms, with or without
Line 34: Line 37:
 
==MediaWiki Extension dependencies==
 
==MediaWiki Extension dependencies==
 
* PageForms (due to #arraymap)
 
* PageForms (due to #arraymap)
* Semantic Mediawiki (due to #ask)
+
* Semantic Mediawiki (due to #ask and #show)
* ParseFunctions (due to rpos, if, etc)
+
</noinclude><ul class="fsd-tracker">{{#arraymap:
</noinclude><div style="border-style: solid; border-width: 1px 1px 0px 1px; border-color: #d1d5da;"></div>
+
  {{#ask:
    {{#arraymap:
+
    {{{1}}}
        {{#ask:
+
    |?=#
            {{{Selection}}}
+
    |format=plainlist
            |sep=,
+
    |headers=hide
            |link=none
+
    |sep=\t
        }}
+
    |sort=Is top priority issue,Modification date
        |,
+
    |order=descending,ascending
        |xvarx
+
  }}
        |<div class="FSD_tracker" style="border-style: solid; border-width: 0px 1px 1px 1px; padding: 10px; border-color: #d1d5da; font-size: 17pt; font-weight: bold;"><span style="font-weight: normal; color:{{#ifeq: {{{category_requirement_2}}}|Open issues|green|red}}" title="{{#ifeq: {{{category_requirement_2}}}|Open issues|Open|Closed}} issue. {{PAGESIZE:xvarx}} bytes.">&#x1F6C8;</span> [[xvarx|
+
  |\t
            {{PAGENAME:
+
  |xvarx
                {{#sub:
+
  |<li class="{{#show: xvarx |?Category:Issue/Open # open, closed }}" title="{{#show: xvarx |?Category:Issue/Open # Open, Closed }} issue">'''[[xvarx|{{#show: xvarx |?Display title of}}]]'''<p>#{{SUBPAGENAME: xvarx}} last modified on {{REVISIONYEAR: xvarx}}-{{REVISIONMONTH: xvarx}}-{{REVISIONDAY2: xvarx}}, by [[User:{{REVISIONUSER: xvarx}}|{{REVISIONUSER: xvarx}}]]</li>
                    xvarx
+
  |\n
                    |{{#expr:
+
}}</ul>
                        {{#rpos:
 
                            xvarx
 
                            |/
 
                        }} +
 
                        1
 
                    }}
 
                }}
 
            }}]]<br /><div style="font-size: 10pt; font-weight: normal; color: #586069;>#{{PAGEID: xvarx}} modified {{REVISIONYEAR: xvarx}}-{{REVISIONMONTH: xvarx}}-{{REVISIONDAY: xvarx}} by [[User:{{REVISIONUSER: xvarx}}|{{REVISIONUSER: xvarx}}]]</div></div>
 
        |\n
 
    }}
 
</ul>
 

Latest revision as of 15:35, 24 September 2021

Copyright © 2020-2021 David Hedlund
Copyright © 2021 Adonay Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno>

SPDX-License-Identifier: BSD-3-Clause

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

    (1) Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer. 

    (2) Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in
    the documentation and/or other materials provided with the
    distribution.  
    
    (3)The name of the author may not be used to
    endorse or promote products derived from this software without
    specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE. 

MediaWiki Extension dependencies

  • PageForms (due to #arraymap)
  • Semantic Mediawiki (due to #ask and #show)
  • [[<ul><li>The part "{{{1}}}" of the query was not understood.Results might not be as expected.</li> <!--br--><li>Some subquery has no valid condition.</li></ul>|]]

    # last modified on --, by [[User:|]]



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.