About This File
AutoCategoriseUploads Extension for MediaWiki
The AutoCategoriseUploads extension allows you to add categories to file uploads based on keyword metadata found in the file. The following metadata types are supported:
- XMP (many file types, including JPG, PNG, PDF, etc.)
- ITCP (JPG)
- ID3 (MP3)
- And more!
Requirements
- MediaWiki 1.31 or later
- The SimpleXML PHP extension (optional, used to decode XMP metadata if it exists)
- The zlib PHP extension (optional, used to decode compressed metadata if it exists)
Installation
Download the file (a free account is required) and extract the file to your extensions directory. We recommend that you "follow" the download so that you are notified of new updates via email when they are released.
To install the extension, add the following to your LocalSettings.php file:
wfLoadExtension( 'AutoCategoriseUploads' );
Configuration
There is no further configuration needed to use this extension.
Usage
A new magic word {{FILECATEGORIES}} is added by this extension. Adding this magic word to a file description page will automatically pull categories out of the file metadata and place the description page into those categories. This magic word will be automatically inserted into the page text of newly-uploaded files, but it will need to be manually added to existing files.
Support
Free community support is available on the mwusers.org forums. Paid support plans are available as well.
What's New in Version 2.0.1 See changelog
Released
Fixed an issue that caused errors when uploading.