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

--- Comment #2 from Fuujuhi <fuujuhi-...@noekeon.org> ---
Thanks for the tip db!!!

Actually, I had to use:

  {{#tag:file|download|name={{{name}}}|tag=source}}
  {{{content}}}

But this indeed works. Writing this in a template {{download}}, uses this
template in a page, and then fetch that page with ?action=raw?templates=expand
indeed gives the desired expansion:

  <file name="myfile" tag="source">download</file>
  <pre>
  some text
  </pre>

And viewing the page normally indeed gives a clickable "download" link.


So this is indeed a work-around that suits my needs perfectly.

Now I don't know about this bug report. Tmo this is still a bug, but not a high
prio one I guess.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to