r73874 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73873‎ | r73874 | r73875 >
Date:07:58, 28 September 2010
Author:jojo
Status:ok
Tags:
Comment:
document $wgCollectionContentTypeToFilename
Modified paths:
  • /trunk/extensions/Collection/README.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/README.txt
@@ -117,6 +117,15 @@
118118
119119 $ mw-render --list-writers
120120
 121+ *$wgCollectionContentTypeToFilename (array)*
 122+ An array matching content types to filenames for downloaded documents. The
 123+ default is:
 124+
 125+ $wgCollectionContentTypeToFilename = array(
 126+ 'application/pdf' => 'collection.pdf',
 127+ 'application/vnd.oasis.opendocument.text' => 'collection.odt',
 128+ );
 129+
121130 *$wgCollectionPortletFormats (array)*
122131 An array containing formats (keys in $wgCollectionFormats) that shall be
123132 displayed as "Download as XYZ" links in the "Print/export" portlet.

Status & tagging log