Difference between revisions of "Free Software Directory:IceCat WebExtensions (proposed)/FSD bugs issue 1"

From Free Software Directory
Jump to: navigation, search
Line 1: Line 1:
 
'''How to list incomplete IceCat add-ons'''
 
'''How to list incomplete IceCat add-ons'''
  
We need to list entries with empty '''License''' properties so we can unapprove all these entries once and for all. Just a few days before I started working on this issue I made sure we won't need to unapprove them in the future as License are now mandatory: https://directory.fsf.org/wiki?title=Template:Show&diff=prev&oldid=36951
+
We need to list entries with empty '''License''' properties so we can unapprove all these entries once and for all. Just a few days before I started working on this issue I made sure that we won't need to unapprove new entries in the future as License related fields must be filled to be saved at all: https://directory.fsf.org/wiki?title=Template:Show&diff=prev&oldid=36951
  
 
Then we can proceed to also include this later
 
Then we can proceed to also include this later

Revision as of 07:25, 26 October 2016

How to list incomplete IceCat add-ons

We need to list entries with empty License properties so we can unapprove all these entries once and for all. Just a few days before I started working on this issue I made sure that we won't need to unapprove new entries in the future as License related fields must be filled to be saved at all: https://directory.fsf.org/wiki?title=Template:Show&diff=prev&oldid=36951

Then we can proceed to also include this later

  • License copyright
  • License verified
  • License verified date

I've read this but still don't know how to do it:

We also need the source of https://directory.fsf.org/wiki?title=Special:ApprovedRevs&show=unapproved so we can tweak to show only unapproved IceCat add-ons.

Todo

Test 1

I'm not sure how to implement this solution.


<noinclude>
Use this template as:

{{ExampleTemplate
|License=
}}
</noinclude><includeonly>
The value of ExampleLicense is:
{{#if: {{{License}}} | [[Extension of::{{{License}}}]] | [[ExampleLicense::UNDEFINED]] }}
<includeonly>

Failures

Test 1


{{#ask:
[[Extension of::IceCat]]
[[License::UNDEFINED]]
|?Name=
|?License=
}}

Test 2


{{#if: [[License::UNDEFINED]]

{{#ask: [[Extension of::IceCat]]
|?Name=
|?License=
}}

}}

Template

This template is valid but it does not do what we want. However, we use it as a template and and it is modified from https://directory.fsf.org/wiki?title=Template:Show&action=edit


{{#ask:
[[Extension of::IceCat]]
[[License::+]]
|?Name=
|?License=
}}

Output:




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.