Extension:UploadsLink

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

See Help:Extension:UploadsLink.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/UploadsLink</tvar>|Download]] and move the extracted <tvar name=name>UploadsLink</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UploadsLink
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'UploadsLink' );
    
  • Configure as required.
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>


<translate> Vagrant installation:</translate>

  • <translate> If using <tvar name=vagrant>Vagrant </tvar>, install with <tvar name=code>vagrant roles enable uploadslink --provision</tvar></translate>

Configuration

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.