Is it possible let MediaWiki hint the browser about the filename and
change the content type?
I have a wikipage, e.g., "Buss-Durkee Hostility Inventory". If I save
this page from the browser "Buss-Durkee_Hostility_Inventory.html" is
suggested as the filename, - which is fine.
I have another wikipage called "Bipolar Disorder Neuroimaging Database -
Amygdala.csv". When I download this page (from a template-constructed
link) with "/w/index.php?action=raw&title=" I get the filename suggested
as "index.php". I would like to have the filename as "Bipolar Disorder
Neuroimaging Database - Amygdala.csv" and also manipulate the content
type, e.g., to "Content-type: text/csv; charset=utf-8".
Is that possible?
My only idea would be to write a cgi-script that fetches the wikipage
with csv information and forwards it to the user while controlling the
content-type.
/Finn
--
Finn Årup Nielsen, DTU Informatics
http://www.imm.dtu.dk/~fn/ +45 45 25 39 21.