Extension:FileAnnotations

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
FileAnnotations
Release status: experimental
Fileannotations.png
Implementation Media
Description Annotations for media
Author(s) MarkTraceurtalk
Latest version 0.0.1
PHP 5.3+
License GNU General Public License 3.0
Download
Hooks used
BeforePageDisplay
ParserFirstCallInit
Translate the FileAnnotations extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

The FileAnnotations extension lets you add, edit, display, and delete annotations to media files.

User guide[edit]

See Help:Extension:FileAnnotations

Installation[edit]

  • If using Vagrant , install with vagrant roles enable fileannotations --provision
Manual installation
  • Download and place the file(s) in a directory called FileAnnotations in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'FileAnnotations' );
    
  • Extension:EventLogging is required for this extension to work.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'FileAnnotations' );, you need to use:

require_once "$IP/extensions/FileAnnotations/FileAnnotations.php";