Extension:UploadsLink

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
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
MediaWiki 1.25
Database changes No
License MIT License
Download
Parameters
  • $wgUploadsLinkDisableAnon
Hooks used
PersonalUrls
BaseTemplateToolbox
Translate the UploadsLink extension if it is available at translatewiki.net
Check usage and version matrix.
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.

User documentation[edit]

See Help:Extension:UploadsLink.

Installation[edit]

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

Server-side 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.