> 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.This sounds like it will do exactly what I'm looking for! I'm having a bit of trouble though: I'm trying to display these two pages: http://www.vtk.org/Wiki/VTK/Examples/Cxx/SimpleOperations/DistancePointToLineCxx http://www.vtk.org/Wiki/VTK/Examples/Cxx/SimpleOperations/DistancePointToLineCMake from this page: http://www.vtk.org/Wiki/VTK/Examples/Cxx/SimpleOperations/DistancePointToLine Taking only the Cxx as an example, I tried to display the page like this: {{#tag:source|lang="cpp"|{{VTK/Examples/Cxx/SimpleOperations/DistancePointToLineCxx}} }} but I get an error "Invalid language", even though I know 'cpp' is definitely a supported language. I then tried to make the download link like this: [[VTK/Examples/Cxx/SimpleOperations/DistancePointToLineCxx?action=raw | Download Cxx file]] but the link is red, so I'm assuming I can't put the action=raw in the local link like that? I appreciate your help so far! David _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
