Extension:UploadsLink

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
UploadsLink

Release status:Extension status stable

ImplementationTemplate:Extension#type User interface, MyWiki
DescriptionTemplate:Extension#description Adds a link to user's personal uploads listing to personal tools menu
Author(s)Template:Extension#username Rillketalk
MediaWikiTemplate:Extension#mediawiki 1.25
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license MIT License
Download
ParametersTemplate:Extension#parameters
* $wgUploadsLinkDisableAnon
Hooks usedTemplate:Extension#hook
PersonalUrlsManual:Hooks/PersonalUrls
BaseTemplateToolboxManual:Hooks/BaseTemplateToolbox

Translate the UploadsLink extension if it is available at translatewiki.net

Check usage and version matrix.
Vagrant roleMediaWiki-Vagrant#Using roles uploadslink

IssuesPhabricator

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]

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' );
    
  • YesY 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.