MediaWiki talk:Gadget-Stockphoto.js
| MediaWiki:Gadget-Stockphoto.js forms part of the MediaWiki interface and can only be edited by administrators, stewards and interface editors. To request a change to MediaWiki:Gadget-Stockphoto.js, add {{Edit request}} to this talk page, followed by a description of your request. This interface message or skin may be documented on mediawiki.org or translatewiki.net. |
| This script, Stockphoto, is a JavaScript gadget which can be enabled or disabled in your Preferences. The documentation page is located at Help:Gadget-Stockphoto. The discussion page is located at MediaWiki talk:Gadget-Stockphoto.js. |
i18n | Gadget translations:
|
|
|
| SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 3 days and sections whose most recent comment is older than 365 days. | |
Discussion at Commons:Village pump/Technical#Audio files embed code needs updating
You are invited to join the discussion at Commons:Village pump/Technical#Audio files embed code needs updating. Sdkb talk 00:49, 15 September 2025 (UTC)
Requested edit
{{Edit request}} At MediaWiki:Gadget-Stockphoto.js#L-427, change the value to 40, per phab:T404934. Sdkb talk 15:05, 18 September 2025 (UTC)
- @Sdkb: I commented on the task – should we also change the width to 350px while we’re at it? Lucas Werkmeister (talk) 21:04, 20 September 2025 (UTC)
Done Fixed by adding a choice of different widths and a greater height to accommodate the new player.
Note that 320px is the standard width of some phones. Screen sizes differ greatly in terms of virtual pixels, but 320px should be a good default. That size is also about as low as the new player can be. --Nux (talk··dyskusja) 23:55, 15 May 2026 (UTC)
Reverse URL encoding
might be good to consider reversing percent-encoding for the url generated, e.g. https://commons.wikimedia.org/wiki/File:臺中市太平區公所結合華山基金會、慈明高中辦理「替代役役男寒冬添愛送年菜關懷長者活動」.jpg .--RoyZuo (talk) 19:19, 31 May 2026 (UTC)
Remove assumption that all files are images
{{Edit request}} The "Download" option currently assumes that all files are images. The menu that pops up after clicking that button displays the text "Download image file", even if the file is a video file, and audio file, or a PDF document. I think the simplest solution is to change this header to simply say "Download file" instead.
Additionally, in the case of an audio file, the link to download the file under that header still says "Full resolution", even though this doesn't make sense for an audio file. If the file is an audio file, this link should be changed to not reference resolution at all. SnorlaxMonster 13:50, 2 July 2026 (UTC)
Half done @Snorlax Monster: I did the first part. However I would argue full resolution still makes sense for audio, it means you're getting the highest sample rate and sample resolution possible. —Matrix(!) ping onewhen replying {user - talk? - uselesscontributions} 13:34, 11 July 2026 (UTC)- Thanks for updating the download caption!
- My understanding of "resolution" is that it specifically refers to the pixel count of the dimensions of an image. (This corresponds to definition #6 on Wikitionary.) If you want a more generic term that could describe both image/video files and audio files, potentially "Full quality" would work. SnorlaxMonster 11:46, 3 August 2026 (UTC)
