Difference between revisions of "Free Software Directory:IceCat WebExtensions (proposed)/FSD bugs issue 1"
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 focus to fill them which is required to approve the entries. I don't know how to do it | + | We need to list entries with empty '''License''' properties so we can focus to fill them which is required to approve the entries. I don't know how to do it. |
− | + | Then we can proceed to also include this later | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | Then we can proceed | ||
* License copyright | * License copyright | ||
* License verified | * License verified | ||
Line 26: | Line 17: | ||
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. | 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. | ||
− | == | + | ==Failures== |
− | |||
+ | ===1=== | ||
+ | <pre> | ||
{{#ask: | {{#ask: | ||
[[Extension of::IceCat]] | [[Extension of::IceCat]] | ||
− | [[License:: | + | [[License::UNDEFINED]] |
|?Name= | |?Name= | ||
|?License= | |?License= | ||
}} | }} | ||
+ | </pre> | ||
+ | ===2=== | ||
+ | <pre> | ||
+ | <noinclude> | ||
+ | Use this template as: | ||
+ | |||
+ | {{ExampleTemplate | ||
+ | |License= | ||
+ | }} | ||
+ | </noinclude><includeonly> | ||
+ | The value of ExampleLicense is: | ||
+ | {{#if: {{{License}}} | [[Extension of::{{{License}}}]] | [[ExampleLicense::UNDEFINED]] }} | ||
+ | <includeonly> | ||
+ | </pre> | ||
+ | |||
+ | ===3=== | ||
<pre> | <pre> | ||
− | |||
{{#if: [[License::UNDEFINED]] | {{#if: [[License::UNDEFINED]] | ||
Line 49: | Line 56: | ||
</pre> | </pre> | ||
− | ==Stable template== | + | ==Templates== |
+ | |||
+ | ===TODO - modify this test template=== | ||
+ | In this test case in which we query empty License entries. License::+ should be replaced by something else. | ||
+ | |||
+ | {{#ask: | ||
+ | [[Extension of::IceCat]] | ||
+ | [[License::+]] | ||
+ | |?Name= | ||
+ | |?License= | ||
+ | }} | ||
+ | |||
+ | ===Stable template=== | ||
Modified from https://directory.fsf.org/wiki?title=Template:Show&action=edit | Modified from https://directory.fsf.org/wiki?title=Template:Show&action=edit | ||
{{#ask: | {{#ask: |
Revision as of 06:56, 26 October 2016
How to list incomplete IceCat add-ons
We need to list entries with empty License properties so we can focus to fill them which is required to approve the entries. I don't know how to do it.
Then we can proceed to also include this later
- License copyright
- License verified
- License verified date
I've read this:
- https://stackoverflow.com/questions/31027987/is-an-empty-property-query-possible-in-semantic-media-wiki
- https://www.semantic-mediawiki.org/wiki/Thread:Semantic-mediawiki.org:Community_portal/Querying_for_non-empty_values
- This is not covered by SMW. You can only query for existing property values. Probably you may do a with the property "Competitor provided" is of data type "boolean" and then query for pages with the "No" boolean.
- "Been having fun with SF 2.8 (loving the empty parameter fix)" - https://www.mediawiki.org/wiki/Extension_talk:Semantic_Forms/Archive_September_to_December_2014
- I'm not seeing any text with EMPTY or UNDEFINED in https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Version_history though.
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.
Contents
Failures
1
{{#ask: [[Extension of::IceCat]] [[License::UNDEFINED]] |?Name= |?License= }}
2
<noinclude> Use this template as: {{ExampleTemplate |License= }} </noinclude><includeonly> The value of ExampleLicense is: {{#if: {{{License}}} | [[Extension of::{{{License}}}]] | [[ExampleLicense::UNDEFINED]] }} <includeonly>
3
{{#if: [[License::UNDEFINED]] {{#ask: [[Extension of::IceCat]] |?Name= |?License= }} }}
Templates
TODO - modify this test template
In this test case in which we query empty License entries. License::+ should be replaced by something else.
Stable template
Modified from https://directory.fsf.org/wiki?title=Template:Show&action=edit
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.