Help:Gadget-Stockphoto

Revision as of 12:40, 8 May 2021 by Caleb Cooper (talk | contribs) (Created page with "<languages /> {{Gadget-help|name=Stockphoto|script=Stockphoto|doc=Help:Gadget-Stockphoto|talk=MediaWiki talk:Gadget-Stockphoto.js}} File:Wikimedia Commons - Stockphoto gadge...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This content is in the Help Namespace.

Template:Gadget-help

The buttons as seen by anonymous users

Stockphoto is a gadget, enabled by default for all (even anonymous) users.

It is meant to help with media reuse, by adding on file pages buttons helping with credit lines, licensing requirements and code generation.

Overview

Buttons

 
The “Use this file on the web” dialog

Several buttons provide credit lines and code snippets:

Download
Opens a dialog, providing: "Page URL", "File URL", credit line (with or without HTML), "Download image file" (providing links to various resolutions)
Use this file on the web
Opens a dialog, providing: "Page URL", "File URL", credit line (with or without HTML), code snippets in BBcode or HTML to embed the file with the appropriate licensing information.
Use this file on a wiki
Provides wiki code snippets to use the file on a wiki (e.g. Wikipedia)
Email a link
Starts an e-mail with a link to the file and a credit line
Information
Redirects to Commons:Reusing content outside Wikimedia

Appearance

Anonymous users see the gadget as big buttons on the right of the file, logged-in as a thin bar just above the image.

How does it work?

The gadget relies on machine-readable data defined by Commons templates.

How to turn this feature off

  • To turn it temporarily off, click on the red x ( ) near the buttons. To turn it on again, reload the page and look for a link Reuse this file directly below the heading/file title.
  • To turn it completely off, go to [[Special:Preferences#mw-prefsection-gadgets|section Template:Localized mw message in your Template:Localized mw message]], remove the checkmark ☑ in front of “StockPhoto” and save or Template:DeactivateGadget.

Background

 
Early design mockups

The tool was coded by Magnus Manske and introduced in October 2011. The design was taken from early mockups created by Guillaume Paumier as part of the Wikimedia Foundation Multimedia usability initiative.

See also