Help:Gadget-Stockphoto/ha
![]() | This is the documentation for Stockphoto, a JavaScript gadget which can be enabled or disabled in your Preferences. The script itself is located at MediaWiki:Gadget-Stockphoto.js. |
![]() | If you need more help, please ask at the discussion page or at Commons:Help desk. Documentation: العربية ∙ বাংলা ∙ català ∙ dansk ∙ Deutsch ∙ English ∙ español ∙ français ∙ हिन्दी ∙ italiano ∙ 日本語 ∙ Nederlands ∙ polski ∙ português ∙ português do Brasil ∙ русский ∙ svenska ∙ ไทย ∙ українська ∙ Tiếng Việt ∙ 中文 |
![](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Wikimedia_Commons_-_Stockphoto_gadget.png/400px-Wikimedia_Commons_-_Stockphoto_gadget.png)
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
![](https://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Wikimedia_Commons_-_Stockphoto_gadget_-_Use_this_file_on_the_web.png/400px-Wikimedia_Commons_-_Stockphoto_gadget_-_Use_this_file_on_the_web.png)
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
- Bayanai
- Redirects to Commons:Reusing content outside Wikimedia
Zubi
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 section Gadgets in your Zabubbuka, remove the checkmark ☑ in front of “StockPhoto” and save or just click here and follow the instructions.
Background
![](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/GPaumier_multimedia_usability_draft_mock-ups_Oct09.pdf/page8-300px-GPaumier_multimedia_usability_draft_mock-ups_Oct09.pdf.jpg)
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.
Translation
If you see a problem on a translation, start sharing a comment in the related talk page.
Here all the supported languages:
- Gadget-Stockphoto.js/ar
- Gadget-Stockphoto.js/be-tarask
- Gadget-Stockphoto.js/bn
- Gadget-Stockphoto.js/ca
- Gadget-Stockphoto.js/cs
- Gadget-Stockphoto.js/da
- Gadget-Stockphoto.js/de
- Gadget-Stockphoto.js/el
- Gadget-Stockphoto.js/es
- Gadget-Stockphoto.js/et
- Gadget-Stockphoto.js/eu
- Gadget-Stockphoto.js/fa
- Gadget-Stockphoto.js/fi
- Gadget-Stockphoto.js/fr
- Gadget-Stockphoto.js/gl
- Gadget-Stockphoto.js/he
- Gadget-Stockphoto.js/hi
- Gadget-Stockphoto.js/hr
- Gadget-Stockphoto.js/it
- Gadget-Stockphoto.js/ja
- Gadget-Stockphoto.js/kk-cyrl
- Gadget-Stockphoto.js/ko
- Gadget-Stockphoto.js/lang
- Gadget-Stockphoto.js/mk
- Gadget-Stockphoto.js/ml
- Gadget-Stockphoto.js/nb
- Gadget-Stockphoto.js/nl
- Gadget-Stockphoto.js/pl
- Gadget-Stockphoto.js/pt
- Gadget-Stockphoto.js/pt-br
- Gadget-Stockphoto.js/ru
- Gadget-Stockphoto.js/sk
- Gadget-Stockphoto.js/sl
- Gadget-Stockphoto.js/sr
- Gadget-Stockphoto.js/sv
- Gadget-Stockphoto.js/tr
- Gadget-Stockphoto.js/uk
- Gadget-Stockphoto.js/zh
== See also ==
- Commons:Machine-readable data
- Recap by Guillaume Paumier
- Problems using pictures from Commons in Blogger – making it more of a stock photo repository (Commons-l discussion the tool originated from)