Difference between revisions of "Free Software Directory talk:Backlog active"
(→Multiple software categories: smw musings) |
m (→Multiple software categories: correct text) |
||
Line 30: | Line 30: | ||
====Multiple software categories==== | ====Multiple software categories==== | ||
* (analysis) This issue occurs when multiple items in one software category are selected in the form. The property value seems to contain space-separated values. But <nowiki>{{</nowiki>[[Template:Print_software_category|Print_software_category]]<nowiki>}}</nowiki> seems to use <code>[[:mw:Extension:Page_Forms/Page_Forms_and_templates#arraymap|#arraymap]]</code> with a separator <code>,</code> to split values. | * (analysis) This issue occurs when multiple items in one software category are selected in the form. The property value seems to contain space-separated values. But <nowiki>{{</nowiki>[[Template:Print_software_category|Print_software_category]]<nowiki>}}</nowiki> seems to use <code>[[:mw:Extension:Page_Forms/Page_Forms_and_templates#arraymap|#arraymap]]</code> with a separator <code>,</code> to split values. | ||
− | * [https://semantic-mediawiki.org/wiki/Help:Using_a_space_to_separate_multiple_values_in_set/subobject | + | * [https://semantic-mediawiki.org/wiki/Help:Using_a_space_to_separate_multiple_values_in_set/subobject Using a space to separate multiple values in set/subobject] from SMW website cmay or may not be helpful |
* (attempt) Edit <nowiki>{{</nowiki>[[Template:Print_software_category|Print_software_category]]<nowiki>}}</nowiki> and replace comma with <nowiki> </nowiki> in <nowiki>{{#if:{{{15|}}}|{{#arraymap:{{{15}}}|,|xvarx|<li>[[Category/Interface/xvarx{{!}}Interface:xvarx]]</li>|}}|<nowiki/>}}</nowiki> and see if that improves the category printing issue? | * (attempt) Edit <nowiki>{{</nowiki>[[Template:Print_software_category|Print_software_category]]<nowiki>}}</nowiki> and replace comma with <nowiki> </nowiki> in <nowiki>{{#if:{{{15|}}}|{{#arraymap:{{{15}}}|,|xvarx|<li>[[Category/Interface/xvarx{{!}}Interface:xvarx]]</li>|}}|<nowiki/>}}</nowiki> and see if that improves the category printing issue? | ||
===Column width=== | ===Column width=== | ||
* https://lists.gnu.org/archive/html/directory-discuss/2016-05/msg00005.html. --David Hedlund (talk) 18:59, 14 January 2018 (EST) | * https://lists.gnu.org/archive/html/directory-discuss/2016-05/msg00005.html. --David Hedlund (talk) 18:59, 14 January 2018 (EST) |
Revision as of 10:51, 27 January 2018
Contents
Prioritized issues
Link text
- I specifically need your help to fix all issues at https://directory.fsf.org/wiki/Free_Software_Directory:Backlog#Semantic_Forms. --David Hedlund (talk) 17:47, 14 January 2018 (EST)
IRC
- I attempted to fix this but it seems that something is interfering with the formatting. Strangely enough, if I make a simple page without the form, and use the IRC template, it works as expected. I don't know if this is the case, but I think there is some template interfering.--Adfeno (talk) 23:23, 26 January 2018 (EST)
- As requested in #fsf IRC channel, here is the comment I made there, describing my studies so far:
- It basically involves three templates (it might involve more, but I only researched three so far) Template:Print entry Template:Entry and Template:Show. There is a fourth one (Template:IRC) but I think we might be able to replace it (Template:Print entry calls it, so instead of calling Template:IRC: we can take the code from it and insert in the caller template).
- I think there is so far the following possibilities:
- an issue between the templates used;
- an issue with the
#ask:
queries and thetemplate
result format; - we have reached a setting limit that makes the formatting not work (perhaps a limit on the
template
result format, although I have tried to remove the call to Template:IRC but it didn't work, we might have to make tests by simplifying thetemplate
result calls even further to see if this is indeed the problematic setting); - an issue with the "IRC [level name]" properties when setting (
#set:
) or their query and display.
- I think we can make use of
#nowiki
or#-
display parameters when querying for the "IRC [level" properties of an entry (this is queried for in Template:Show) in order to take the property value in raw (example:irc:chat.freenode.net/fsf
) but then we will need to change either Template:Print entry or Template:IRC (the first one is the problematic, so I recommend to test with it first) so that it removesirc:
but also allows any other:
(because the URL scheme allows port numbers). - --Adfeno (talk) 08:47, 27 January 2018 (EST)
Log
- Adding
#-
didn't seem to help. « Saper // @talk » 08:54, 27 January 2018 (EST) - Removed dependency on Template:IRC: https://directory.fsf.org/wiki?title=Template:Print_entry&oldid=48860
License
Log
- Replaced "[[License:|]]" just to "[[]]"): https://directory.fsf.org/wiki?title=Template:Print_license&diff=48857&oldid=17085
Multiple software categories
- (analysis) This issue occurs when multiple items in one software category are selected in the form. The property value seems to contain space-separated values. But {{Print_software_category}} seems to use
#arraymap
with a separator,
to split values. - Using a space to separate multiple values in set/subobject from SMW website cmay or may not be helpful
- (attempt) Edit {{Print_software_category}} and replace comma with   in {{#if:{{{15|}}}|{{#arraymap:{{{15}}}|,|xvarx|<li>[[Category/Interface/xvarx{{!}}Interface:xvarx]]</li>|}}|<nowiki/>}} and see if that improves the category printing issue?
Column width
- https://lists.gnu.org/archive/html/directory-discuss/2016-05/msg00005.html. --David Hedlund (talk) 18:59, 14 January 2018 (EST)
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.