Extension:AutoCategoriseUploads

Category:Extensions without an imageCategory:GPL licensed extensions
MediaWiki extensions manual
AutoCategoriseUploads
Release status: stableCategory:Stable extensions
Implementation Data extractionCategory:Data extraction extensions, Variable Category:Variable extensions
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 maintains backward compatibility.Category:Extensions with master compatibility policy
MediaWiki 1.31+Category:Extensions with manual MediaWiki version
License GNU General Public License 3.0
Download Download latest version
Category:Extensions in Wikimedia version control
Quarterly downloads 0
Translate the AutoCategoriseUploads extension if it is available at translatewiki.net
Category:All extensions

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.

Installation

  • 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 file:
    wfLoadExtension( 'AutoCategoriseUploads' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Support

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.

Category:All extensions Category:Data extraction extensions Category:Extensions in Wikimedia version control Category:Extensions with manual MediaWiki version Category:Extensions with master compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:GetMagicVariableIDs extensions Category:ParserGetVariableValueSwitch extensions Category:Stable extensions Category:UploadForm:getInitialPageText extensions Category:Variable extensions