Difference between revisions of "Free Software Directory talk:Backlog active"

From Free Software Directory
Jump to: navigation, search
m (Moved IRC studies and changes to related subsection.)
(Multiple software categories: smw musings)
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|Using a space to separate multiple values in set/subobject] may or may not be helpful
 
* (attempt) Edit <nowiki>{{</nowiki>[[Template:Print_software_category|Print_software_category]]<nowiki>}}</nowiki> and replace comma with <nowiki>&#32</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>&#32</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:50, 27 January 2018

Prioritized issues

Link text

Adfeno:

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:
      1. an issue between the templates used;
      2. an issue with the #ask: queries and the template result format;
      3. 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 the template result calls even further to see if this is indeed the problematic setting);
      4. 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 removes irc: but also allows any other : (because the URL scheme allows port numbers).
    --Adfeno (talk) 08:47, 27 January 2018 (EST)
Log

License

Log

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.
  • a space to separate multiple values in set/subobject may or may not be helpful
  • (attempt) Edit {{Print_software_category}} and replace comma with &#32 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



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.