https://bugzilla.wikimedia.org/show_bug.cgi?id=39392

Markus Krötzsch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #2 from Markus Krötzsch <[email protected]> 2012-11-06 
14:43:21 UTC ---
I have to re-open this, since there is a more fundamental issue here that needs
to be discussed. The solution I implemented causes other problems (reported in
Bug 41275): it is now impossible to make a URL value into a link even if one
wants to. As it is now, we do not know of any way to return a URL value that is
not linked by MediaWiki automatically but that is linked if you put it in [ ]
(e.g. in a template). So we can only have either of these behaviours.

I suggest to have the following:

* Output format #- returns the plain URL string, as it did originally. This
will be turned into a link by MW.
* A new output format #nowiki returns an escaped URL string that is not turned
into a link by MW (and cannot be turned into one with [ ] either).

The question is: what should link=none do? Normally, it means that the output
is not linked *actively* by SMW (adding [ ] explicitly). So link=none does mean
the same as #- (leaving something away, returning the data in a less processed
state). But it is not intuitive that link=none does produce a link in the final
output (not in HTML, just on the page). Any comments?

Btw. note that #nowiki could also be supported for string data: there it would
escape the string like for datatype Code, so that it is not acted on by MW at
all. It seems a fairly useful keyword to have as an output format, since it is
already a known term in MW.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to