Difference between revisions of "Free Software Directory talk:Backlog active"
(→Column width: ===Column width (temporarily fixed)===) |
(→Link text: changed to ===Link and link text===) |
||
Line 6: | Line 6: | ||
The '''Log''' sections are used to track edit revisions so they can be reverted if necessary. | The '''Log''' sections are used to track edit revisions so they can be reverted if necessary. | ||
− | ===Link text=== | + | ===Link and link text=== |
[[User talk:Adfeno|Adfeno]]: | [[User talk:Adfeno|Adfeno]]: | ||
* 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) | * 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) |
Revision as of 17:41, 27 January 2018
Contents
Upgrade history
It seems unprobable that the following issues appeared on their own, most probably MediaWiki extensions got updated and some things do no longer work as before. Would be good to know the history of upgrades to identify changes that has been made and how they have affected this wiki. « Saper // @talk » 10:58, 27 January 2018 (EST)
Prioritized issues
The Log sections are used to track edit revisions so they can be reverted if necessary.
Link and 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 (temporarily fixed)
- 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) {{Print entry}} {{Entry}} and {{Show}}. There is a fourth one ({{IRC}}) but I think we might be able to replace it ({{Print entry}} calls it, so instead of calling {{IRC}}: we can take the code from it and insert in the caller template).
- I think that #replace will just mask the underlying issue. --David Hedlund (talk) 10:49, 27 January 2018 (EST)
- 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 {{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 {{Show}}) in order to take the property value in raw (example:irc:chat.freenode.net/fsf
) but then we will need to change either {{Print entry}} or {{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)
- I think there is so far the following possibilities:
- While MediaWiki understands IRC URLs very well, Our copy Semantic MediaWiki gets confused if a property of type
URL
has a protocol different from HTTP, this problem also happens if the property definition/setting is invisible (using#set:
), but in all cases it works as expected if the protocol is HTTP. I don't know if this is a bug in Semantic MediaWiki (or MediaWiki) but this affects at least our copy of it. An example of the issue with IRC property can be seen in: https://directory.fsf.org/wiki?title=Free_Software_Directory:Sandbox&oldid=48884 --Adfeno (talk) 11:32, 27 January 2018 (EST) - As of SMW 2.5.1, http https and ftp URL schemes will be printed with double slashes, all other without: https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/568d058ea68859d134654a959001ba0739c781e3/includes/dataitems/SMW_DI_URI.php#L68-L70 « Saper // @talk » 12:49, 27 January 2018 (EST)
Log
- Adding
#-
didn't seem to help. « Saper // @talk » 08:54, 27 January 2018 (EST) - Removed dependency on {{IRC}}: https://directory.fsf.org/wiki?title=Template:Print_entry&oldid=48860
- Use
#replace
in IRC URL properties to get the address correctly: https://directory.fsf.org/wiki?title=Template:Print_entry&oldid=48889 --Adfeno (talk) 11:59, 27 January 2018 (EST) - Use
#nowiki
in the query for IRC URL properties to pass the property value to {{Print entry}}: https://directory.fsf.org/wiki?title=Template:Show&oldid=48890 --Adfeno (talk) 11:59, 27 January 2018 (EST)
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
Log
- It didn't help to edit {{Print_software_category}} and replace comma with   in {{#if:{{{15|}}}|{{#arraymap:{{{15}}}|,|xvarx|<li>[[Category/Interface/xvarx{{!}}Interface:xvarx]]</li>|}}|<nowiki/>}}, see https://directory.fsf.org/wiki?title=Template:Print_software_category&diff=48880&oldid=48746
Column width (temporarily fixed)
See also Free_Software_Directory:Backlog#Consistent_CSS_styling
- https://lists.gnu.org/archive/html/directory-discuss/2016-05/msg00005.html. --David Hedlund (talk) 18:59, 14 January 2018 (EST)
- (analysis) Edit {{Print entry}}:
- Edit https://directory.fsf.org/wiki/Template:Print_entry
- Try to remove "width: 350px" from
<div style="float:left; width:350px; margin: 2px 4px 0px 4px;">
- Also remove "width: 300px" later. Both widths could be replaced by percentages (e.g 60% and 30%).
- Try to remove "width: 350px" from
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.