Difference between revisions of "Free Software Directory talk:Backlog active"
(→Multiple software categories: =====Log=====) |
m (→IRC) |
||
Line 22: | Line 22: | ||
*: I think we can make use of <code>#nowiki</code> or <code>#-</code> display parameters when querying for the <nowiki>"IRC [level"</nowiki> properties of an entry (this is queried for in [[Template:Show]]) in order to take the property value in raw (example: <code>irc:chat.freenode.net/fsf</code>) 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 <code>irc:</code> but also allows any other <code>:</code> (because the URL scheme allows port numbers). | *: I think we can make use of <code>#nowiki</code> or <code>#-</code> display parameters when querying for the <nowiki>"IRC [level"</nowiki> properties of an entry (this is queried for in [[Template:Show]]) in order to take the property value in raw (example: <code>irc:chat.freenode.net/fsf</code>) 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 <code>irc:</code> but also allows any other <code>:</code> (because the URL scheme allows port numbers). | ||
*: --[[User:Adfeno|Adfeno]] ([[User talk:Adfeno|talk]]) 08:47, 27 January 2018 (EST) | *: --[[User:Adfeno|Adfeno]] ([[User talk:Adfeno|talk]]) 08:47, 27 January 2018 (EST) | ||
− | + | * While MediaWiki understands IRC URLs very well, Our copy Semantic MediaWiki gets confused if a property of type <code>URL</code> has a protocol different from HTTP, this problem also happens if the property definition/setting is invisible (using <code>#set:</code>), 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 --[[User:Adfeno|Adfeno]] ([[User talk:Adfeno|talk]]) 11:32, 27 January 2018 (EST) | |
=====Log===== | =====Log===== | ||
* [https://directory.fsf.org/wiki?title=Template:Print_entry&diff=48853&oldid=48834 Adding <code>#-</code>] didn't seem to help. « [[User:Saper|Saper]]<span style="font-size: 70%"> // </span>[[User talk:Saper|@talk]] » 08:54, 27 January 2018 (EST) | * [https://directory.fsf.org/wiki?title=Template:Print_entry&diff=48853&oldid=48834 Adding <code>#-</code>] didn't seem to help. « [[User:Saper|Saper]]<span style="font-size: 70%"> // </span>[[User talk:Saper|@talk]] » 08:54, 27 January 2018 (EST) |
Revision as of 12:32, 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
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 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 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)
- 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)
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
- (analysis) Property:License seems to be of type
page
, so the value by itself refers to an existing wiki page. When looking up value MPL for that property, the system encounters a redirect from MPL to License:MPL, therefore License:MPL is assumed as the page being referred to. Since full page name is generated, adding additional "License:" is superfluous and causes creation of non-working License:License:MPL links.
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
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
- 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.