Commons:Village pump/Technical
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; the latest archive is Commons:Village pump/Technical/Archive/2022/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. |
d:Q405426[edit]
If you go to Botevgrad, you see language links to complete other articles other than the city in Bulgaria, e.g. de:Uhrturm von Botewgrad and en:Arena Botevgrad. Please, can s.o. fix it, it don't find the solution. Thx and have a nice day! --Mateus2019 (talk) 13:25, 3 November 2022 (UTC)
- @Mateus2019: that happens because it uses {{Wikidata}}, which uses {{Interwiki from Wikidata}}, which makes those links.--RZuo (talk) 17:00, 16 November 2022 (UTC)
- @Mateus2019: instead of {{Wikidata}}, try using {{WikidataItem}}. It also links to Wikidata, but without summoning links to other Wikiprojects. --HyperGaruda (talk) 19:34, 6 December 2022 (UTC)
Invisible file[edit]
Hello, I have uploaded this file: https://commons.wikimedia.org/wiki/File:Benesov_Machova_400_nemocnice_a.jpg . It appeared in my list of contributions, Wikimedia tracker for a project recorded it, but the file page says "The file does not exist, but you can upload it". I have tried to reupload it, but the uploader doesn't let me (first saying "this appears to be an exact duplicate of a file already on Commons", but letting me proceed, but then saying "this appears to be an empty file"). I don't think there's anything wrong with the file, just a photo like any other; more likely it got corrupted on Commons. Can it be somehow 'revived'? Or do I have to upload it under a different name? Thanks. --JiriMatejicek (talk) 19:17, 4 December 2022 (UTC)
- Purge is needed. @JiriMatejicek: Použijte purge (vyčištění cache). Lze zapnout v udělátkách přímý odkaz, nebo klikněte na odkaz zde. — Draceane talkcontrib. 19:44, 4 December 2022 (UTC)
Filter false positive[edit]
Tried changing a category from "arrows" to "traffic signals with arrows" and it said I was disallowed. 137a (talk) 13:23, 5 December 2022 (UTC)
Join the Coolest Tool Award 2022: Friday, Dec 16th, 17:00 UTC[edit]
The fourth edition of the Wikimedia Coolest Tool Award will happen online on Friday 16 December 2022 at 17:00 UTC!
This award is highlighting software tools that have been nominated by contributors to the Wikimedia projects. The ceremony will be a nice moment to show appreciation to our tool developers and maybe discover new tools!
Read more about the livestream and the discussion channels.
Thanks for joining! -Komla
MediaWiki message delivery 18:53, 5 December 2022 (UTC)
Increasing number of my deleted edits[edit]
Hi
In 2022 I almost none of my edits haven't been reverted or deleted. Yesterday I 385 deleted edits and today I have 398 deleted edits. Why it is happening? Why number of deleted items increase without any deletion or reverting?
Right now (in less that 6 hours) I have 403 deleted edits!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! How come????????????????????????????????????????????????????????????
Cheers Shkuru Afshar (talk) 23:45, 5 December 2022 (UTC)
- @Shkuru Afshar: every time you nominate a file for deletion, you (automatically) edit the file to include a deletion template. Once somebody actually deletes that file, the edit where you added the deletion template is also deleted. Nothing to worry about. --HyperGaruda (talk) 19:15, 6 December 2022 (UTC)
- Thank you for informing me. But That is not fair. Shkuru Afshar (talk) 20:33, 6 December 2022 (UTC)
Tech News: 2022-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 Wikisources use a tool called ProofreadPage. ProofreadPage uses OpenSeadragon which is an open source tool. The OpenSeadragon JavaScript API has been significantly re-written to support dynamically loading images. The functionality provided by the older version of the API should still work but it is no longer supported. User scripts and gadgets should migrate over to the newer version of the API. The functionality provided by the newer version of the API is documented on MediaWiki. [1][2]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 6 December. It will be on non-Wikipedia wikis and some Wikipedias from 7 December. It will be on all wikis from 8 December (calendar).
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 00:39, 6 December 2022 (UTC)
How to search under 6807 photos[edit]
Hi, the Category:Satellite pictures of Chile has 6807 photos but no index or help to search some place.
- Is it posible to add to the category page some bar "1-50 51-100 101-150 ..." to help to (re)find some image?
- Better, is it posible to read all the "object location" (e.g.: 32° 06′ S, 73° 00′ W ) of every image in order to create an imagemap with an zone image and the respective fotos?
- is there other alternative?
Juan Villalobos (talk) 18:32, 7 December 2022 (UTC)
- Re option 2: if you add {{ Object location | -32.1 | -73.0 }} to the category (you don't have to save it, just check the results in preview mode), a link to Openstreetmaps will lead you to a map with all geocoded images in the category. A word of caution: thousands of images may cause lag.
- Re option 3: you could try a regular search while including the phrase
incategory:"Satellite pictures of Chile"
. --HyperGaruda (talk) 18:54, 7 December 2022 (UTC)
Google search gadget error on mobile devece[edit]
During the last weeks every time i try to use Google Lens search button on the top of a file page (MediaWiki:Gadget-GoogleImagesTineye.js) on a Android smartphone browser (on computer version) I get 404 error. It's a significant problem because on a computer i may use drag and drop method alternatively whereas on mobile that gadget is an only way to search copyvios. ~Cybularny Speak? 21:56, 7 December 2022 (UTC)
File pages ask for confirmation when closing them, even when there are no unsaved changes (bug)[edit]
Sometimes pages ask for permission to close it or refresh it, even when the user did not edit anything. see example and try to navigate to another page or click the "File" tab to reload the page. example If someone understands what is happening here and knows a fix, please let me know. I would want to fix it on the pages whenever I see this behavior. But if it is a template error, the template should be checked and repaired. Tx Peli (talk) 04:11, 8 December 2022 (UTC)
- @Pelikana Keeps happening to me too (Firefox), I'm wondering if that might be connected to COM:SDC somehow ... El Grafo (talk) 08:37, 8 December 2022 (UTC)
- The section was poorly worded; I have changed the heading. It is not really about ‘permission’, but rather about confirmation that the user wants to abandon their unsaved changes. This behaviour is a bug, because there are no such changes to abandon. It occurs when closing the existing page, which includes refreshing it or navigating away.
- I have also observed this bug many times (on Firefox); it seems to occur during a specific stage of loading the page (it doesn’t occur very early in loading and doesn’t occur after the page has finished loading). I just noticed that if I choose to stay on the page, then the page continues displaying this buggy behaviour until I choose to close it. This might help someone (with access to non-minified code?) with debugging. Brianjd (talk) 09:14, 25 December 2022 (UTC)
- Everyone can access the non-minified code – first, all source code is available on Git with several frontends (Phabricator, Gerrit/Gitiles, GitHub); second, you can avoid minifying the JavaScript codes by appending ?debug=1 to the URL (or &debug=1 if it already contains a question mark). —Tacsipacsi (talk) 15:13, 25 December 2022 (UTC)
- @Tacsipacsi Of course, I just didn’t know how to get it in a production environment. The
debug=1
parameter works; it also seems to make it so only one thing loads at a time, which is also useful here. - When I used this parameter, initially, the ‘file information’ and ‘structured data’ screens displayed together, then ‘structured data’ disappeared behind a non-selectable tab (clicking it did nothing). When the tab became selectable, immediately refreshing the page triggered the bug. Stepping through the code in the debugger revealed that property P1259 seemed to have a problem and, sure enough, property P1259 (along with property P1949 – these are both coordinates properties) had its edit screen open. Brianjd (talk) 15:21, 26 December 2022 (UTC)
- @Brianjd: Thanks for debugging! I found phab:T312315 about this issue, so I left a comment there about your results. —Tacsipacsi (talk) 10:40, 29 December 2022 (UTC)
- @Tacsipacsi Of course, I just didn’t know how to get it in a production environment. The
- Everyone can access the non-minified code – first, all source code is available on Git with several frontends (Phabricator, Gerrit/Gitiles, GitHub); second, you can avoid minifying the JavaScript codes by appending ?debug=1 to the URL (or &debug=1 if it already contains a question mark). —Tacsipacsi (talk) 15:13, 25 December 2022 (UTC)
Category error[edit]
Hi everyone, I recently noticed an error when adding categories: when I add a category that exists under a different name and thus has to be redirected, then another category that I added will be removed when saving the edits. I have noticed that a few times now, most recently with File:POR Porto Rua de Cedofeita 03.jpg. The first category I added was Category:Rua de Cedofeita, the second one was Category:Church doors in Portugal. The second one was automatically changed to Category:Church portals in Portugal and during that change, the first category disappeared, so that I had to add it again. Sometimes I notice this but sometimes when a larger number of categories is added, this can go unnoticed which is really annoying (and also kinda "harmful" to the project). It would be highly appreciated if someone could have a look into this. Best wishes from Germany. wuppertaler Post um 15:30, 8 December 2022 (UTC)
- And again: Category:Arched doors was automatically changed to Category:Arch doors, and during this process Category:Depósito de Materiais da Companhia Cerâmica das Devesas disappeared.. I add categories via Help:Gadget-HotCat, if that helps. Kind regards. wuppertaler Post um 15:40, 8 December 2022 (UTC)
Citation "widget"[edit]
Is there a way to have the citation widget in the Commons editor as on Wikipedia? To be able to generate templates such as {{Cite book}}, {{Cite web}}, or {{Cite journal}} by providing an ISBN, a URL, or a DOI (for instance). (typical use case: add the sources) A455bcd9 (talk) 16:57, 10 December 2022 (UTC)
- Not as such as Commons doesn't use visual editor. However, en:Wikipedia:ProveIt and en:Wikipedia:RefToolbar should be working. Most likely proveit is easier to install if somebody with suitable rights to edit gatgets wants to try. -- Zache (talk) 00:46, 11 December 2022 (UTC)
- Thanks @Zache. You don't need the visual editor to use this tool on Wikipedia: it works well in the source editor. en:Wikipedia:ProveIt and en:Wikipedia:RefToolbar look nice but they're nowhere as good as the default tool on Wikipedia that generates the whole template just based on a URL (or any other unique identifier). A455bcd9 (talk) 07:54, 11 December 2022 (UTC)
- Both of them can generate the template from the url. Also there is no afaik non-visual editor version of visual editors citoid integration which was mentioned in the diff article which you linked. Enwiki's wikitext editor citation tool enabled by default is the RefToolbar. -- Zache (talk) 07:57, 11 December 2022 (UTC)
- Hm. That's not what I saw in the video. Anyway what I'm looking for is citoid, which indeed requires the VisualEditor. I activated the VisualEditor in my Beta settings on Commons, and I do see it. But I don't see citoid: why? A455bcd9 (talk) 08:03, 11 December 2022 (UTC)
Help:Gadget-ProveIt works here and supports citoid indeed.Thanks @Zache! A455bcd9 (talk) 08:05, 11 December 2022 (UTC) Actually, it doesn't seem to be enabled here, I don't understand why. A455bcd9 (talk) 08:21, 11 December 2022 (UTC)- Hmm, i didn't have new wikitext mode enabled from enwiki's beta AND in that there is indeed visual editor's citation tool enabled. So that explains it. I think that enabling it would require least w:en:MediaWiki:Citoid-template-type-map.json and citoids mappings to themplatedata w:en:Template:Cite web/doc (see source code of page and there templatedata and citoid parameter inside json definition). Most likely third thing would be phabricator request for configuration change to enable visualeditor cite tool in commons. -- Zache (talk) 08:27, 11 December 2022 (UTC)
- @Zache, as suggested here I've just started a discussion to enable one of these gadgets, see: Commons:Village_pump/Proposals#Enable_ProveIt_or_Citoid_on_Commons. A455bcd9 (talk) 12:25, 13 December 2022 (UTC)
- Hmm, i didn't have new wikitext mode enabled from enwiki's beta AND in that there is indeed visual editor's citation tool enabled. So that explains it. I think that enabling it would require least w:en:MediaWiki:Citoid-template-type-map.json and citoids mappings to themplatedata w:en:Template:Cite web/doc (see source code of page and there templatedata and citoid parameter inside json definition). Most likely third thing would be phabricator request for configuration change to enable visualeditor cite tool in commons. -- Zache (talk) 08:27, 11 December 2022 (UTC)
- Hm. That's not what I saw in the video. Anyway what I'm looking for is citoid, which indeed requires the VisualEditor. I activated the VisualEditor in my Beta settings on Commons, and I do see it. But I don't see citoid: why? A455bcd9 (talk) 08:03, 11 December 2022 (UTC)
- Both of them can generate the template from the url. Also there is no afaik non-visual editor version of visual editors citoid integration which was mentioned in the diff article which you linked. Enwiki's wikitext editor citation tool enabled by default is the RefToolbar. -- Zache (talk) 07:57, 11 December 2022 (UTC)
- Thanks @Zache. You don't need the visual editor to use this tool on Wikipedia: it works well in the source editor. en:Wikipedia:ProveIt and en:Wikipedia:RefToolbar look nice but they're nowhere as good as the default tool on Wikipedia that generates the whole template just based on a URL (or any other unique identifier). A455bcd9 (talk) 07:54, 11 December 2022 (UTC)
Help with Template:Year at airport[edit]
Template:Year at airport automatically categorizes into "Category:YYYY at airports by location" (YYYY=year). It should use "Category:YYYY at airports by country" if existing. If this category does not exist, use "Category:YYYY at airports by location" instead (as it is now). I am not too much into template programming, so can anyone please do this for me? --2001:4652:FBAF:0:B4CB:3ECC:59F6:6FA1 20:10, 12 December 2022 (UTC)
- Nobody? --2003:D0:3F0C:6892:40AC:94CA:8694:13DC 16:19, 22 December 2022 (UTC)
Tech News: 2022-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
- An A/B test has begun at 15 Wikipedias for DiscussionTools on mobile. Half of the editors on the mobile web site will have access to the Reply tool and other features. [3]
- The character
=
cannot be used in new usernames, to make usernames work better with templates. Existing usernames are not affected. [4]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 13 December. It will be on non-Wikipedia wikis and some Wikipedias from 14 December. It will be on all wikis from 15 December (calendar).
- The HTML markup used by DiscussionTools to show discussion metadata below section headings will be inserted after these headings, not inside of them. This change improves the accessibility of discussion pages for screen reader software. [5]
Events
- The fourth edition of the Coolest Tool Award will happen online on Friday 16 December 2022 at 17:00 UTC! The event will be live-streamed on YouTube in the MediaWiki channel and added to Commons afterwards.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 23:32, 12 December 2022 (UTC)
CSRF token rejection[edit]
I got locked out of Commons for a few minutes just now; it kept rejecting the CSRF token. Clearing the browser history did not help. But then it suddenly started working again. Did anyone else experience this? Brianjd (talk) 12:26, 13 December 2022 (UTC)
- I've just had the same issue: now everything is working. A455bcd9 (talk) 12:27, 13 December 2022 (UTC)
- There was an incident: phab:T325056. —Tacsipacsi (talk) 08:54, 14 December 2022 (UTC)
Local-multiwrite error when trying to delete file[edit]
I think I encountered this a long time ago, but I forget the solution. I tried to delete the following image after closing the DR (File:Goodenough Sakhile Dlamini.jpg) but it keeps giving me a local-multiwrite error whenever I try to delete it. IronGargoyle (talk) 01:16, 16 December 2022 (UTC)
- @IronGargoyle Unfortunately, there is no real solution, other than the instructions in Category:Deletion error. AntiCompositeNumber (talk) 02:05, 16 December 2022 (UTC)
Tech News: 2022-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
- Because of the holidays the next issue of Tech News will be sent out on 9 January 2023.
Recent changes
- On a user's contributions page, you can filter it for edits with a tag like 'reverted'. Now, you can also filter for all edits that are not tagged like that. This was part of a Community Wishlist 2022 request. [6]
- A new function has been used for gadget developers to add content underneath the title on article pages. This is considered a stable API that should work across all skins. Documentation is available. [7]
- One of our test wikis is now being served from a new infrastructure powered by Kubernetes (read more). More Wikis will switch to this new infrastructure in early 2023. Please test and let us know of any issues. [8]
Problems
- Last week, all wikis had no edit access for 9 minutes. This was caused by a database problem. [9]
Changes later this week
- There is no new MediaWiki version this week or next week.
- The word "Reply" is very short in some languages, such as Arabic ("ردّ"). This makes the Discussion tools button on talk pages difficult to use. An arrow icon will be added to those languages. This will only be visible to editors who have the Beta Feature turned on. [10] [11]
Future changes
- Edits can be automatically "tagged" by the system software or the Abuse filter management system. Those tags link to a help page about the tags. Soon they will also link to Recent Changes to let you see other edits tagged this way. This was a Community Wishlist 2022 request. [12]
- The Trust & Safety tools team have shared new plans for building the Private Incident Reporting System. The system will make it easier for editors to ask for help if they are harassed or abused.
- Realtime Preview for Wikitext is coming out of beta as an enabled feature for every user of the 2010 Wikitext editor in the week of January 9, 2023. It will be available to use via the toolbar in the 2010 Wikitext editor. The feature was the 4th most popular wish of the Community Wishlist Survey 2021.
Events
- You can now register for the Wikimedia Hackathon 2023, taking place on May 19–21 in Athens, Greece. You can also apply for a scholarship until January 14th.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 23:57, 19 December 2022 (UTC)
Editing watchlist - server timeout error[edit]
Hi, I am trying to edit and clear my watchlist on Commons (it has over 19.000 pages, uploads from content donations), but when I hit the 'Edit your watchlist' button I get an error message ' Request ID: 69829cb9-d045-44d9-b372-8ca953b4fb47 Allowed memory size of 698351616 bytes exhausted (tried to allocate 65060168 bytes)'. I guess it is because there are to many files on there? How can I fix this (if I cannot edit my watchlist, I can also not remove the files..) Thanks for helping me out or pointing me in the right direction! MichellevL (WMNL) (talk) 15:21, 20 December 2022 (UTC)
- You have to open Special:EditWatchlist/raw the other one does not work for many pages see: --GPSLeo (talk) 19:05, 21 December 2022 (UTC)
Mediaviews[edit]
How exactly the Mediaviews tool counts views of a given image at Commons, e.g. here? When an image is clicked through the relevant WP article, when the image is clicked at Commons or somehow else? Brandmeister (talk) 15:31, 21 December 2022 (UTC)
- This count every visit of page where the file is on the page. The file does not need to be visible for the visitor, if the file in on the bottom of the page and the visitor does not scroll down this is also counted as a mediaview. --GPSLeo (talk) 19:00, 21 December 2022 (UTC)
- Wow. That explains some high viewcounts of uploaded images. Brandmeister (talk) 12:59, 22 December 2022 (UTC)
File usage[edit]
If a file is used at a Wikidata item, and that item is linked from another page, then that page is listed as using that file. Examples are given at File talk:Sunburn flickr 01.jpg#File usage, where I claimed that this is a bug. It is certainly very confusing. Is it the intended behaviour? Brianjd (talk) 06:14, 22 December 2022 (UTC)
- This in intended. File usage shows every page where the file is visible. The file does not have to be in the Wikitext of the page. GPSLeo (talk) 06:29, 22 December 2022 (UTC)
- @GPSLeo For the examples I cited, the images are not visible on those pages. In one case, even the Wikidata link is not visible; the only connection I can find is a Wikidata ID in the page’s markup. Brianjd (talk) 06:32, 22 December 2022 (UTC)
- I can see the image in the box on all these Wikipedia pages. Only on the Wikivoyage page I could not fine this photo in my quick search. --GPSLeo (talk) 18:20, 22 December 2022 (UTC)
- @GPSLeo The Wikipedia pages are fine. I specifically asked about the Wikivoyage page, then gave a second example on Wikivoyage. In both cases, the photo is not shown on the page. Brianjd (talk) 12:28, 23 December 2022 (UTC)
- As a bureaucrat/administrator on Wikivoyage, I strongly agree that we do not need to be informed except when an image visible on a Wikivoyage page has been nominated for deletion or tagged for speedy deletion. We really don't care about Wikidata images that are not shown as thumbnails or pagebanners in Wikivoyage articles. -- Ikan Kekek (talk) 13:27, 23 December 2022 (UTC)
- @GPSLeo The Wikipedia pages are fine. I specifically asked about the Wikivoyage page, then gave a second example on Wikivoyage. In both cases, the photo is not shown on the page. Brianjd (talk) 12:28, 23 December 2022 (UTC)
- I can see the image in the box on all these Wikipedia pages. Only on the Wikivoyage page I could not fine this photo in my quick search. --GPSLeo (talk) 18:20, 22 December 2022 (UTC)
- @GPSLeo For the examples I cited, the images are not visible on those pages. In one case, even the Wikidata link is not visible; the only connection I can find is a Wikidata ID in the page’s markup. Brianjd (talk) 06:32, 22 December 2022 (UTC)
"Lua error in Module:Wikidata_date at line 190: attempt to concatenate local 'adj' (a nil value)"[edit]
Hello. Those the summaries of those two files show the same error ("Lua error in Module:Wikidata_date at line 190: attempt to concatenate local 'adj' (a nil value)") since I have updated the names of the files in the gallery:
- File:Nietzsche - Considérations inactuelles, vol. I (1907, Mercure de France).djvu
- File:Nietzsche - Considérations inactuelles, vol. II (1922, Mercure de France).djvu
Could someone fix this ? Veverve (talk) 22:35, 24 December 2022 (UTC)
- It is complaining about property P4241 (refine date) being missing under P577 (publication date) on d:Q108736980. Snævar (talk) 23:14, 24 December 2022 (UTC)
Can page titles start in lower case in non-latin scripts?[edit]
if i understand correctly, all pages in all namespaces that start with a latin letter must start with A-Z, right? then what about other scripts, cyrillic, arabic, indian ones...? if those scripts have their equivalent "lower case" letters, can page titles (like filenames) start with those? RZuo (talk) 18:31, 27 December 2022 (UTC)
- Firstly, only a minority of scripts employ dual letter case; of the ones you listed, only Cyrillic. Secondly, both en:w:WP:NCLOWERCASEFIRST (Latin script) and ru:w:ВП:ТЕХН (Cyrillic script) explain that it is technically impossible to start with lower case. They also describe that a work-around is needed to have the title look like it starts with lower case, even though the "base" title is still capitalised. --HyperGaruda (talk) 05:48, 28 December 2022 (UTC)
- The question is valid, and what Russian Wikipedia says does not necessarily apply here – capitalization is based on the site language (which is English on Commons). For example, istanbul is normalized to Istanbul on Commons, but would be normalized to İstanbul if the site language was Turkish. However, “based on the site language” doesn’t mean that it uses a hardcoded table of lowercase → uppercase values, but the PHP functions ucfirst (which handles only English letters) and mb_strtoupper (which should handle accented Latin-script letters and other bicameral scripts) are used. (There could be exceptions set for this, but as far as I see, there are none right now.) By the way, it’s easy to see if certain file names would be capitalized: if you hover over file:москва.jpg, you’ll see that the URL contains an М instead of an м. —Tacsipacsi (talk) 10:32, 29 December 2022 (UTC)
- My experience is that, upon page creation, the first character of a page name is always normalized to its upper case variant, if applicable: That would be based on the character’s Unicode property
Case Mapping: Upper
value (and therefore excluding specific tailorings, such as the mentioned hard dotted Turkic "i" and such others). Most characters do not have any case mapping but almost all letters of a few scripts do: Latin, Greek, Cyrillic, Armenian, Georgian, Glagolitic, Coptic, Cherokee, Deseret, Osage, Vithuqi, Caucasus Albanian, Hungarian Runic, Warang Citi, Medefaidrin, and Adlam. -- Tuválkin ✉ ✇ 08:46, 31 December 2022 (UTC)
Multilingual "References" template[edit]
Is there something like {{int:filedesc}} (=> Summary) but to display "References" in the user's preferred language? I currently use {{ucfirst:{{I18n/references}}}} (=> References) and I would prefer a simple syntax such as {{int:ref}} or a template such as {{Source}}. A455bcd9 (talk) 09:35, 30 December 2022 (UTC)
Structured data for user-created maps?[edit]
On Commons, how should we tag the source(s) of maps created by users based on existing work? Examples:
- Linguistic maps:
- One source: File:Hadhrami Arabic.svg
- Several sources: File:Arabic_Varieties_Map.svg
- Range maps:
- One source:: File:Gymnogyps californianus.svg
- Several sources: File:Nomascus.svg
- Historical SVG maps:
- One source: File:First Punic War 264 BC v3.png
- Several sources: File:Map of the Samanid amirate at the death of Nasr II, 943.svg
Commons:Structured data/Modeling/Source says that {{Based}} is "still under discussion".
When a reference URL is available, I used it. Sometimes I used the DOI of the article but it returns an error. I also used "published in" (e.g., with Ethnologue: Languages of the World, 25th Edition (Q115923483), see File:Arabic_Varieties_Map.svg for an example).
But maybe based on (P144) is better? A455bcd9 (talk) 09:45, 30 December 2022 (UTC)
- Found the answer to my question here: d:Help:Sources#Web_page: "Please note if the web page belongs to a major web site that already has an item in Wikidata, you should use publisher." and all the other qualifiers if possible (title, publication date, etc. "so the source can be tracked down if the URL changes"). A455bcd9 (talk) 08:09, 31 December 2022 (UTC)
Category:Unsupported event[edit]
where does Category:Unsupported event come from? what should be done to get rid of it from pages? afaict, it's added by {{Artwork}}? @Zolo: do you have more info about this cat? RZuo (talk) 09:46, 31 December 2022 (UTC)
- Looking at one random example, it seems to come from the institution templates, i.e. from Module:Institution (or one of its dependencies), and it probably means that the module could not process some Wikidata data. Maybe someone can help on its talk page. —Tacsipacsi (talk) 10:50, 31 December 2022 (UTC)
Upload "wizard" not whizzing[edit]
Upload "wizard" bugs out on 135 files. Files (name Hans_Dahlberg.xxx...) are probably still hanging around, so I probably CAN NOT just re-upload. I have applied for and not gotten FILE MOVER and FILE DELETER. It would help much if I could just zap away any uploads I have made, and re-upload. Manually touching each of the 135 files... is time I do not have. Can we get Upload-Extra-Whizz, that never checks all stuff, never matches categories, never checks if uploaded again...? no graphical, text only? That would help a lot. Now I need to fight with swedish wikimedia, I have tried to fulfill the uploads I promised, but the non-working system does not allow a swift and easy upload.... Janwikifoto (talk) 00:35, 1 January 2023 (UTC)
- No need to worry. I just uploaded again (2 hours extra), and fewer pictures, now I never fill in category. Can we not get get a text-only multi-uploader, no choices, give all the info first (up front), then upload starts and I can check success later when I have time... That would be a convenient luxury! Janwikifoto (talk) 15:02, 1 January 2023 (UTC)
- If you mean text-only seriously, you can go to the command line: mw:Manual:Pywikibot/upload.py. —Tacsipacsi (talk) 21:59, 1 January 2023 (UTC)
- Can Pywikibot also upload LARGE (about 1 gb) video files..? Janwikifoto (talk) 00:52, 2 January 2023 (UTC)
- I didn’t try, but since it has a chunked upload option, I suppose yes, as long as Commons accepts them. —Tacsipacsi (talk) 11:29, 2 January 2023 (UTC)
- Can Pywikibot also upload LARGE (about 1 gb) video files..? Janwikifoto (talk) 00:52, 2 January 2023 (UTC)
- If you mean text-only seriously, you can go to the command line: mw:Manual:Pywikibot/upload.py. —Tacsipacsi (talk) 21:59, 1 January 2023 (UTC)
OGL files no longer display attribution value[edit]
It used to be the case that files uploaded under the UK's Open Government Licence could use the reuslting OGL template to display attribution information separate from the usual author information, with the syntax for this typically being {{[OGL version]|1=[Media type]: [Author]/[Organisation]}}; for a Defence Imagery file for example, the typical syntax would be "1=Photo: Pte. John Smith/MOD" (though I now prefer to say "Pte. John Smith/UK Ministry of Defence [Year]"). While it's still possible to use this syntax without producing an error, said syntax no longer seems to do anything and the only attribution visible is that given when specifying the author. Is this the result of a deliberate change, or is it just a case of weird things happening with the template at this time? - Dvaderv2 (talk) 03:25, 3 January 2023 (UTC)
- @Dvaderv2: It looks like the attribution support was broken about a year ago when the templates were converted to support multiple languages. I think I've fixed {{OGL}}. I'll also take a look at {{OGL2}} and {{OGL3}}. —RP88 (talk) 03:52, 3 January 2023 (UTC)
Upload Wizard public domain license needs year updated[edit]
The Upload Wizard area for adding a license to a "public domain" file where it states, "The copyright has definitely expired in the USA" needs to be updated in two lines below this selection, from "... before 1927" to "... before 1928." Thank you, -- Ooligan (talk) 04:46, 3 January 2023 (UTC)
- @Ooligan: A fix has been made (see phab:T326045) and is included in MediaWiki version 1.40.0-wmf.17, which is currently scheduled to be deployed to Commons on 4 January 2022 between 09:00–11:00 UTC (Commons server is in group1). —RP88 (talk) 05:04, 3 January 2023 (UTC)
- @RP88: Thank you for the quick response. It is good to know that it will be updated late morning on the 4th. If you know, what is the technical reason why this Upload Wizard once-a-year update could not be deployed at 00:01 PST on January 1, 2023?
- International Public Domain Day is every year on January 1st. In 2019, "the 'Grand Re-Opening of the Public Domain' that took place at the Internet Archive with the presence of members of Creative Commons, the Electronic Frontier Foundation and the Wikimedia Foundation..." Some 2023 public domain works highlighted here: "Works from 1927 are open to all!" Duke Law School’s Center for the Study of the Public Domain Ooligan (talk) 06:04, 3 January 2023 (UTC)
- There is no technical reason why a manual fix couldn't have been made and then deployed sooner, it just worked out that January 4th is the first scheduled software deployment to Commons after December 31st. There is, however, a open task to make the Upload Wizard handle the year transition automatically (see phab:T271968), but no one has volunteered to make that code change yet. —RP88 (talk) 06:14, 3 January 2023 (UTC)