David Doria wrote:
> I have many pages in this format:
> 
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/SimpleOperations/RandomSequence
> 
> I want to provide a button or a link to download the content in the
> source tag under the section CMakeLists.txt as a text file. Is it
> possible to do something like this?
> 
> Thanks!
> 
> David

You will need to create an extension for that. Other option would be to
use one page for each file, and embed with
{{#tag:source|lang="cpp"|{{/RandomNumbers.cxx}} }}, offering the
download link going to acion=raw.


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to