Content deleted Content added
Cainamarques (talk | contribs) →Replace: new section |
|||
Line 163:
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 18:52, 10 October 2013 (UTC)
== Replace ==
Hello all, I ran into a problem and would appreciate any help. Trying to use this function to replace strings with <code> [[ </code> does not work, I guess because it tries to parse as a link. Example:
*Trying to transform two words separate by <code> - </code> into two wikilinks:
<code>[[{{subst:#invoke:String|replace|Foo-bar|-|]] and [[}}]]</code>
*As you can see, it does not work. Replacing with the HTML code <code>&#91;</code> is not a option because it does not create wikilinks.
I understand one could "post-process" that output, like replacing <code>&#91;</code> with <code> [ </code> using {{tlx|Str rep}} but that's too ugly :) Is there a way to circumvent that? I'm missing something? [[User:Cainamarques|Cainamarques]] ([[User talk:Cainamarques|talk]]) 14:00, 3 December 2013 (UTC)
|