Commons:Village pump/Technical
Village pump/Technical |
Bug reports |
Code review |
Tools |
Tools/Directory |
Idea Lab |
This page is used for technical questions relating to the tools, gadgets, or other technical issues about Commons; it is distinguished from the main Village pump, which handles community-wide discussion of all kinds. The page may also be used to advertise significant discussions taking place elsewhere, such as on the talk page of a Commons policy. Recent sections with no replies for 30 days and sections tagged with {{Section resolved|1=--~~~~}} may be archived; for old discussions, see the archives; recent archives: /Archive/2024/01 /Archive/2024/02.
- Feature or bug reports should be filed on Phabricator (see how to report a bug). Bugs with security implications should be reported differently (see how to report security bugs).
- Have you read the FAQ?
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 1 day and sections whose most recent comment is older than 30 days. | |
Template:Userpage formatting[edit]
I'm trying to add formatting parameters to Template:Userpage (e.g. for changing the background color), but having some issues. I introduced them to Template:Userpage/layout, but I gather that I need to pass them through language variants like Template:Userpage/en to get them to be usable. But when I try to add something like
|border={{{border|}}}
|background={{{background|}}}
|extra-style={{{extra-style|}}}
|file={{{file|}}}
to the English translation, it shows in previews that undefined values are interpreted as blanks rather than just ignored. How do I get around this? Best, {{u|Sdkb}} talk 19:48, 5 December 2023 (UTC)
- {{subst:bump}} {{u|Sdkb}} talk 07:27, 3 February 2024 (UTC)
How to remove unnecessary audio from video[edit]
The video file File:Arc melted rhenium block.webm comes from Flickr. When I shot the video, I accidentally recorded music that may be copyrighted. Can you please remove the audio part of this video? Thank you! Fumikas Sagisavas (talk) 07:32, 23 January 2024 (UTC)
- you can try com:videocuttool, or ask a sysop to import it again without the audio for you.
- next time when you use v2c, make sure unselect "audio" if you dont want it. RZuo (talk) 08:27, 23 January 2024 (UTC)
- MKVToolNixGUI also allows the removal of audio stripes --PantheraLeo1359531 😺 (talk) 19:15, 29 January 2024 (UTC)
UploadStash documentation[edit]
it'd be great if someone can write something at Commons:UploadStash about Special:UploadStash, like how long the temporary files are stored in the stash.
or maybe you can point to where the actual documentation about this is. i made it a soft redirect to where the doc is supposed to be but the target page is certainly abandoned and outdated. RZuo (talk) 10:49, 29 January 2024 (UTC)
- I made a start. Is there anything in particular you think should be included? Bawolff (talk) 09:16, 22 February 2024 (UTC)
- thx a lot. i was just looking for how long (48 hours). RZuo (talk) 11:16, 22 February 2024 (UTC)
- Ah yes, its 48 hours, controlled by $wmgUploadStashMaxAge in InitialiseSettings.php [1]. It should be noted there is currently a bug where sometimes stash files get reported as being deleted way before it should. We think it happens when multiple mediawiki jobs try to assemble the file at the same time, and one deletes the file out from under the other one and we are working to try and fix it. Bawolff (talk) 19:42, 22 February 2024 (UTC)
- thx a lot. i was just looking for how long (48 hours). RZuo (talk) 11:16, 22 February 2024 (UTC)
Tech News: 2024-05[edit]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- Starting Monday January 29, all talk pages messages' timestamps will become a link. This link is a permanent link to the comment. It allows users to find the comment they are looking for, even if this comment was moved elsewhere. This will affect all wikis except for the English Wikipedia. You can read more about this change on Diff or on Mediawiki.org. [2]
- There are some improvements to the CAPTCHA to make it harder for spam bots and scripts to bypass it. If you have feedback on this change, please comment on the task. Staff are monitoring metrics related to the CAPTCHA, as well as secondary metrics such as account creations and edit counts.
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 30 January. It will be on non-Wikipedia wikis and some Wikipedias from 31 January. It will be on all wikis from 1 February (calendar). [3][4]
- On February 1, a link will be added to the "Tools" menu to download a QR code that links to the page you are viewing. There will also be a new Special:QrCode page to create QR codes for any Wikimedia URL. This addresses the #19 most-voted wish from the 2023 Community Wishlist Survey. [5]
- Gadgets which only work in some skins have sometimes used the
targets
option to limit where you can use them. This will stop working this week. You should use theskins
option instead. [6]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 19:28, 29 January 2024 (UTC)
How can I revert my edit[edit]
I was updating a .pdf of a book with page problems that I had uploaded in the past. However, in the process, I didn't read the message advising not to upload a .pdf when updating a file. As a result, my file is now broken. Is there a way to revert my edit? Here is the file: File:A Bruxa de Monte-Cordova (1904).pdf Junglk (talk) 01:42, 1 February 2024 (UTC)
- @Junglk: Scroll down to the file history and click the link that says "revert" next to the previous version of the file. I've gone ahead and done that here. —CalendulaAsteraceae (talk • contribs) 05:30, 1 February 2024 (UTC)
Odd template behaviour at Creator:Rabindranath Tagore[edit]
Hello, in the description field of this creator tag there is a preceding hyphen, and the word "Bengali" is wikilinked but I can't find this anywhere in the Wikidata description. Please also see Creator talk:Rabindranath Tagore. pinging previously involved editors: @Jeff G. and Pacha Tchernof: —Matrix(!) {user - talk? - useless contributions} 17:43, 2 February 2024 (UTC)
- @Matrix: I think I've worked out some of what's going on. The description is constructed by Module:NationAndOccupation, and it inserts a hyphen in the "nationality" part of the description where there are two nationalities. In the case of Rabindranath Tagore (Q7241) there are two values for ethnic group (P172), Bengali (Q402913) and Brahmin caste (Q47140). I reckon the empty string before the hyphen is a failed attempt at rendering Brahmin caste (Q47140). I haven't worked out why that's failing though. --bjh21 (talk) 18:06, 2 February 2024 (UTC)
- I think it may just boil down to Brahmin caste (Q47140) not being in Module:NationAndOccupation/nationalityLUT, but I'm not sure. --bjh21 (talk) 18:12, 2 February 2024 (UTC)
- @Bjh21: I've just specified the nationality manually at Creator:Rabindranath Tagore, so it should be good now. —Matrix(!) {user - talk? - useless contributions} 14:04, 3 February 2024 (UTC)
Deleted file disappeared[edit]
Hi, FYI I filled up a bug report for File:Derain_CharingCrossBridge.png which was deleted in 2006, and can't be restored. The file description is available, but the file itself disappeared. See phab:T356535. Yann (talk) 19:48, 2 February 2024 (UTC)
- @Yann: Is this it: en:File:Derain CharingCrossBridge.png? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 21:19, 4 February 2024 (UTC)
GlobalUsageCount down[edit]
toolforge:globalusagecount has been down for weeks (it was reported here), and the maintainer Steinsplitter has not been active globally since December. I submitted an edit request at MediaWiki talk:Globalusage-header-image to use a mirror instead, but looking through Category:Commons protected edit requests for interface administrators it seems like there are intadmin edit requests that have been languishing for months without response, so I am reposting it here for visibility. Ahecht (TALK
PAGE) 18:35, 4 February 2024 (UTC)
- Done by Lucas Werkmeister. --Ahecht (TALK
PAGE) 23:43, 4 February 2024 (UTC)
Translingual tag[edit]
It would be useful to have a translingual tag for New Latin name of species, similar to {{En}} or {{Fr}}, in {{Information}}. An example here.-- Carnby (talk) 07:31, 5 February 2024 (UTC)
Tech News: 2024-06[edit]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- The mobile site history pages now use the same HTML as the desktop history pages. If you hear of any problems relating to mobile history usage please point them to the phabricator task.
- On most wikis, admins can now block users from making specific actions. These actions are: uploading files, creating new pages, moving (renaming) pages, and sending thanks. The goal of this feature is to allow admins to apply blocks that are adequate to the blocked users' activity. Learn more about "action blocks". [7][8]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 6 February. It will be on non-Wikipedia wikis and some Wikipedias from 7 February. It will be on all wikis from 8 February (calendar). [9][10]
- Talk pages permalinks that included diacritics and non-Latin script were malfunctioning. This issue is fixed. [11]
Future changes
- 24 Wikipedias with Reference Tooltips as a default gadget are encouraged to remove that default flag. This would make Reference Previews the new default for reference popups, leading to a more consistent experience across wikis. For 46 Wikipedias with less than 4 interface admins, the change is already scheduled for mid-February, unless there are concerns. The older Reference Tooltips gadget will still remain usable and will override this feature, if it is available on your wiki and you have enabled it in your settings. [12][13]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 19:20, 5 February 2024 (UTC)
Api that returns the file ids[edit]
I am looking for an api that can give ids of all the file revisions of a page. If the file page has multiple file uploads, I would like to get ids of all. So far I could only find API:Filearchive api that can return ids of all deleted pages but I am looking for a similar api that can return files that are not deleted. Sreejith K (talk) 21:56, 6 February 2024 (UTC)
- @Sreejithk2000: mw:API:Imageinfo will return all versions of a file. I don't think each version has an ID though. In the database, the filearchive table has an ID column, but the oldimage table doesn't. --bjh21 (talk) 00:04, 7 February 2024 (UTC)
- Thank you @Bjh21 -- Sreejith K (talk) 04:56, 8 February 2024 (UTC)
Tech News: 2024-07[edit]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- The WDQS Graph Split experiment is working and loaded onto 3 test servers. The team in charge is testing the split's impact and requires feedback from WDQS users through the UI or programmatically in different channels. [14][15][16] Users' feedback will validate the impact of various use cases and workflows around the Wikidata Query service. [17][18]
Problems
- There was a bug that affected the appearance of visited links when using mobile device to access wiki sites. It made the links appear black; this issue is fixed.
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 13 February. It will be on non-Wikipedia wikis and some Wikipedias from 14 February. It will be on all wikis from 15 February (calendar). [19][20]
- As work continues on the grid engine deprecation,[21] tools on the grid engine will be stopped starting on February 14th, 2024. If you have tools actively migrating you can ask for an extension so they are not stopped. [22]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 05:46, 13 February 2024 (UTC)
Request for comments about my recent uploads.[edit]
Hi,
Just added three drawings linked here.
JPG
PNG
XCF My XCF files were produced by GIMP 2.10. Not supported currently; hopefully the constraint will be removed sooner rather than later. =8~)
The upload process has changed since my previous uploads. Any comments or suggestions before I add more drawings? Thanks, ... PeterEasthope (talk) 04:43, 14 February 2024 (UTC)
- Thanks for these. But as to formats, I think the JPG alone is enough. They're primarily document scans, and their context as documents rather than just designs is important too. I can't see the XCF, even the bitmap previews of it. But I don't se a big advantage to having these in a vector form, or even that a full 3D CAD model would be worth the effort of drawing them. Andy Dingley (talk) 20:44, 14 February 2024 (UTC)
- Yes, XCF is the most questionable. Perhaps I should request deletion of those.
- Doesn't the official image documentation recommend PNG when available. The primary benefit of JPG is the smaller size. Will review the documentation. Thx, ... PeterEasthope (talk) 03:26, 16 February 2024 (UTC)
Patrol interface changed?[edit]
I just noticed that the links that I normally see when viewing unpatrolled diffs seem to have disappeared. When viewing a new page the link shows as usual. Have the revision-patrol links moved, and I’m just not seeing them, or might a gadget or something be interfering with their display? (I haven’t changed any preferences recently.)—Odysseus1479 (talk) 04:14, 15 February 2024 (UTC)
Hi, It seems there is bug when patrolling edits since this morning (CET). Example: this edit doesn't seem to be patrolled (i.e. not in the log [23]), but it can't be patrolled, and the user is not autopatrolled. Yann (talk) 16:32, 15 February 2024 (UTC)
- Since it was reported by at least 2 persons, I made a bug report. Yann (talk) 16:49, 15 February 2024 (UTC)
- Can confirm this, also in RTRC. GPSLeo (talk) 16:59, 15 February 2024 (UTC)
- I note that the red exclamation-marks that indicate unpatrolled edits in my watchlist are still showing, so the problem is apparently not that the edits are failing to be identified by the software, occurring instead during the construction or presentation of diff pages.—Odysseus1479 (talk) 21:42, 15 February 2024 (UTC)
- This seems to be fixed despite no one commented at the Phabricator ticket. GPSLeo (talk) 08:05, 18 February 2024 (UTC)
- No, the bug is still here for me. Yann (talk) 16:46, 18 February 2024 (UTC)
- Me too. In case it helps anyone from Phabricator who may be reading this, I’m in Safari 17.3 / MacOS 13.6 using the Vector legacy (2010) skin. I might try other skins (although I don’t know what the patrol link usually looked like in them); will report back if any difference is seen.—Odysseus1479 (talk) 01:24, 21 February 2024 (UTC) P.S. Tried all the skins: the links do appear in MinervaNeue. Twice in fact, one in the usual place under the ES &c. and one at the bottom of the page. (I have my preferences set not to display pages under diffs.) But missing from all the others AFAICT. (I tried turning off a couple of Gadgets in Vector; no difference.)—03:01, 21 February 2024 (UTC)
- Does adding the following code to User:Odysseus1479/vector.css fix the issue for you?
- Me too. In case it helps anyone from Phabricator who may be reading this, I’m in Safari 17.3 / MacOS 13.6 using the Vector legacy (2010) skin. I might try other skins (although I don’t know what the patrol link usually looked like in them); will report back if any difference is seen.—Odysseus1479 (talk) 01:24, 21 February 2024 (UTC) P.S. Tried all the skins: the links do appear in MinervaNeue. Twice in fact, one in the usual place under the ES &c. and one at the bottom of the page. (I have my preferences set not to display pages under diffs.) But missing from all the others AFAICT. (I tried turning off a couple of Gadgets in Vector; no difference.)—03:01, 21 February 2024 (UTC)
- No, the bug is still here for me. Yann (talk) 16:46, 18 February 2024 (UTC)
- This seems to be fixed despite no one commented at the Phabricator ticket. GPSLeo (talk) 08:05, 18 February 2024 (UTC)
- I note that the red exclamation-marks that indicate unpatrolled edits in my watchlist are still showing, so the problem is apparently not that the edits are failing to be identified by the software, occurring instead during the construction or presentation of diff pages.—Odysseus1479 (talk) 21:42, 15 February 2024 (UTC)
- Can confirm this, also in RTRC. GPSLeo (talk) 16:59, 15 February 2024 (UTC)
.patrollink.patrollink-diffonly { display: block; }
Jdlrobson (talk) 04:22, 21 February 2024 (UTC)
- @Jdlrobson: it does indeed; thank you very much!—Odysseus1479 (talk) 06:03, 21 February 2024 (UTC)
- Thanks for the extra information. I'll feed that back to the ticket tomorrow and work out what happened here to find a better long term solution. Jdlrobson (talk) 06:06, 21 February 2024 (UTC)
Cat-a-lot does not work for categories[edit]
There seems to be a technical problem with Help:Gadget-Cat-a-lot: when I click on Preferences, click on "Allow categorising pages (including categories) that are not files", then select one or more subcategories and try to move/copy/delete them to/from another category (like I always do), nothing happens but an endless "Editing page 1 of X". Moving files is no problem. Can this be fixed? JopkeB (talk) 11:05, 16 February 2024 (UTC)
- I am not the only one having troubles, see Commons:Village_pump#Cat-a-lot as well. JopkeB (talk) 13:27, 16 February 2024 (UTC)
- Same for me: moving categories does not work, moving files works. --Reinhard Müller (talk) 14:49, 16 February 2024 (UTC)
- I confirm that it is not working. Theklan (talk) 09:36, 24 February 2024 (UTC)
- I can also confirm that it's not working for categories, although it will sometimes say that the category was moved.Smasongarrison (talk) 00:28, 27 February 2024 (UTC)
- I confirm that it is not working. Theklan (talk) 09:36, 24 February 2024 (UTC)
- Same for me: moving categories does not work, moving files works. --Reinhard Müller (talk) 14:49, 16 February 2024 (UTC)
- Note: If there is specific categories where problem can be replicated then please list them. (ie. fixing requires example cases) --Zache (talk) 15:58, 16 February 2024 (UTC)
- I would like to copy a lot of subcategories in Category:Energy by type of energy to Category:Energy by topic (all except for the 'by' categories). JopkeB (talk) 16:20, 16 February 2024 (UTC)
- It was broken by a change to the HTML structure of the category pages, see phab:T355636#9553616. I hope it will be fixed by another change to the HTML structure, but if not, an interface admin should update the method getMarkedLabels() to account for the change. —Tacsipacsi (talk) 14:02, 18 February 2024 (UTC)
- I would like to copy a lot of subcategories in Category:Energy by type of energy to Category:Energy by topic (all except for the 'by' categories). JopkeB (talk) 16:20, 16 February 2024 (UTC)
Tech News: 2024-08[edit]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- If you have the "Email me when a page or a file on my watchlist is changed" option enabled, edits by bot accounts no longer trigger notification emails. Previously, only minor edits would not trigger the notification emails. [24]
- There are changes to how user and site scripts load for Vector 2022 on specific wikis. The changes impacted the following Wikis: all projects with Vector legacy as the default skin, Wikivoyage, and Wikibooks. Other wikis will be affected over the course of the next three months. Gadgets are not impacted. If you have been affected or want to minimize the impact on your project, see this ticket. Please coordinate and take action proactively.
- Newly auto-created accounts (the accounts you get when you visit a new wiki) now have the same local notification preferences as users who freshly register on that wiki. It is effected in four notification types listed in the task's description.
- The maximum file size when using Upload Wizard is now 5 GiB. [25]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 20 February. It will be on non-Wikipedia wikis and some Wikipedias from 21 February. It will be on all wikis from 22 February (calendar). [26][27]
- Selected tools on the grid engine have been stopped as we prepare to shut down the grid on March 14th, 2024. The tool's code and data have not been deleted. If you are a maintainer and you want your tool re-enabled reach out to the team. Only tools that have asked for extension are still running on the grid.
- The CSS
filter
property can now be used in HTMLstyle
attributes in wikitext. [28]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 15:34, 19 February 2024 (UTC)
Protection not showing correctly[edit]
When I go to File:Dự thảo Bảng lương Quân nhân chuyên nghiệp Việt Nam năm 2021.jpg, it says "This page is currently protected, and can be edited only by administrators". However, when I click "view source", it then state that the file is actually template protected, not fully protected. This issue only seems to affect files with autopatroller or template protection. —Matrix(!) {user - talk? - useless contributions} 16:55, 19 February 2024 (UTC)
How to solve the problem that videos uploaded using video2commons lack normal audio[edit]
I recently uploaded a Flickr video using video2commons, but the audio was missing after uploading it several times. How to solve it?The target file is File:Freezing rain (20240220).webm, and the video source link is [29]. Fumikas Sagisavas (talk) 06:24, 21 February 2024 (UTC)
- what do you mean by normal audio? i played it on commons and flickr for a few seconds. they sound the same. upload appears successful? did you turn on your loudspeaker, etc.? RZuo (talk) 09:12, 21 February 2024 (UTC)
More worthless structured data?[edit]
Does Structured Data still matter, or have we given up on it?
There's a new tool out there, and it (once again) seems to be focussed on diluting the usefulness of any Structured Data that's held in favour of the trivial and pointless. Is this (again!) the direction we want to be going in?
File:Avenue des Champs-Elysées from top of Arc de triomphe Paris.jpg is a major landmark in Paris. There are clear topics of significance here. But what do we have instead? 'Arc de Triomphe' (which isn't here) and 'road, tree, building', which sound like an example case from a text on 'How to categorize things in a way that's not incorrect, yet also quite useless'.
Or taking a historically significant photo like File:Crowds of French patriots line the Champs Elysees-edit2.jpg with the useful and relevant data 'Arc de Triomphe' (yes, it is), 'Liberation of Paris' (yes, although maybe we could be even more specific), 'M3' and 'M8' (horribly ambiguous as names, although the QIDs are much better. But then adding 'sky, human, tree' to it ?
What is the point to any of this? SD is largely useless to start with, but why do we keep building projects like this to make it worse? Andy Dingley (talk) 13:15, 21 February 2024 (UTC)
Using translate tags in Lua[edit]
{{POTY/header}} has a lot of complicated logic so I'm working on implementing it in Lua at Module:POTY/header, but judging from {{POTY/header/sandbox}}, it seems the <translate>
tags are being stringified too early. How can I fix this? —CalendulaAsteraceae (talk • contribs) 22:43, 21 February 2024 (UTC)
- @CalendulaAsteraceae:
<translate>
tags are for wikitext, they cannot be used in modules. (Under the hood, the Translate extension directly manipulates the page’s wikitext content, it’s not a real parser tag, and refuses to manipulate anything that’s not wikitext, to be on the safe side.) You have basically two options:- Keep {{POTY/header}} (which you’d probably do anyway) and pass the translatable strings as parameters to the module. This also has the advantage that existing translations can stay where they are, no need to copy translations over (and pay attention to the attribution required by the CC license).
- Use message bundles. This is a JSON-based format, designed for use in modules, but it’s pretty new, I couldn’t even find any useful documentation on it. (It’s mentioned at mw:Translatable modules/Technical implementation#Proposed solution: Message bundles on module subpage(s), but that page hasn’t been touched in over three years.)
- By the way, Module:POTY/header is currently almost twice as big (in terms of bytes) as Template:POTY/header. Does it really make sense to reimplement it in Lua? Much of the complexity comes from HTML and translation markup – HTML is even more complicated in Lua than in wikitext, translation is impossible. —Tacsipacsi (talk) 23:24, 25 February 2024 (UTC)
The current pipeline for uploading images through Flickr is completely broken.[edit]
At present, the pipeline for uploading pictures and videos through Flickr has been completely damaged. After uploading, it stays at "Submitting details…". Please repair it as soon as possible. Fumikas Sagisavas (talk) 23:27, 21 February 2024 (UTC)
- I was about to mention this. With upload wizard, Flickr photos look like they're going to upload, displaying the image and letting you add categories and edit fields, but when you push "publish" it never loads. This started for me yesterday evening. I tried letting one run for 20 minutes to see if it would ever resolve, but it didn't. I just tried again a few minutes ago using a different machine, but same result. -- Infrogmation of New Orleans (talk) 14:20, 22 February 2024 (UTC)
- Still the same problem, I tried letting 1 image run over half an hour, but no better. -- Infrogmation of New Orleans (talk) 18:05, 22 February 2024 (UTC)
Image timeouts[edit]
Hi, during browsing I'm getting a lot of timeouts trying to load images from Wikimedia servers on en.Wikipedia and wikimedia.org. For the last few days. Any advice? It's intermittent, but when it's out it's out. Temerarius (talk) 23:08, 22 February 2024 (UTC)
All videos uploaded in the last week lack audio[edit]
Hello! All videos uploaded in the last week lack audio, despite the audio can be downloaded in the mp3 transcode. You can check this here. Theklan (talk) 14:41, 23 February 2024 (UTC)
- Thank you for asking the question here, I need help too on this subject! My video , File:Wikimania - The Wikimentary - Edited.webm , does not display sound when viewing in a thumbnail; It does have the mp3 Transcode, though, and also, when I search for it in the search bar, the "preview" played does have audio with it!
Blocktomo (talk) 15:36, 24 February 2024 (UTC)
Commons mobile phone app – problems with setting author name[edit]
Hi there.
I have some problems with setting an author name to the files I upload from the Commons app I downloaded from F-Droid. I found the "Custom author name" setting, but no matter what value I try to set, I'll never get the result I want.
What I want to achieve: Link to my user page masked as my full name (like this: Jan Štěch, for example on File:Jasan u Milešic 01.jpg).
What I tried:
- Setting
ShadyMedic
lead to what you'd expect and can see on File:Lípa srdčitá – Strunkovice nad Blanicí.jpg - Setting
Jan Štěch
lead to what you can see on File:Zrekonstruované Českobudějovické Nádraží 4.jpg - Setting
[[User:ShadyMedic | Jan Štěch]]
lead to what you can see on File:File:Úsilnický rybník.jpg
Any ideas what do I need to set in there?
Thanks in advance. ShadyMedic (talk) 17:21, 24 February 2024 (UTC)
- @ShadyMedic: it appears that the app is automatically wrapping your entry in a user link. What happens if you submit
ShadyMedic|Jan Štěch
, without the brackets orUser:
?—Odysseus1479 (talk) 00:01, 25 February 2024 (UTC)- Hi Odysseus, thank you for your reply. I tried setting the Custom author name to
ShadyMedic|Jan Štěch
, result of which is another unwanted formatting, which you can see on File:Dálnice D3 – Konec u Českých Budějovic.jpg - .
- Do you have any other ideas? ShadyMedic (talk) 16:47, 25 February 2024 (UTC)
- Sorry, no—other than not using the setting, instead making follow-up edits to ‘pipe’ your name. Looking more carefully at the examples it seems to be just duplicating whatever you submit, which seems to me either a bug or a design flaw.—Odysseus1479 (talk) 03:27, 26 February 2024 (UTC)
- Nevermind, still thanks. Just one more question: is there a tool on Commons or perhaps a bot of sorts where I can request to set the Author value of all my uploads to the desired value, so it's done automatically? ShadyMedic (talk) 08:23, 26 February 2024 (UTC)
- Sorry, no—other than not using the setting, instead making follow-up edits to ‘pipe’ your name. Looking more carefully at the examples it seems to be just duplicating whatever you submit, which seems to me either a bug or a design flaw.—Odysseus1479 (talk) 03:27, 26 February 2024 (UTC)
- Hi Odysseus, thank you for your reply. I tried setting the Custom author name to
- i suggest you report this to https://github.com/commons-app/apps-android-commons/issues .
- as for a manual patch after upload, you can DIY with com:vfc com:jwb etc. RZuo (talk) 08:43, 26 February 2024 (UTC)
Broken PNG[edit]
Is there any way to know what is broken about this file? It cannot display a thumb or at full or other resolution. But I cannot even download it to try to work on it locally. DMacks (talk) 22:47, 24 February 2024 (UTC)
- The uploader uploaded File:Photo of a TLC plate Baclofen.tif minutes later, so my guess is that it's the same image. The Squirrel Conspiracy (talk) 23:27, 24 February 2024 (UTC)
- Makes sense. DMacks (talk) 23:28, 24 February 2024 (UTC)
- (Edit conflict) @DMacks: I believe that was a lossless JPEG, from a version of the standard that’s not widely supported outside of medical imaging. FWIW the original file displayed in my browser, and when downloaded could be opened in Apple Preview (but not in Adobe Photoshop).—Odysseus1479 (talk) 23:44, 24 February 2024 (UTC)
- Crazy! I was also using Apple (Firefox), since I have better tools on my Mac for handling a range of situations like that, but couldn't even get as far as downloading it. Thanks for the info. DMacks (talk) 23:49, 24 February 2024 (UTC)
- Safari here, fairly recent. I just tried it on a much older Mac, where it couldn’t be opened with any of Safari, Preview or GIMP. (Too late to check download-ability from there.)—Odysseus1479 (talk) 00:11, 25 February 2024 (UTC)
- @Odysseus1479: I've undeleted it. Is it possible for you to download the file and save it as a different format of jpg? Alternatively, can you confirm that it's identical to File:Photo of a TLC plate Baclofen.tif? Thanks! The Squirrel Conspiracy (talk) 02:29, 25 February 2024 (UTC)
- @The Squirrel Conspiracy: Done and linked to the (presumably) losslessly compressed TIFF, for anyone who cares, not that there’s any appreciable difference in quality for such a ‘fuzzy’ original. While I was at it I cropped off the white border.—Odysseus1479 (talk) 03:30, 25 February 2024 (UTC)
- Awesome, thanks! The Squirrel Conspiracy (talk) 04:49, 25 February 2024 (UTC)
- @The Squirrel Conspiracy: Done and linked to the (presumably) losslessly compressed TIFF, for anyone who cares, not that there’s any appreciable difference in quality for such a ‘fuzzy’ original. While I was at it I cropped off the white border.—Odysseus1479 (talk) 03:30, 25 February 2024 (UTC)
- @Odysseus1479: I've undeleted it. Is it possible for you to download the file and save it as a different format of jpg? Alternatively, can you confirm that it's identical to File:Photo of a TLC plate Baclofen.tif? Thanks! The Squirrel Conspiracy (talk) 02:29, 25 February 2024 (UTC)
- Safari here, fairly recent. I just tried it on a much older Mac, where it couldn’t be opened with any of Safari, Preview or GIMP. (Too late to check download-ability from there.)—Odysseus1479 (talk) 00:11, 25 February 2024 (UTC)
- Crazy! I was also using Apple (Firefox), since I have better tools on my Mac for handling a range of situations like that, but couldn't even get as far as downloading it. Thanks for the info. DMacks (talk) 23:49, 24 February 2024 (UTC)
- (Edit conflict) @DMacks: I believe that was a lossless JPEG, from a version of the standard that’s not widely supported outside of medical imaging. FWIW the original file displayed in my browser, and when downloaded could be opened in Apple Preview (but not in Adobe Photoshop).—Odysseus1479 (talk) 23:44, 24 February 2024 (UTC)
- Makes sense. DMacks (talk) 23:28, 24 February 2024 (UTC)
CommonsDelinker[edit]
Hi, CommonsDelinker is stuck since 09:06, 23 February 2024. Could someone restart it? Thanks, Yann (talk) 11:40, 26 February 2024 (UTC)
Tech News: 2024-09[edit]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- The mobile visual editor is now the default editor for users who never edited before, at a small group of wikis. Research shows that users using this editor are slightly more successful publishing the edits they started, and slightly less successful publishing non-reverted edits. Users who defined the wikitext editor as their default on desktop will get the wikitext editor on mobile for their first edit on mobile as well. [30]
- The mw.config value
wgGlobalGroups
now only contains groups that are active in the wiki. Scripts no longer have to check whether the group is active on the wiki via an API request. A code example of the above is:if (/globalgroupname/.test(mw.config.get("wgGlobalGroups")))
. [31]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 27 February. It will be on non-Wikipedia wikis and some Wikipedias from 28 February. It will be on all wikis from 29 February (calendar). [32][33]
Future changes
- The right to change edit tags (
changetags
) will be removed from users in Wikimedia sites, keeping it by default for admins and bots only. Your community can ask to retain the old configuration on your wiki before this change happens. Please indicate in this ticket to keep it for your community before the end of March 2024.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.