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

--- Comment #3 from Markus Krötzsch <[email protected]> 2012-10-22 
20:27:34 UTC ---
I don't see how this would help. If we called replaceExternalText on our
output, we could only ensure that it gets linked (make links right away). What
we need to do is to ensure that it does not get linked, unless surrounded by [
]. But since this processing happens after we returned the string, I don't see
how we can influence it with replaceExternalLinks() in the case where we do not
want a link.

One option would be to have two outputformats: one to get the plain string, one
to get the escaped (nolink) string. In theory, the format "-" should rather
return the plain string than an escaped one, so that it can really be used like
raw data. How should the format for escaping be called? Would "nolink" make
sense?

-- 
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