http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73874

Revision: 73874
Author:   jojo
Date:     2010-09-28 07:58:50 +0000 (Tue, 28 Sep 2010)

Log Message:
-----------
document $wgCollectionContentTypeToFilename

Modified Paths:
--------------
    trunk/extensions/Collection/README.txt

Modified: trunk/extensions/Collection/README.txt
===================================================================
--- trunk/extensions/Collection/README.txt      2010-09-28 07:39:50 UTC (rev 
73873)
+++ trunk/extensions/Collection/README.txt      2010-09-28 07:58:50 UTC (rev 
73874)
@@ -117,6 +117,15 @@
 
      $ mw-render --list-writers
 
+       *$wgCollectionContentTypeToFilename (array)*
+        An array matching content types to filenames for downloaded documents. 
The
+        default is:
+
+               $wgCollectionContentTypeToFilename = array(
+                       'application/pdf' => 'collection.pdf',
+                       'application/vnd.oasis.opendocument.text' => 
'collection.odt',
+               );
+
        *$wgCollectionPortletFormats (array)*
         An array containing formats (keys in $wgCollectionFormats) that shall 
be
         displayed as "Download as XYZ" links in the "Print/export" portlet.



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

Reply via email to