I've been having difficulties assembling internal links within templates.
A standard link such as [[User:Alice|Alice]] works just fine. But if I try to do something like:
[[User:{{{user|Unknown}}}|{{{user|Unknown}}}]]
I get the content of the parameter "user" to appear, but it won't be a link. Similarly, I tried to use
[[User:{{safesubst:REVISIONUSER}}|{{safesubst:REVISIONUSER}}]]
to provide a link to the user who added the template, but it doesn't seem to work either, no matter which combinations of <includeonly> tags I try.
Thoughts?
Kind regards,
Manu
A little more context is needed is this a public wiki? is the template in a ref tag? have you tried using just the user link creation by itself (in case other template markup is breaking it)?
On Wed, Jun 8, 2016 at 3:41 PM, Emanuele D'Arrigo manu3d@gmail.com wrote:
I've been having difficulties assembling internal links within templates.
A standard link such as [[User:Alice|Alice]] works just fine. But if I try to do something like:
[[User:{{{user|Unknown}}}|{{{user|Unknown}}}]]
I get the content of the parameter "user" to appear, but it won't be a link. Similarly, I tried to use
[[User:{{safesubst:REVISIONUSER}}|{{safesubst:REVISIONUSER}}]]
to provide a link to the user who added the template, but it doesn't seem to work either, no matter which combinations of <includeonly> tags I try.
Thoughts?
Kind regards,
Manu _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org