Extension:AutoCategoriseUploads

MediaWiki extensions manual
OOjs UI icon advanced.svg
AutoCategoriseUploads
Release status: stable
Implementation Data extraction, Variable
Description Automatically add new uploads to categories based on file metadata
Author(s) Ryan Schmidt (Skizzerztalk)
Latest version 2.0.1 (2020-05-08)
Compatibility policy master
MediaWiki 1.31+
License GNU General Public License 3.0
Download Download latest version
Translate the AutoCategoriseUploads extension if it is available at translatewiki.net
Check usage and version matrix.

This extension automatically adds categories to new 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!

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.

InstallationEdit

  • Download and place the file(s) in a directory called AutoCategoriseUploads in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'AutoCategoriseUploads' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

SupportEdit

Extension support is handled via the MediaWiki Users forum. Requests on the talk page here are likely to be overlooked. Commercial support plans are available for purchase.