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/2023/11 /Archive/2023/12.
- 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. | |
悉請熟悉過濾器的人協助 edit
正如User_talk:そらみみ#您好所述,過濾器對於道路相關的分類是非常敏感,造成顯示紅色訊息:An automated filter has identified this edit as potentially unconstructive, and it has been disallowed. If this edit is constructive, please report this error. 然而,照片確實是有顯示道路標誌或道路有關的標示牌,若是因為過濾器問題而阻止添加分類,可能會給讀者找尋照片時,錯失可以使用的照片。有鑑於此,悉請熟悉過濾器的人協助,看能否更改設定或修復故障。謝謝。--125.230.90.21 14:52, 5 November 2023 (UTC)
- 不是一張,而是很多張。因為只要是照片有拍攝到道路相關的標示牌及標誌,甚至是圓環設施,所有的分類都會被過濾器給阻擋。這些分類僅止於道路相關的分類,比如圓環夜景、禁止標誌、道路龍門架,而且還有更多分類,未能一一列舉,我已經算不清被擋了多少個分類。我只能說太多照片會受到影響。可是,按照そらみみ回答來看,似乎只有非註冊帳號的IP才會受到阻擋。此外,我連照片名稱寫在這裡也會受到過濾器阻擋 (使用維基file連結會被阻擋),包含User_talk:そらみみ也是會被阻擋。因此,我懷疑是過濾器有問題。--125.230.90.21 18:08, 5 November 2023 (UTC)
- RZuo,你可以前往Special:Contributions/125.230.90.21查看,我對照片是如何添加分類,如此就能清楚知道我反映的過濾器問題是否屬實。--125.230.90.21 18:13, 5 November 2023 (UTC)
- 上次圓環是在這張照片遇到,我是取最後一次編輯給你看。關於更多的編輯,可以前往Special:Contributions/125.230.87.246查看。--125.230.90.21 18:19, 5 November 2023 (UTC)
有沒有人可以幫忙?我又被過濾器阻擋了。「國六埔里端.jpg」這張照片不能添加道路有關的分類。--125.230.90.219 18:26, 14 November 2023 (UTC)
- 大哥注册个号吧,IP用户的编辑确实是很受限制,达到编辑数量成了确认用户就会好很多。 Whisper of the heart 19:02, 29 November 2023 (UTC)
Missing Full Name Attribution Option in Photo Upload Form edit
In the new photo upload form, there is a missing option to enter one's own first and last name. I publish photos under the Creative Commons 4.0 Attribution license. I should have the ability to specify how I am credited under these photos. I, Jakub Hałun, am the author of these photographs, not 'jakubhal,' which is a technical and arbitrary account name for me. ---- Jakubhal 14:08, 18 November 2023 (UTC)
- @User:Sannita_(WMF).--RZuo (talk) 19:11, 18 November 2023 (UTC)
- I completely agree that you should be able to state how you wish to be attributed. @Jakubhal: may I assume that you know you can do any of the following as a workaround:
- Add the "author" parameter to {{Self}} immediately after uploading.
- Use VFC to mass-modify your uploads and place the "author" parameter into {{Self}} on any number of your recent uploads.
- Use the file page one of your existing uploads as a basis to copy-paste, and use Special:Upload instead of Special:UploadWizard for your uploads (which is what I do). - Jmabel ! talk 19:13, 18 November 2023 (UTC)
- Special:Preferences#mw-prefsection-uploads is better. RZuo (talk) 21:16, 18 November 2023 (UTC)
- Thank you very much. The preference setting works. As for VFC, I have already fixed existing uploads, but I will install it and try it in the future. Thanks also for that tip. -- Jakubhal 09:16, 19 November 2023 (UTC)
- @User:Udehb-WMF. RZuo (talk) 12:36, 19 November 2023 (UTC)
Tech News: 2023-48 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.
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 28 November. It will be on non-Wikipedia wikis and some Wikipedias from 29 November. It will be on all wikis from 30 November (calendar). There is no new MediaWiki version next week. [1][2]
- MediaWiki's JavaScript system will now allow
async
/await
syntax in gadgets and user scripts. Gadget authors should remember that users' browsers may not support it, so it should be used appropriately. [3] - The deployment of "Add a link" announced last week was postponed. It will resume this week.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 23:06, 27 November 2023 (UTC)
Problem with SVG map edit
In File:Visa policy of Benin.svg and File:Visa policy of the Philippines.svg, Hong Kong and Macau have different colors from Mainland China. However, the colors of HK and MO display the same color as Mainland CN at thumbnails. How to solve this problem? Thanks!--Whisper of the heart 18:55, 29 November 2023 (UTC)
How would I go about writing a script that affects video? edit
Hi, I asked this question at the help desk, and a user suggested I ask questions here in the future.
How would i go about writing a script that affects the video that appears when you click on a video to play it? Like make it so the time display at the bottom left corner also shows the milliseconds? insne (talk) 16:53, 30 November 2023 (UTC)
App not working? edit
I'm getting a generic "upload failed" error message when I try to use the Commons Android app. Persists across multiple files and attempts. Is this a frequent or known issue? {{u|Sdkb}} talk 22:48, 30 November 2023 (UTC)
- if no one else answers you here promptly, you might wanna try https://github.com/commons-app/apps-android-commons/issues .
- i dont use the app so i dont have an answer. RZuo (talk) 08:36, 1 December 2023 (UTC)
TimedText edit
Where do I find the "Select language and press the Go button"? I'd like a warning to be added because we had a lot of badly machine-translated content. --Achim55 (talk) 11:18, 2 December 2023 (UTC)
- @Achim55: The text is from MediaWiki:Timedmedia-subtitle-new-desc. PrimeHunter (talk) 21:13, 4 December 2023 (UTC)
- PrimeHunter, great, thank you! An 'insource' search doesn't find it: [4], that's why I asked here. Strange. That page indeed reads "Select language and press the Go button", but if you click 'edit' you'll get "Wikimedia Commons does not currently have a system message called Timedmedia-subtitle-new-desc." --Achim55 (talk) 21:34, 4 December 2023 (UTC)
- @Achim55: It shows the default value of an interface message in the MediaWiki software. Commons can customize it by saving a page there. See more at mw:Help:System message or w:Help:MediaWiki namespace. MediaWiki defaults like this are not included in search results. If Commons creates a customized message then it will be included. Here is a page with 25000+ current MediaWiki messages: https://commons.wikimedia.org/w/api.php?action=query&meta=allmessages&amlang=en. It can be searched with a browser, using Ctrl+f in Windows browsers. I keep an offline copy on my PC. PrimeHunter (talk) 23:14, 4 December 2023 (UTC)
- PrimeHunter, great, thank you! An 'insource' search doesn't find it: [4], that's why I asked here. Strange. That page indeed reads "Select language and press the Go button", but if you click 'edit' you'll get "Wikimedia Commons does not currently have a system message called Timedmedia-subtitle-new-desc." --Achim55 (talk) 21:34, 4 December 2023 (UTC)
Grid Engine shutdown edit
For those that didn't see it at en:Wikipedia:Village pump (technical)#Toolforge Grid Engine shutdown, per https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/VIWWQKMSQO2ED3TVUR7KPPWRTOBYBVOA/, Toolforge will begin shutting down the Grid Engine on December 14th. There are a large number of tools (CropTool is the one that stuck out at me the most) listed at https://grid-deprecation.toolforge.org/ that will stop working at that time. Ahecht (TALK
PAGE) 16:16, 2 December 2023 (UTC)
- And on the subject of CropTool, if someone has the time to try to get it working on Kubernetes (since the current maintainer is inactive), I'd suggest starting with the version from August 2020 before code refactoring that broke lossless cropping and TIFF, PDF, and DJVU support. Ahecht (TALK
PAGE) 16:27, 2 December 2023 (UTC) - oh no, also User:Steinsplitter's bot, https://grid-deprecation.toolforge.org/t/sbot . RZuo (talk) 06:11, 3 December 2023 (UTC)
- Oof, that list is a lot longer than I had hoped for.... Luckily a good portion seems to be webservers, which should be pretty easy to restart in Kubernetes most of the time, but still, that's a lot of bots that have not been updated yet. —TheDJ (talk • contribs) 15:11, 4 December 2023 (UTC)
Invalid timedtext pagename edit
example: TimedText:Jana_Gana_Mana_instrumental.ogg.Indian_English. RZuo (talk) 11:01, 3 December 2023 (UTC)
- Done: Deleted as dupe of TimedText:Jana Gana Mana instrumental.ogg.en.srt (I checked line by line). Btw, some months ago I created User:Achim55/TimedText pages to be checked where such files show up. A bunch of such naming errors have already been fixed since. --Achim55 (talk) 19:17, 3 December 2023 (UTC)
Module:Tricolor: Lua error: not enough memory; better way to get combinations? edit
I'm working on implementing {{Tricolor}} as a module, based on Module:Bicolor and using Module:Bicolor/data. Unfortunately, when I tested it out at Template:Tricolor/testcases, it threw a memory error. I'm reasonably certain the problem is that the code is generating 50^3 = 125,000 entries of categories to possibly display. Since we only care about categories where there are three distinct colors, listed in alphabetical order, it would be fine to only generate (50 choose 3) = 50!/(3! 47!) = 50 * 49 * 48/3 = 39,200 categories, which mmmight be a small enough list to work with? I would appreciate advice either on how to get a list of unique combinations of elements of a table, or more broadly on what's a good way to approach this problem. —CalendulaAsteraceae (talk • contribs) 00:36, 4 December 2023 (UTC)
- OK, looks like 39,200 is not good enough and I'll need to figure out another approach. —CalendulaAsteraceae (talk • contribs) 01:00, 4 December 2023 (UTC)
- Hmm, I could restrict the color combinations to those which have a category in Category:Combinations of 3 colors, that's less than 2,000. Is there an equivalent of mw:API:Categorymembers for Lua? —CalendulaAsteraceae (talk • contribs) 05:57, 4 December 2023 (UTC)
Tech News: 2023-49 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 spacing between paragraphs on Vector 2022 has been changed from 7px to 14px to match the size of the text. This will make it easier to distinguish paragraphs from sentences. [5]
- The "Sort this page by default as" feature in VisualEditor is working again. You no longer need to switch to source editing to edit
{{DEFAULTSORT:...}}
keywords. [6]
Changes later this week
- There is no new MediaWiki version this week. [7][8]
- On 6 December, people who have the enabled the preference for "Show discussion activity" will notice the talk page usability improvements appear on pages that include the
__NEWSECTIONLINK__
magic word. If you notice any issues, please share them with the team on Phabricator.
Future changes
- The Toolforge Grid Engine shutdown process will start on December 14. Maintainers of tools that still use this old system should plan to migrate to Kubernetes, or tell the team your plans on Phabricator in the task about your tool, before that date. [9]
- Communities using Structured Discussions are being contacted regarding the upcoming deprecation of Structured Discussions. You can read more about this project, and share your comments, on the project's page.
Events
- Registration & Scholarship applications are now open for the Wikimedia Hackathon 2024 that will take place from 3–5 May in Tallinn, Estonia. Scholarship applications are open until 5 January 2024.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 23:47, 4 December 2023 (UTC)
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)
User template update edit
Do we have any tutorials on updating my user template? --Don (talk) 15:58, 6 December 2023 (UTC)
Internal error: The server could not save the temporary file edit
Hi!
When I upload some larger files, I get the following error: "Interner Fehler: Der Server konnte keine temporäre Datei speichern." (Internal error: The server could not save the temporary file). Is someone encountering the same? I saw this error yesterday already. --PantheraLeo1359531 😺 (talk) 16:03, 7 December 2023 (UTC)
- Addendum: The error affects the upload wizard, but also the chunked uploader --PantheraLeo1359531 😺 (talk) 16:42, 7 December 2023 (UTC)
Making content in template only visible to a certain user group? edit
is there a way to make certain things only visible to say registered users or autopatrollers?
a use case would be transcluding certain maintenance related stuff (so only useful for commons users but not any website visitor) on category pages. RZuo (talk) 13:46, 10 December 2023 (UTC)
- It’s technically possible using the classes defined on the CSS pages listed at Special:PrefixIndex/MediaWiki:Group-, but I’d recommend against it except for things that are totally useless for users not in the given group (e.g. hiding delete buttons for non-admins is okay, since they can’t delete pages anyway), as logged-in status or user groups are not good proxies for what the user’s intentions are – maybe an experienced user didn’t log in because they decided not to create an account, use an insecure computer, don’t want to go through the 2FA login process etc.; and conversely, maybe a logged-in user isn’t really a contributor (and as such doesn’t need the maintenance links), but someone who only came here to upload a few pictures or even someone who never wanted a Commons account, but got one due to central login. —Tacsipacsi (talk) 17:31, 10 December 2023 (UTC)
Tech News: 2023-50 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
- On Wikimedia Commons, there are some minor user-interface improvements for the "choosing own vs not own work" step in the UploadWizard. This is part of the Structured Content team's project of improving UploadWizard on Commons. [10][11]
Problems
- There was a problem showing the Newcomer homepage feature with the "impact module" and their page-view graphs, for a few days in early December. This has now been fixed. [12][13]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 12 December. It will be on non-Wikipedia wikis and some Wikipedias from 13 December. It will be on all wikis from 14 December (calendar). [14][15]
Future changes
- The 2023 Developer Satisfaction Survey is seeking the opinions of the Wikimedia developer community. Please take the survey if you have any role in developing software for the Wikimedia ecosystem. The survey is open until 5 January 2024, and has an associated privacy statement.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 02:10, 12 December 2023 (UTC)
Internal error: Server failed to store temporary file. (for pdf) edit
Hi all
I'm getting an error trying to upload what I think is a very standard pdf file, I started a discussion here. Please can anyone help? My assumption is its a rare/niche technical issue. Please reply there so the disussion doesn't get broken up.
Thanks
John Cummings (talk) 08:25, 13 December 2023 (UTC)
I have the same problem with larger TIFFs. See here: https://phabricator.wikimedia.org/T353498 and https://phabricator.wikimedia.org/T353068. I think the issues have the same origin --PantheraLeo1359531 😺 (talk) 17:50, 15 December 2023 (UTC)
Path between categories edit
Do we have a tool, to show path between two categories? Juandev (talk) 16:57, 13 December 2023 (UTC)
Upload wizard change edit
The upload wizard design seems to have been changed in the last day or two. Is there any possibility that whoever changed it could provide more space for answers to 2. Where did you find this work? Enter the website, the book, or another source. and 3. Enter the name of the original author of this work., both of which questions often require more than a single short sentence. By way of example, for an image I've just uploaded I'd like to give the following information for q.2 - which used to fit in the edit box before this change; now there's a single line edit box which requires both horizontal and vertical scrolling to try to make any sense of the input text:
Upper Wharfedale : being a complete account of the history, antiquities and scenery of the picturesque valley of the Wharfe, from Otley to Langstrothdale via Internet Archive - https://archive.org/details/upperwharfedaleb00speiuoft/page/n177/mode/2up
--Tagishsimon (talk) 05:46, 14 December 2023 (UTC)
- @Tagishsimon: You may wish to ask this at (or see) Commons talk:WMF support for Commons/Upload Wizard Improvements. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:22, 14 December 2023 (UTC)
- @Udehb-WMF. RZuo (talk) 15:32, 15 December 2023 (UTC)
- @Tagishsimon Do you mind translating your request into a Phabricator ticket? I'll raise the problem at the next round of talks with the designer when they get back from the holidays. Sannita (WMF) (talk) 17:23, 19 December 2023 (UTC)
Lua error edit
How to fix "Lua error in Module:Wikidata_art at line 450: attempt to index field 'datavalue' (a nil value)." at this page File:蔦紅葉図-Autumn Ivy MET DP251150.jpg? OutOfTheBunker (talk) 16:11, 14 December 2023 (UTC)
- Thanks for spotting this! It was a case to handled well by Module:Wikidata art. At least that specific case I've fixed for now. Best, --Marsupium (talk) 14:55, 15 December 2023 (UTC)
When should an image where uploader stated "own work" get a "no source" speedy deletion nomination? edit
When should an image where the uploader stated the image was their "own work" trigger a {{No source since}} speedy deletion nomination?
I upload some images I took as {{Own}}. I don't ever remember my {{Own}} images getting challenged. Should an assertion of "own work" be challenged just because the uploader is a relative newbie?
Yes, if the challenger thinks they have reason to believe the uploader is a sockpuppet, or otherwise not credible, there should be a way to challenge the image's provenance. But is a bald {{No source since}} tag the right kind of challenge?
User:Kacamata has recently applied many {{No source since}} tags, including [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47].
Near as I can tell Kacamata didn't really offer an explanation as to why he or she doubts whether these own work assertions are credible. Should he or she have offered an explanation? Geo Swan (talk) 05:39, 15 December 2023 (UTC)
- Hi, IMO "no source" shouldn't be used if a source like {{Own}} is stated, even if this source is suspected to be wrong. "No permission" is better, or speedy deletion if there is evidence of copyright violation, or a regular DR. Only for an old document probably in the public domain claimed as own work, a "no source" might be useful: we don't need a permission in this case. Yann (talk) 14:12, 15 December 2023 (UTC)
- Normally, I tag as no source all the files that are clearly not own work and have no proper source. Most of the time these are copyvio. Files that are clearly taken from elsewhere. When I can locate the image source on the internet, I tag them as copyvio indicating the source. Almost every time I tagged a file as no source, it was deleted by a sysop. Normally, the files I tag were uploaded by accounts from pt.WP. It's very common for socks, vandals and spammers to create articles in the pt.WP, and then upload problematic images here on Commons. Again, these uploaders are not reliable and almost always their claims of "own work" are not credible. By the way, all this conflict started because Geo Swan is trying to keep out of scope unused images uploaded by a LTA and spammer who created dozens of socks and have being trying to spam pt.WP for a long time. To me, it's shocking that a user goes to this distance to try to keep images uploaded by unreliable accounts (socks, trolls, spammer, etc.) with clearly not credible assertion of "own work". Kacamata! Dimmi!!! 15:51, 15 December 2023 (UTC)
- Sure, I support deletion of such files, but "no source" is the wrong template. Yann (talk) 16:15, 15 December 2023 (UTC)
- User:Kacamata, you wrote "I tag as no source all the files that are clearly not own work and have no proper source. Most of the time these are copyvio..." I linked to close to three dozen images you recently tagged this way.
- Frankly, A LOT OF THEM seemed to have very credible claims that they were the own work of uploaders.
- Could you please explain, more fully, how you reached your bogus conclusion on these "own work" claims?
- File:Estátua_de_José_Lopes.jpg looks old, but it bears the date 1958, so the sculptors copyright matters, and it merits a challenge. However, the related File:Igreja paroquial de Lamelas.jpg mainly shows the old church, and I suggest the sculptor's copyright claim on the 1958 monument, should be dismissed as "de minimis". I don't believe either of these images merits tagging for speedy deletion due to "no source".
- Some of the other images you tagged as "no source", like File:Mariuva 2.png, could be deleted, but for other reasons than "no source". In other recent discussions you have argued for deleting selfies, as "self-promotion", even when the uploader is someone with a credible claim of notability. User:Mariuvavalentin, who recently uploaded three images that look like selfies, doesn't seem to have a credible claim of notability. So, I agree, her selfies merit a challenge over whether they are in scope. I think it was a mistake for you to nominate any of those three images as "no source", when they are almost certainly selfies.
- There are some other images among those three dozen that do merit a challenge, but I strongly agree with Yann's suggestion that when your real concern is that the image looks like a copyright violation, you really should offer that as your deletion justification. WMF projects require experienced good faith contributors to do their best to educate inexperienced good faith contributors. In your case, if you are going to continue to nominate images for speedy deletion, I suggest it is essential you apply the best speedy deletion tag, so those good faith new contributor can learn from their mistakes.
- Frankly, your revision history shows you have a long history of leaving heads-up on newbie's user talk pages, informing them their images were tagged for speedy deletion due to lacking a valid source. A good faith newbie won't know, can't know, when they are authorized to upload images they took themselves, accompanied with a tag that the image was their own work.
- Frankly, if I am correct that you routinely tagged images with credible claims of "own work" as "no source", then I am concerned that your record suggests you triggered the deletion of a very large number of perfectly valid in scope images. Geo Swan (talk) 14:42, 16 December 2023 (UTC)
- I deleted Mariuvavalentin's files, as pt:Mariuva valentin was deleted, this person doesn't seem notable, and this user has no contribution outside self-promotion. Yann (talk) 14:53, 16 December 2023 (UTC)
- User:Kacamata, why did you conclude the "own work" claim on File:Daniela Pierre Firme.jpg was bogus? Unlike Mariuva Valentin her page on the portugese wikipedia establishes she is in scope. Geo Swan (talk) 15:12, 16 December 2023 (UTC)
- Normally, I tag as no source all the files that are clearly not own work and have no proper source. Most of the time these are copyvio. Files that are clearly taken from elsewhere. When I can locate the image source on the internet, I tag them as copyvio indicating the source. Almost every time I tagged a file as no source, it was deleted by a sysop. Normally, the files I tag were uploaded by accounts from pt.WP. It's very common for socks, vandals and spammers to create articles in the pt.WP, and then upload problematic images here on Commons. Again, these uploaders are not reliable and almost always their claims of "own work" are not credible. By the way, all this conflict started because Geo Swan is trying to keep out of scope unused images uploaded by a LTA and spammer who created dozens of socks and have being trying to spam pt.WP for a long time. To me, it's shocking that a user goes to this distance to try to keep images uploaded by unreliable accounts (socks, trolls, spammer, etc.) with clearly not credible assertion of "own work". Kacamata! Dimmi!!! 15:51, 15 December 2023 (UTC)
- Update
- User:Kacamata has changed from tagging images where the uploader asserted "own work" from {{No source}} to tagging them with {{No permission since}} [48] [49] [50].
- Just to be clear, User:Yann recently wrote "Where this is the slightest possibility that the file is OK for Commons (for whatever reason), a proper DR should be created." I totally agree. And I think that this means that, so long as a contributor is in good standing, their "own work" images should not be tagged for any kind of speedy deletion, including both {{No source}} and {{No permission since}}.
- If a newbie has made a couple of mistakes, and DRs show they have a history of applying "own work" to images innappropriately, would speedy deletion requests then be appropriate - if they linked to the DRs that establish earlier errors? Geo Swan (talk) 17:03, 18 December 2023 (UTC)
- In the 3 cases mentioned above, "no permission" is appropriate. EXIF data shows a different name than the uploader, although the images are in high resolution with full EXIF data, so we can assume the images were not copied from the Internet. Yann (talk) 17:17, 18 December 2023 (UTC)
- Thanks for the prompt reply. Geo Swan (talk) 18:26, 18 December 2023 (UTC)
- @Yann I believe this went too far. Geo Swan is known for being stalking, harassing and wikihunting people. They were banned from en.Wp for this same reason. They are now pinging in several places in a clear attempt to harass me. I believe this kind of behavior should not be tolerated here or in any other WMF project. Kacamata! Dimmi!!! 21:39, 18 December 2023 (UTC)
- Funny thing is that @Yann said that the tagging was "is appropriate". And yet, Geo Swan reverted my tagging in File:AmandaLeadroDuo.jpg and File:Amanda Maria Fest Sorocaba 2023 2.jpg and started a DR. This is a clear example that they are not acting in good faith. They are just trying to harass me. Kacamata! Dimmi!!! 21:59, 18 December 2023 (UTC)
- In the 3 cases mentioned above, "no permission" is appropriate. EXIF data shows a different name than the uploader, although the images are in high resolution with full EXIF data, so we can assume the images were not copied from the Internet. Yann (talk) 17:17, 18 December 2023 (UTC)
Tech News: 2023-51 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.
Tech News
- The next issue of Tech News will be sent out on 8 January 2024 because of the holidays.
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 19 December. It will be on non-Wikipedia wikis and some Wikipedias from 20 December. It will be on all wikis from 21 December (calendar). There is no new MediaWiki version next week. [51][52]
- Starting December 18, it won't be possible to activate Structured Discussions on a user's own talk page using the Beta feature. The Beta feature option remains available for users who want to deactivate Structured Discussions. This is part of Structured Discussions' deprecation work. [53]
- There will be full support for redirects in the Module namespace. The "Move Page" feature will leave an appropriate redirect behind, and such redirects will be appropriately recognized by the software (e.g. hidden from Special:UnconnectedPages). There will also be support for manual redirects. [54]
Future changes
- The MediaWiki JavaScript documentation is moving to a new format. During the move, you can read the old docs using version 1.41. Feedback about the new site is welcome on the project talk page.
- The Wishathon is a new initiative that encourages collaboration across the Wikimedia community to develop solutions for wishes collected through the Community Wishlist Survey. The first community Wishathon will take place from 15–17 March. If you are interested in a project proposal as a user, developer, designer, or product lead, you can register for the event and read more.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 16:15, 18 December 2023 (UTC)
Improving MP4 error message edit
Related to Commons:Requests_for_comment/Technical_needs_survey#Video_conversion_support, can we at least make the error message when someone tries to upload an MP4 file point to Help:Converting video? I believe the message is hosted at MediaWiki:Mwe-upwiz-upload-error-bad-filename-extension, but not sure whether it can accept links or not. {{u|Sdkb}} talk 08:12, 19 December 2023 (UTC)
number sorting edit
Category:55.5 (number) is sorted in Category:Rational numbers under sortkey '=', but should be under sortkey '5'. Sorting is done automatically and I did not find the right template to fix it. help & fix appreciated. best --Herzi Pinki (talk) 20:00, 19 December 2023 (UTC)
- Looks like sorting happens in {{Number cat/layout}}. Bit late for me to work on this now, but I'll take a look in the morning. —CalendulaAsteraceae (talk • contribs) 08:54, 20 December 2023 (UTC)
- Updated. It's now sorted under 0 because of zero-padding. Also that code is ridiculously complicated; I'll work on simplifying it when I have more time. —CalendulaAsteraceae (talk • contribs) 22:26, 20 December 2023 (UTC)
boilerplate in category names edit
see for example Category:Sanborn maps of Utah
what should be visible: just the name of the town. how to fix? Nowakki (talk) 21:09, 19 December 2023 (UTC)
Add or change a video thumbnail edit
Hi, how do I change the thumbnail of a video already uploaded on Commons? Is there any gadget? Pạtạfisik 13:09, 20 December 2023 (UTC)
- Hi! I think this is possible in Wikipedia, but I don't know of a possibility in Commons --PantheraLeo1359531 😺 (talk) 17:46, 20 December 2023 (UTC)
- @PantheraLeo1359531 Thank you. CC @Galessandroni: . Pạtạfisik 17:53, 20 December 2023 (UTC)
- The best answer, I suppose, is here. It is possible to change the thumbnail of a video link with this code: [[File:video.ogv|thumb|thumbtime=1|description]], where thumbtime=1 is the second, but not in the original file. Giacomo Alessandroni What's up! 17:59, 20 December 2023 (UTC)
- @PantheraLeo1359531 Thank you. CC @Galessandroni: . Pạtạfisik 17:53, 20 December 2023 (UTC)
Rotate? edit
I put this picture in for rotation a day ago but it didn't happen. Will it happen? ̴̴Jim.henderson (talk) 01:14, 21 December 2023 (UTC)
- If I'm reading User:SteinsplitterBot/Rotatebot correctly, the bot appears to have been down since the 16th. I'll do it manually. The Squirrel Conspiracy (talk) 02:00, 21 December 2023 (UTC)
- Done The Squirrel Conspiracy (talk) 02:03, 21 December 2023 (UTC)
- Thanks. Jim.henderson (talk) 00:06, 22 December 2023 (UTC)
- Done The Squirrel Conspiracy (talk) 02:03, 21 December 2023 (UTC)
How to edit the location of creation in the structured data of an image edit
I'm used to being able to edit the 'location of creation' in an image's structured data by using the edit button, but that button seems to have disappeared for a number of properties, including 'location of creation'. Not sure why this is, but it is quite important to be able to do it in order to modify or remove locations set by the GeographBot, which in my experience quite often either gets it completely wrong, or uses a location that is too general to ever be of any use.
As an example of what I'm talking about, the picture here of Reading station has a location of creation of Reading Abbey!. The ruins of Reading Abbey are actually about 500m in front of the camera, and a little bit to the left, beyond the big pink office block. And I seem to have no way of correcting this.
I originally asked this question at Commons:Help_desk#How_to_edit_the_location_of_creation_in_the_structured_data_of_an_image, and despite a few suggestions there, the problem persists. I suspect that it is also related to the issues raised by another editor at Commons:Help_desk#Can't_add_structured_data_statement. One suggestion was that I raise it here, so here goes. -- Chris j wood (talk) 11:12, 22 December 2023 (UTC)
- Well that is well weird. I went for lunch. Before lunch there was no edit button, after lunch the edit button was back. I made no changes to me environment, didn't even restart the browser. Somebody fiddling?. -- Chris j wood (talk) 14:30, 22 December 2023 (UTC)
Not public log regarding user edit
There are any non-public logs regarding users? If I read in special All public logs, I would expect there are also non-public logs. Juandev (talk) 15:26, 22 December 2023 (UTC)
- @Juandev: Yes. There are two levels above public. There is revision deletion which means only administrators can see the content, and there is oversight which means not even most administrators can see the content. GMGtalk 15:47, 22 December 2023 (UTC)
- And if someone account is in a blocked range of open proxy, why it is not in the log attached to a specific user? Juandev (talk) 15:51, 22 December 2023 (UTC)
- @Juandev: Disclaimer: I'm old. But IP range blocks don't generate any content in the user log at all AFAIK. We're generally fairly cautious with connecting IP addresses with registered accounts for privacy reasons. If a user is say...in a place like Turkey or China where they may need to use a proxy to contribute, they would need to request a special permission in order to avoid the IP block. GMGtalk 15:57, 22 December 2023 (UTC)
- Just an addition the non public IP logs are visible to checkusers. And there are also some more technical logs they are only available to the MediaWiki and server infrastructure maintainers. GPSLeo (talk) 16:48, 22 December 2023 (UTC)
- @Juandev: Disclaimer: I'm old. But IP range blocks don't generate any content in the user log at all AFAIK. We're generally fairly cautious with connecting IP addresses with registered accounts for privacy reasons. If a user is say...in a place like Turkey or China where they may need to use a proxy to contribute, they would need to request a special permission in order to avoid the IP block. GMGtalk 15:57, 22 December 2023 (UTC)
- And if someone account is in a blocked range of open proxy, why it is not in the log attached to a specific user? Juandev (talk) 15:51, 22 December 2023 (UTC)
Colors not showing up correctly on SVGs? edit
Hello!
I recently fulfilled a request at the Illustration Graphics Lab for a logo, but I noticed something weird when I uploaded it...
The colors are wrong! Especially the blue! It was supposed to be #0000FF, but my eyedropper tool says that the PNG rendering has #5401FF as its color, which is closer to purple! Why is that? QuickQuokka [talk • contribs] 20:39, 24 December 2023 (UTC)
- So, I just checked it out on my phone, and it looks like it's alright at the expected color, so I think this problem may be on my end, but why though? QuickQuokka [talk • contribs] 20:58, 24 December 2023 (UTC)
- I do not know, but here are some issues.
- The SVG colorspace is sRGB.
- When WMF's rasterizer converts the SVG to PNG, it does not specify the sRGB colorspace.
- When the PNG is painted to the screen, there may be a colorspace conversion.
- When the color picker selects a pixel, it may read the device colorspace.
- Glrx (talk) 21:13, 24 December 2023 (UTC)
Template for adding up the amount of files of all subcats inside a cat edit
Hi folks!
Is there a template that adds up the number of all files of all subcategories in one category?
Thank you! --PantheraLeo1359531 😺 (talk) 10:18, 25 December 2023 (UTC)
- I think I figured it out! (for all those who are interested in: https://petscan.wmflabs.org/) --PantheraLeo1359531 😺 (talk) 10:27, 25 December 2023 (UTC)
SHA1 hashes edit
There are SHA1 hashes available in PetScan for each file from Wikimedia Commons. I suspect this is information received via API from Commons. Does MediaWiki creates hash for an upload version of the file or are these hashes for the last version of a file? Juandev (talk) 06:22, 26 December 2023 (UTC)
Unable to overwrite files with colons in their names edit
I stumbled upon two files which need to be rotated:
- File:Kraschan, 1 kl. av S:ta Annaorden, Ryssland, J.Keibel, S:t Petersburg - Livrustkammaren - 78511.tif
- File:Kraschan m: 1952, Serafimerorden, Sverige - Livrustkammaren - 18637.tif
However, when I attempted to overwrite the files, the website warned me that the file names would be changed automatically. I attempted to bypass this; at first by choosing “Ignore warning and save file anyway”, and then “Submit modified file description”. Regrettably, neither attempt worked. Instead, two entirely new files were uploaded, all the while the files in need of rotation were left unchanged:
- File:Kraschan, 1 kl. av S-ta Annaorden, Ryssland, J.Keibel, S-t Petersburg - Livrustkammaren - 78511.tif
- File:Kraschan m- 1952, Serafimerorden, Sverige - Livrustkammaren - 18637.tif
These two should be used to overwrite the original files, and then be deleted. How can I go about doing this? —VulpesVulpes42 (talk) 16:05, 26 December 2023 (UTC)
- Hi, This is not surprising. File names should not have a colon. I don't understand how these could have been uploaded in the first place. I renamed them. Yann (talk) 16:23, 26 December 2023 (UTC)
- @Yann: Thank you for taking a look at it! Should I rename every file of this kind I come across? —VulpesVulpes42 (talk) 16:43, 26 December 2023 (UTC)