Jump to content

Extension:UploadsLink

From mediawiki.org
MediaWiki extensions manual
UploadsLink
Release status: stable
Implementation User interface, MyWiki
Description Adds a link to user's personal uploads listing to personal tools menu
Author(s) Rillketalk
Latest version Continuous updates
MediaWiki 1.25+
Database changes No
License MIT License
Download
Help Help:Extension:UploadsLink
  • $wgUploadsLinkEnableRelevantUserLink
  • $wgUploadsLinkEnablePersonalLink
  • $wgUploadsLinkDisableAnon
Quarterly downloads 4 (Ranked 133rd)
Translate the UploadsLink extension if it is available at translatewiki.net
Vagrant role uploadslink
Issues Open tasks · Report a bug

The UploadsLink extension adds, depending on its configuration, a link to the personal uploads listing, within the personal tools menu and one to the Tools-box on user pages and pages that relate to a user.

It replaced MediaWiki:Gadget-MyUploads.js on Wikimedia Commons.

Usage

[edit]

See Help:Extension:UploadsLink.

Installation

[edit]
  • Download and move the extracted UploadsLink folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UploadsLink
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'UploadsLink' );
    
  • Configure as required.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Vagrant installation:

  • If using Vagrant , install with vagrant roles enable uploadslink --provision

Configuration

[edit]

This extension provides three configuration options:

$wgUploadsLinkEnablePersonalLink
(Default: true)
Setting to false will disable the personal uploads link entirely.
$wgUploadsLinkDisableAnon
(Default: true)
Whether to disable the personal uploads link for anonymous users. Has no effect if $wgUploadsLinkEnablePersonalLink is set to false.
$wgUploadsLinkEnableRelevantUserLink
(Default: true)
Setting to false will disable the tool box link entirely.