Commons:Village pump/Technical/Archive/2022/02

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

File not found

These images don't seem to be loading. Can anyone verify whether this is more than a problem on my end?

Schierbecker (talk) 05:54, 16 February 2022 (UTC)

Can't see those either. Clicking the file name produces e.g. "File not found: /v1/AUTH_mw/wikipedia-commons-local-public.26/2/26/14%29_Oshkosh%27s_M1087_A1P2_LTV-based_Enhanced_Protection_%26_Mobility_Demonstrator_%28EPMD%29.jpg" and clicking the preview "Error Our servers are currently under maintenance or experiencing a technical problem. Please try again in a few minutes. See the error message at the bottom of this page for more information. If you report this error to the Wikimedia System Administrators, please include the details below. Request from 2001:14ba:9c36:5100::8c3 via cp3055 cp3055, Varnish XID 87620808 Upstream caches: cp3055 int Error: 404, Not Found at Wed, 16 Feb 2022 05:59:26 GMT" --Palosirkka (talk) 06:02, 16 February 2022 (UTC)
When I click the larger thumbnails, I also get File not found: /v1/AUTH_mw/wikipedia-commons-local-public.26/2/26/14%29_Oshkosh%27s_M1087_A1P2_LTV-based_Enhanced_Protection_%26_Mobility_Demonstrator_%28EPMD%29.jpg. De728631 (talk) 14:58, 16 February 2022 (UTC)
Deleting and undeleting a file does not fix the error. I tried it with File:14) Oshkosh's M1087 A1P2 LTV-based Enhanced Protection & Mobility Demonstrator (EPMD).jpg. De728631 (talk) 15:03, 16 February 2022 (UTC)
@De728631: Wait, that actually worked?! I can see the file now. NguoiDungKhongDinhDanh 15:14, 16 February 2022 (UTC)
Wow, now that the cache has been cleared, it works for me too. I gave the other two files the same treatment and they should be fixed now. De728631 (talk) 15:24, 16 February 2022 (UTC)
Confirming working status. --Palosirkka (talk) 08:19, 17 February 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. De728631 (talk) 08:25, 17 February 2022 (UTC)

Why is CodeEditor installed everywhere but not here on Commons? Or I missed something? NguoiDungKhongDinhDanh 12:19, 19 February 2022 (UTC)

It is installed. You might have accidentally turned it off for yourself with the toolbar button (or you might have disabled the whole toolbar in your preferences, in which case CodeEditor doesn’t work either). —Tacsipacsi (talk) 23:44, 19 February 2022 (UTC)
The "This is sometimes called the '2010 wikitext editor'." line is truly misleading... NguoiDungKhongDinhDanh 23:56, 19 February 2022 (UTC)
This section was archived on a request by: NguoiDungKhongDinhDanh 23:56, 19 February 2022 (UTC)

General technical help

Hello! I'm an admin from SqWiki and my community lately is holding a kind of photo-competition in regard to traditional foods. We've nearly finished setting up the project page but we have 2 problems:

  1. If you open the home tab, you'll see that its name gets highlighted. The same thing doesn't happen in the other tabs. How do we replicate that effect?
  2. We've copied the general layout from Commons:Wiki Loves Food 2021 in India. There there were some translation tags which we removed because they were bringing problems with text formatting but in doing so we've removed the multi-lingual infrastructure. Can you help me insert them back in the right places in the right way?

Thanks in advance! :) - Klein Muçi (talk) 22:05, 5 February 2022 (UTC)

@Klein Muçi: To highlight words, you need to add <mark> tags to the How-to page where appropriate. As for the second question, I think you should ask translation admins at their noticeboard. NguoiDungKhongDinhDanh 14:12, 6 February 2022 (UTC)
@NguoiDungKhongDinhDanh, I will ask. But in regard to highlighting, I didn't mean that kind of highlighting. I meant the titles as "Faqja kryesore", "Fotografitë", "Juria" etj. When you click on them and you switch through those pages, the title of the page you're currently on gets highlighted in a light gray. That thing happens on the main page (Faqja kryesore) but it doesn't happen on the other pages. - Klein Muçi (talk) 14:21, 6 February 2022 (UTC)
@Klein Muçi: Oops, sorry. I fixed that for you, and here's explanation: The {{#ifeq:{{FULLPAGENAME}}|etc.|eaecf0|ffffff}} line detects if {{FULLPAGENAME}} and the page that specified at etc. above were the same and change color to "Cultured" depends on the boolean output. NguoiDungKhongDinhDanh 14:31, 6 February 2022 (UTC)
@NguoiDungKhongDinhDanh, oh, yes! Silly me. Thanks a lot! Can you also help me with one last request? Is there a way to add an upload button at this page like in this page? With an accompanying wizard upload and all? Or maybe just the button itself. - Klein Muçi (talk) 14:41, 6 February 2022 (UTC)
@Klein Muçi: Also ✓ Done. I don't speak Albanian so these are what you may want to change: campaign (in URL), {{{text}}}, {{{iconPrimary}}}, {{{iconSecondary}}} and {{{class}}}. NguoiDungKhongDinhDanh 14:46, 6 February 2022 (UTC)
@NguoiDungKhongDinhDanh, thanks a lot but the button redirects you on the "Wiki Loves Folklore 2021" campaign while I'd want it to redirect to the "Gara e fotografisë së ushqimit tradicional shqiptar - 2022" campaign, if a thing like that even exists (I don't know if we'd have to take some extra steps for creating a wizard upload specifically for that or not). You can try that yourself by pressing the said button and you'll see the notice. This was the part that I didn't know how to do. :/ - Klein Muçi (talk) 17:25, 6 February 2022 (UTC)
@Klein Muçi: Simply change campaign to something else or completely remove it. The form you see is Special:UploadWizard which is available to all registered users. I'm not sure how that banner works, apart from that it is transcluded from a system message (it lies somewhere in these). NguoiDungKhongDinhDanh 17:33, 6 February 2022 (UTC)
@NguoiDungKhongDinhDanh, oh I see. So it is regulated with a system message. I was wondering how that worked. Well, I don't have access in those (obviously) and this is the first time we're holding this activity so I'm surpassing that step. I fixed everything else beside the translations, hoping the users at that other noticeboard might be able to help me. Thanks a lot for your help! :)) - Klein Muçi (talk) 17:52, 6 February 2022 (UTC)
Commons:Upload campaigns should be the documentation about setting up campaigns, but it doesn’t contain anything about where or whom to ask to create a campaign… —Tacsipacsi (talk) 23:20, 8 February 2022 (UTC)
I just added the link to mw:Extension:UploadWizard/Campaigns on these page. --GPSLeo (talk) 08:55, 9 February 2022 (UTC)
@GPSLeo: That page is already linked from the first paragraph. My question is not technical (what buttons to press), but organizational (how to reach people who can press those buttons). This is something that should be decided upon and documented exclusively on Commons, not on mediawiki.org. —Tacsipacsi (talk) 15:07, 9 February 2022 (UTC)
This is my first time I've had to deal with this (UploadWizard + Translation infrastructure) and I was surprised that all this required such heavy admin intervention. It's such a central feature to Commons projects. I'd really wish it wasn't like that. - Klein Muçi (talk) 15:16, 9 February 2022 (UTC)
Oh, I did not get that there was a line before the list. I think the only practical way is to request the rights for yourself (or someone else of the team). The campaigns are very individual and need much consultation with the organizing team and sometimes fast changes. --GPSLeo (talk) 15:24, 9 February 2022 (UTC)
@GPSLeo, assuming getting the rights might take a lot of time, can you help me with that? Or maybe send me to a person that can? Talking about the UploadWizard part. - Klein Muçi (talk) 02:38, 10 February 2022 (UTC)
Just write on Commons:Requests for rights and link to the page of the competition. As the competition is organized by an official user group I think there should not be any problem there. --GPSLeo (talk) 07:51, 10 February 2022 (UTC)
@GPSLeo, okay then. I did. Thank you! :) - Klein Muçi (talk) 12:13, 10 February 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 04:11, 5 March 2022 (UTC)

In the course of uploading this file the uploading protocol asked whether I wanted to associate it with "Samuel A. Hall" on Wikidata, which I assumed was a Wikidata entry created when I created the Wikipedia article on the subject. It appears that it is not. I can't figure out how to remove the claim from the file. BD2412 T 05:47, 6 February 2022 (UTC)

@BD2412: Simply go to Structured data tab, click Edit and then the red bin icon. This time I did that for you. NguoiDungKhongDinhDanh 14:15, 6 February 2022 (UTC)
Thanks. This was not intiutive to me. BD2412 T 17:39, 6 February 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 04:11, 5 March 2022 (UTC)

Jetphotos files without VRT

Is there a way to query/generate a list of files sourced to Jetphotos.com (or which contain "jetphotos" in the file information) which do not contain VRT permission? Jetphotos.com generally specifies that images there are copyrighted, and although many files from Jetphotos.com on Commons like File:Aloha Air Cargo Boeing 737-319 N303KH.jpg have VRT permission, many others like File:Fokker 100 Bek air.jpg do not. I'd like to review the list and based on a manual assessment, tag many with {{No permission since}} as appropriate. A similar search might be worthwhile for Airliners.net. Thanks, -M.nelson (talk) 22:00, 11 February 2022 (UTC)

@M.nelson: Try this search query and a similar one for airliners.net. I'm not sure if this vetted all files, but it worth a try IMO. NguoiDungKhongDinhDanh 22:54, 11 February 2022 (UTC)
@NguoiDungKhongDinhDanh: Perfect, thank you very much. -M.nelson (talk) 11:01, 12 February 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 04:11, 5 March 2022 (UTC)

Transclusion

Hello! :)

Very straightforward question:

I added a button here (see bottom of the page).

I don't see the said button here, at the main page (it should appear below the contact info).

Any idea what's going on? - Klein Muçi (talk) 11:57, 13 February 2022 (UTC)

@Klein Muçi: There were two problems: first, the upload button was outside of the <onlyinclude> section, which means it wouldn’t have been transcluded even if the page that actually gets transcluded contained the button. And this is the second problem, that it didn’t contain it: behind the scenes, Commons:Gara e fotografisë së ushqimit tradicional shqiptar - 2022/Përshkrimi/sq gets transcluded for technical reasons, not Commons:Gara e fotografisë së ushqimit tradicional shqiptar - 2022/Përshkrimi, and the former page is updated only when the page is marked for translation (similarly to the /en subpage, except that nothing needs to be translated from Albanian to Albanian, of course). —Tacsipacsi (talk) 21:53, 13 February 2022 (UTC)
@Tacsipacsi, I was suspecting that the problem was related to the translation subject. I got the translation admin rights myself and things will go smoother after this for me but if my opinion is worth anything, I'd say that the whole translation infrastructure is pretty frustrating from a newcomer point of view. Or a new user. I was surprised a lot learning that you needed special rights for that, to start it up, but apparently you need it all the time, not only for the start. (Needing special rights for setting up campaigns also adds to the problem.) But anyway, I thank you a lot for explaining to me! :)) - Klein Muçi (talk) 21:59, 13 February 2022 (UTC)
@Tacsipacsi, sorry but apparently things won't go as smoothly as I imagined. I added some line breaks. They don't get transcluded. I tried editing Commons:Gara e fotografisë së ushqimit tradicional shqiptar - 2022/Përshkrimi/sq but it says that that page can't be edited manually and that I need to use the translation tool. The translation tool won't let me translate from Albanian to Albanian... I'm getting really confused. Can you help me one more time? - Klein Muçi (talk) 22:12, 13 February 2022 (UTC)
Apparently I need to mark it for translation after doing changes... Another extra step. Sorry, I'm new in this. Solved it now. - Klein Muçi (talk) 22:17, 13 February 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 04:12, 5 March 2022 (UTC)

How do I import "en:User:Alexis Jazz/Bawl"

I am testing a tool called "Bawl" over at the English-language Wikipedia, but I tend to be here more often than there and want to test it out here. It's a tool that's currently being developed by user "Alexis Jazz" which is a more feature filled version of the current MediaWiki Reply tool. As the source code is over on another website I don't know how to load it here without copying an archaic version that won't get updated.

How do I import tools like this from other Wikimedia websites? Are there already instructions somewhere? --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 08:00, 14 February 2022 (UTC)

This tool works via a Javascript in your own userpage, so you can just copy that string to Special:MyPage/common.js as explained on Alexis Jazz's page. It will automatically access the current version at Alexis's user space, so you don't need to worry about updates. De728631 (talk) 09:00, 14 February 2022 (UTC)
Thanks, after reading the German-language Wikipedia version of the page I noted how it wasn't localised there and thought this. Thanks for explaining this. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 09:52, 14 February 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 04:12, 5 March 2022 (UTC)

Hani Kutchi Keyboard?!

Every single file I look at says:

Structured data
Items portrayed in this file
Hani Kutchi Keyboard

wtf --Palosirkka (talk) 08:17, 17 February 2022 (UTC)

@Palosirkka: Do you have an example or should we guess the last file you were viewing? De728631 (talk) 08:34, 17 February 2022 (UTC)
It seemed to be every file but I did manage to find one file that didn't show this behavior. However for example this one does. --Palosirkka (talk) 09:08, 17 February 2022 (UTC)
Somebody changed the P180 property on Wikidata. It's been reverted so I suppose it will come right on Commons eventually. --ghouston (talk) 09:36, 17 February 2022 (UTC)
Good to hear it has been taken care of. Was slightly disturbing! :) --Palosirkka (talk) 09:52, 17 February 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 04:10, 5 March 2022 (UTC)

How to remove dust in plane window?

哀牢山 东北侧 5

I have taken some pictures, like the right one. The plane window was dirty and there is some dust. Is there a tool to remove them? --維基小霸王 (talk) 05:27, 19 February 2022 (UTC)

@維基小霸王: Technically yes, but it requires some skills. You can try asking at COM:GVP. NguoiDungKhongDinhDanh 07:27, 19 February 2022 (UTC)
OK. --維基小霸王 (talk) 07:09, 25 February 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 04:13, 5 March 2022 (UTC)

I made this page by accident, it should be speedied. Regular deletion processes don't work with Data: pages .. any help appreciated. -- GreenC (talk) 16:01, 23 February 2022 (UTC)

@GreenC: I think you can just write at Commons:Administrators' noticeboard. By the way, you could include testwikidata: and then you’d have two wikis, which can be ranked. Yes, production Wikidata would be the definite number one in each category except for uploaded files, but still. 😉 —Tacsipacsi (talk) 14:03, 24 February 2022 (UTC)
✓ Done I deleted that page. De728631 (talk) 15:01, 24 February 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 04:10, 5 March 2022 (UTC)

21:14, 7 February 2022 (UTC)

Are there problems with the API?

Today I get time out errors while trying to use the API. There is no successful request. I am using the wikimate library for php and I've done that many times before without any problems. Are there any (temporary) issues with the API? Thanks for help! --Hellerhoff (talk) 18:03, 7 February 2022 (UTC)

It works again. Don't know, what the problem was. :-) --Hellerhoff (talk) 18:36, 10 February 2022 (UTC)

"Cross-wiki upload from en.wikipedia.org"

What does this mean as a comment on an upload summary? See Bandi3534 (talk · contributions · Move log · block log · uploads · Abuse filter log and:

"07:49, 10 February 2022 Bandi3534 talk contribs uploaded File:NBA.png (Cross-wiki upload from en.wikipedia.org) Tag: Cross-wiki upload (thank)"

I had assumed that this was system generated and so was largely a reliable indicator that the file had been moved from another Wikipedia (with some implications as to relevance and licensing there). It was often hard to trace such files on those Wikipedias because of CSD F8 being executed super-rapidly. However I've recently been told that it's just a mis-click on the general upload tool (deliberate or not) and is basically meaningless. I'm also seeing a lot of new uploads with this summary and no indication of having ever been near a Wikipedia. See Commons:Deletion requests/File:ABD petrol.png.

So is this message meaningless? Does it mean anything if it's in conjunction with an old upload summary on the file desc page?

As this message is misleading (at least), can we do anything about avoiding it being added to so many files which haven't (as claimed) come from another Wikipedia? Andy Dingley (talk) 10:53, 10 February 2022 (UTC)

@Andy Dingley: This message appears when a file is uploaded from within the editing interface on a Wikipedia. You click the "image" icon, choose "upload", choose a file, assert that you own the copyright and are willing to release it under CC BY-SA 4.0, and provide some minimal metadata, and the file gets uploaded without your ever seeing Commons. I just tested this by uploading File:Bjh21 upload test.jpg. It's minimally described at Commons:Cross-wiki media upload tool, which is linked from the tag on each upload using it. It looks like the message can be changed through a change to $wgUploadDialog on Commons. I think that's the kind of change that the community can ask the WMF sysadmins to make, but we'd need to demonstrate that there's a consensus on Commons to change it. --bjh21 (talk) 11:42, 10 February 2022 (UTC)
@Andy Dingley: Having pondered this some more and found the procedures for getting the change made, I've slightly more formally proposed this change over in COM:VPP. Do please say there whether my proposed message would have confused you less. --bjh21 (talk) 22:31, 10 February 2022 (UTC)

MediaWiki message delivery going rogue

As you can see here, I have only ordered User:MediaWiki message delivery to send some message to 18 users at 14:51, 10 February 2022. But MediaWiki message delivery has gone rogue sending two other message at 17:16 on its own abusing my name! How is this possible? 4nn1l2 (talk) 17:59, 10 February 2022 (UTC)

Upstream connect error

I am frequently getting an error message upstream connect error or disconnect/reset before headers. reset reason: overflow. Reloading the page will resolve it after a while, but it will occur even with opening my watchlist or other pages with seemingly low traffic. De728631 (talk) 19:36, 10 February 2022 (UTC)

Me too, while patrolling. It seems that all WMF sites got affected for at least a while, including Phabricator and Wikitech. NguoiDungKhongDinhDanh 19:53, 10 February 2022 (UTC)
According to Phabricator, this has been fixed. If you still get errors of this kind please report over there. De728631 (talk) 15:28, 11 February 2022 (UTC)

Exact duplicates

E.g. File:Cultivating Egypt’s Desert (39459460084).jpg and File:Cultivating Egypt’s Desert.jpg. Should we really manually mark those with template:dupe? The software seems to find them by itself? I mean the pages themselves state "The following file is a duplicate of this file (more details)" apparently without any human interference. How does de-duping work here exactly? --Palosirkka (talk) 12:27, 11 February 2022 (UTC)

@Palosirkka: Yes, you need to mark one of them by hand. The software can detect that the files are identical, but it can't detect which one should be deleted, or handle merging the description pages itself. There are also a few cases where we do actually want to keep identical files. --bjh21 (talk) 14:43, 11 February 2022 (UTC)
Special:ListDuplicatedFiles can even list all duplicates (I mean only the first 5000, but if they were cleaned up, there probably wouldn’t be more than 5000). We could create a template to mark intentionally kept duplicates (if we don’t already have one), and have a bot list all identical duplicates that aren’t marked as intentional. Of course, the bot can’t decide with 100% confidence which file should be deleted, but it can list both (or in some—currently nearly 400—cases all three or more) and let the admin make the decision. —Tacsipacsi (talk) 19:18, 11 February 2022 (UTC)

Thanks for the replies. Ah, so the duplicate template really is a "delete this specific file of the copies" template. So I will keep adding it. Perhaps the upload tool should refuse to upload identical. Then this problem would eventually go away... I wonder when would dupes be a good thing? --Palosirkka (talk) 23:49, 11 February 2022 (UTC)

@Palosirkka: The upload API does warn on uploading a duplicate, but that can be overridden. I have a feeling that some upload tools may automatically override the warning without asking the user. I can think of two reasons for keeping duplicate files. One is where the files are co-incidental duplicates. Imagine two countries that have identical flags, or scans of blank pages in two different books. In that kind of case, the files might have very different descriptions but the same contents. The other case is where there's a file that's being kept up to date (like a map tagged with {{Current}}) and someone wants to preserve the version as at a particular date. They would upload that version under a different name, and initially the two files would be identical. — Preceding unsigned comment added by Bjh21 (talk • contribs) 01:23, 12 February 2022‎ (UTC)

19:17, 14 February 2022 (UTC)

Video length: 0.2 s (not true)

Here. wtf --Palosirkka (talk) 10:56, 15 February 2022 (UTC)

It was a copyright infringement anyway. Deleted. De728631 (talk) 14:37, 15 February 2022 (UTC)

MIME type for .stl

Commons seems to use "application/sla" despite IANA standard "model/stl". How come? --Palosirkka (talk) 05:56, 16 February 2022 (UTC)

Large number of expensive function calls by {{TemplateBox}}

{{TemplateBox |name=Depicted font |i18n-method=ext.translate}} is making 498 out of 500 allowed "Expensive parser function count". Seems like one for every language supported by mediawiki. That is causing issues at pages like Template:Depicted font/doc or Template:Depicted logo/doc. Can someone look into why are we making so many Expensive parser function calls? A lot of pages are likely to break if number of supported languages goes over 500. --Jarekt (talk) 02:37, 17 February 2022 (UTC)

How to add language version of graphic?

I have created a Polish language version of this graphic. I would like to add the Polish version in the description of it, following this example, but it is beyond me, because I have to make a template, I guess... I am afraid that I will destroy something, so I would like to ask someone who can do it. -- Mixhau (talk) 21:40, 16 February 2022 (UTC)

You don't need a new template. You just edit the |other versions= parameter of the description and add a <gallery></gallery> with the other file name and a description. I have done that for you at the English language file, so you may want to try the reverse case and add the English file to your new upload. De728631 (talk) 08:31, 17 February 2022 (UTC)

Negative number in filecount

Things like

1950s architectural dates in Germany‎ (5 C, -1 F)

are showing in Category:Architectural dates in Germany by decade and mayve also elsewhere. Very unexpected and totally unseen (for me at least). Whatever is causing this here may very well be a deeper issue. -- Tuválkin 02:19, 17 February 2022 (UTC)

@Tuvalkin: See en:WP:VPT and Tech News right above. NguoiDungKhongDinhDanh 03:11, 17 February 2022 (UTC)

Rollout of the new audio and video player

Please help translate to your language

Hello,

Over the next months we will gradually change the audio and video player of Wikis from Kultura to Video.js and with that, the old player won’t be accessible anymore. The new player has been active as a beta feature since May 2017.

The new player has many advantages, including better design, consistent look with the rest of our interface, better compatibility with browsers, ability to work on mobile which means our multimedia will be properly accessible on iPhone, better accessibility and many more.

The old player has been unmaintained for eight years now and is home-brewn (unlike the new player which is a widely used open source project) and uses deprecated and abandoned frameworks such as jQuery UI. Removing the old player’s code also improves performance of the Wikis for anyone visiting any page (by significantly reducing complexity of the dependency graph of our ResourceLoader modules. See this blog post.). The old player has many open bugs that we will be able to close as resolved after this migration.

The new player will solve a lot of old and outstanding issues but also it will have its own bugs. All important ones have been fixed but there will be some small ones to tackle in the future and after the rollout.

What we are asking now is to turn on the beta feature for the new player and let us know about any issues.

You can track the work in T100106

Thank you, Amir 17:59, 17 February 2022 (UTC)

19:10, 21 February 2022 (UTC)

Issues with Video2Commons

A few days ago a "traumaheli" (ambulance helicopter) landed somewhere and I filmed it, I wanted to upload this to the Wikimedia Commons as we don't have any free footage of a Dutch ambulance helicopter in action like this here, but every time I try to upload the videos using Videos2Commons there's an error. What advice would someone give to upload these here? --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 20:05, 23 February 2022 (UTC)

22:58, 28 February 2022 (UTC)

MediaWiki page creation request

Hello, please someone create MediaWiki:Gadget-Cat-a-lot.js/ckb with the following content:

Content
//<syntaxhighlight lang="javascript">
// DO NOT CHANGE THE NEXT LINE
if (mw.config.get('wgUserLanguage') !== 'ckb')
// DO NOT CHANGE THE PREVIOUS LINE
	mw.messages.set({
		// Preferences
		// new added: 2017-11-20. Please translate.
		// Use user language for i18n
		'cat-a-lot-watchlistpref'  : 'ھەڵبژاردەی پێڕستی چاودێریی ئەو پەڕگانەی بە کۆماپۆل دەستکاری کراون',
		'cat-a-lot-watch_pref'     : 'بەپێی ھەڵبژاردە گشتییەکانت',
		'cat-a-lot-watch_nochange' : 'حاڵەتی چاودێری مەگۆڕە',
		'cat-a-lot-watch_watch'    : 'چاودێریی ئەو پەڕانە بکە کە بە کۆماپۆل دەستکاری کراون',
		'cat-a-lot-watch_unwatch'  : 'ئەو پەڕانە لە پێڕستی چاودێرییەکەت لابە کە بە کۆماپۆل دەستکارییان دەکەیت',
		'cat-a-lot-minorpref'      : 'دەستکارییەکان بە بچووک دیاری بکە (ئەگەر بە شێوەیەکی گشتی دەستکارییەکانت بە بچووک دیاری دەکەیت، ئەوا ئەمە ھیچ ناگۆڕێت)',
		'cat-a-lot-editpagespref'  : 'ڕێگە بە پۆلێنکردنی ئەو پەڕانە (بە پۆلەکانیشەوە) بدە کە پەڕگە نین',
		'cat-a-lot-docleanuppref'  : 'لابردنی {{Check categories}} و خاوێنکردنی تری بچووک',
		'cat-a-lot-uncatpref'      : 'لابردنی {{Uncategorized}}',
		'cat-a-lot-subcatcountpref': 'ئەوپەڕی ئەو ژێرپۆلانەی پیشان دەدرێن',
		'cat-a-lot-config-settings': 'ھەڵبژاردەکان',
		'cat-a-lot-buttonpref'     : 'دوگمەکان لەجیاتیی بەستەرەکانی دەق بەکاربێنە',
		'cat-a-lot-comment-label'  : 'کورتەی دەستکاریی دروستکراو',
		'cat-a-lot-edit-question'  : 'بۆچی ئەم گۆڕانکارییە پێویستە؟',

		// Progress
		// 'cat-a-lot-loading'       : 'بار دەکرێت …',
		'cat-a-lot-editing'          : 'دەستکاریکردنی پەڕە',
		'cat-a-lot-of'               : 'ی ',
		'cat-a-lot-skipped-already'  : 'ئەم {{PLURAL:$1|1=پەڕەی|$1 پەڕانەی}} خوارەوە {{PLURAL:$1|1=پەڕێندرا|$1 پەڕێندران}}، چونکە پێشتر لە پۆل {{PLURAL:$1|1=ھەبوو|$1 ھەبوون}}:',
		'cat-a-lot-skipped-not-found': 'ئەم {{PLURAL:$1|1=پەڕەی|$1 پەڕانەی}} خوارەوە {{PLURAL:$1|1=پەڕێندرا|$1 پەڕێندران}}، چونکە نەتواندرا پۆلە کۆنەکە بدۆزرێتەوە:',
		'cat-a-lot-skipped-server'   : 'نەتواندرا ئەم {{PLURAL:$1|1=پەڕەی|$1 پەڕانەی}} خوارەوە {{PLURAL:$1|1=بگۆڕدرێ|$1 بگۆڕدرێن}}، چونکە لەو کاتەدا چەند کێشەیەک لە پەیوەندیکردن بە ڕاژەکارەکەوە ھەبوو:',
		'cat-a-lot-all-done'         : 'ھەموو پەڕەکان جێبەجێ کران.',
		'cat-a-lot-done'             : 'کرا!',
		'cat-a-lot-added-cat'        : 'پۆلی $1 زیاد کرا',
		'cat-a-lot-copied-cat'       : 'بۆ پۆلی $1 لەبەرگیرایەوە',
		'cat-a-lot-moved-cat'        : 'بۆ پۆلی $1 گوازرایەوە',
		'cat-a-lot-removed-cat'      : 'لە پۆلی $1 لابرا',
		// 'cat-a-lot-return-to-page': 'بگەڕێوە بۆ پەڕەکە',
		// 'cat-a-lot-cat-not-found' : 'پۆل نەدۆزرایەوە.',

		// as in 17 files selected
		'cat-a-lot-files-selected'   : '{{PLURAL:$1|1=یەک پەڕگە|$1 پەڕگە}} دیاری کرا.',

		// Actions
		'cat-a-lot-copy'           : 'لەبەرگرتنەوە',
		'cat-a-lot-move'           : 'گواستنەوە',
		'cat-a-lot-add'            : 'زیادکردن',
		'cat-a-lot-remove-from-cat': 'لابردن لەم پۆلە',
		'cat-a-lot-enter-name'     : 'داخلکردنی ناوی پۆل',
		'cat-a-lot-select'         : 'دیاریکردن',
		'cat-a-lot-all'            : 'ھەموو',
		'cat-a-lot-none'           : 'ھیچ',
		// 'cat-a-lot-none-selected': 'ھیچ پەڕگەیەک دیاری نەکراوە!'
	    });

// DO NOT CHANGE THE NEXT LINE
if (mw.config.get('wgContentLanguage') !== 'ckb')
// DO NOT CHANGE THE PREVIOUS LINE
	mw.messages.set({
		// Summaries:
		'cat-a-lot-pref-save-summary': 'نوێکردنەوەی ھەڵبژاردەکانی بەکارھێنەر',
		'cat-a-lot-summary-add'      : 'زیادکردنی [[پۆل:$1]]',
		'cat-a-lot-summary-copy'     : 'لەبەرگرتنەوە لە [[پۆل:$1]] بۆ [[پۆل:$2]]',
		'cat-a-lot-summary-move'     : 'گواستنەوە لە [[پۆل:$1]] بۆ [[پۆل:$2]]',
		'cat-a-lot-summary-remove'   : 'لابردن لە [[پۆل:$1]]',
		'cat-a-lot-prefix-summary'   : '', // Some text to prepend to the edit summary. Set this to an empty string if you use 'using'.
		'cat-a-lot-using-summary'    : ' بە بەکارھێنانی [[:ckb:وپ:کۆماپۆل|کۆماپۆل]]' // Some text to append to the edit summary. Set this to an empty string if you use 'prefix'.
	});
//</syntaxhighlight>

Thank you in advance! Aram (talk) 10:12, 15 February 2022 (UTC)

User:Kaldari Can you do this please? Thanks! Aram (talk) 20:52, 18 February 2022 (UTC)
User:Krinkle, anyone? Aram (talk) 21:56, 2 March 2022 (UTC)
Thanks @Aram. I've confirmed the above code was indeed written by you, and has not changed since, and that you are a trusted user both as an interface editor and native speaker of the language. Edit is done. --Krinkle (talk) 23:14, 2 March 2022 (UTC)
@Krinkle, Thank you very much for creating the page and your words! But messages haven't been localized yet. Is there a problem somewhere? Aram (talk) 12:34, 5 March 2022 (UTC)
This section is about to be archived. Can someone tell me what the problem is? Aram (talk) 21:00, 17 March 2022 (UTC)
User:Krinkle Please can you answer my question? Aram (talk) 14:07, 26 March 2022 (UTC)
@Aram and Krinkle: The translation page template and the other translation pages have the line (which occurs twice):
if (mw.config.get('wgUserLanguage') !== 'en') {
But on the ckb page, both lines have been changed to:
if (mw.config.get('wgUserLanguage') !== 'ckb')
I believe this change of language code, such that the ckb translation is deactivated when the user language is ckb, is the problem.
Comparing the de and ckb pages, there are a few other changes to comments and whitespace. Most are insignificant, but an if statement without braces makes it easy for future changes to accidentally place statements in the wrong place, so the braces should be re-added. I made the ckb page consistent with the other translation pages in this sandbox version. The ckb page can be replaced with it to apply the changes.
(diff: current ckb translation → sandbox version)
(diff: current de translation → sandbox version)
 —⁠wqnvlz (talk·contribs);  12:27, 9 April 2022 (UTC)
Thank God. Finally, someone replied. Wqnvlz, thank you for your reply and your explanation! It was my fault, but I didn't notice that. Now, we need someone who can edit the page and fix the problem. Thank you very much for your reply again! Aram (talk) 14:30, 9 April 2022 (UTC)
Hello @Krd, Sorry for mentioning you here. I just want to find someone for an edit request. Please just go to MediaWiki:Gadget-Cat-a-lot.js/ckb and:
  • find //<syntaxhighlight lang="javascript"> (1 match) and replace with //<nowiki>
  • find !== 'ckb' (2 matches) and replace with !== 'en'
  • And finally add //</nowiki> to the last (and on it's own) line.
Thank you in advance! Aram (talk) 21:12, 3 May 2022 (UTC)
@Krd, This is an edit request. Please read the comment above. Thanks! Aram (talk) 11:12, 4 May 2022 (UTC)