Commons:Village pump/Technical/Archive/2021/09
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
The Mobile version of the MediaWiki Upload Wizard is acting weird
For whatever reason the Mobile version of the MediaWiki Upload Wizard looks really weird and everything now looks HUGE. Is anyone else experiencing this issue?
Link 🔗 for reference: https://commons.m.wikimedia.org/wiki/Special:UploadWizard
--Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 20:35, 15 September 2021 (UTC)
- @Donald Trung: This should be related to Special:Permalink/591517076#Upload wizard mobile ui CSS fix 2, but I don't see any problems in my mobile phone (Android, Chrome). cc @Zache: 4nn1l2 (talk) 20:43, 15 September 2021 (UTC)
- @Donald Trung: can you take screenshot? --Zache (talk) 20:45, 15 September 2021 (UTC)
- Also, can you give details on which browser / device the problem is happening so I can try the issue. --Zache (talk) 20:51, 15 September 2021 (UTC)
-
SOME of these actually appear as improvements, but in other cases the sizes all appear disproportionate.
-
SOME of these actually appear as improvements, but in other cases the sizes all appear disproportionate.
-
SOME of these actually appear as improvements, but in other cases the sizes all appear disproportionate.
-
SOME of these actually appear as improvements, but in other cases the sizes all appear disproportionate.
-
SOME of these actually appear as improvements, but in other cases the sizes all appear disproportionate.
-
SOME of these actually appear as improvements, but in other cases the sizes all appear disproportionate.
-
This has got to be the worst one.
@Zache: , Here are the issues I'm facing. Some objects appear waaaaaayyyyyy too big while others are really narrow. The thumbnails and most boxes are too big, the "6 (six) steps" appear as a weird bug, well, most of these screenshots speak for themselves. I'm using Microsoft Edge on a Microsoft Lumia 950 mobile telephone with Microsoft Windows 10 Mobile. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 21:00, 15 September 2021 (UTC)
- Thanks! I will try to figure out how to fix the css rules. Btw, You can disable the change from settings / gadgets (search label
Toggles mobile UploadWizard to responsive layout
) --Zache (talk) 21:08, 15 September 2021 (UTC)
- I updated the CSS rules in beta commons diff. @Donald Trung: I will still do a testing round with different devices, but if you want to test the beta commons upload wizard now it would be nice and drop comments if there is something more to fix. (Note: I don't have Windows mobile phone and my testing was with Internet explorer. I think however that I found errors described in your screenshots) --Zache (talk) 06:11, 16 September 2021 (UTC)
- @Zache: , all issues there are fixed. 😃 Thank you very much for investing your free time in this. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 07:17, 16 September 2021 (UTC)
- Thank you. Also just for transparency, I work as a part timer in Wikimedia Finland and we are doing project Helsinki rephotographs which try to inspire people to do casual exercises and also take photos and publish them via free licenses. Our method is to inspire people to go out and take photos from defined targets (mostly rephotos, but also sites under change). In any case, it seemed to be good idea that UploadWizard would work with mobile devices too so that we can have single link for uploading photos. In any case the CSS-rules from beta are now here too. --Zache (talk) 13:50, 16 September 2021 (UTC)
- @Zache: , I just saw that I forgot to report back, but all the issues are resolved. I would be lying that I would say that I don't miss some parts of how it looked a fortnight ago, but overall this new layout is an improvement and the "nostalgia" is probably just my brain needing to get used to it (which usually takes a couple of days), I can't say that I've had any issues with it since your fixes. Thank you so much for all your hard work. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 11:17, 20 September 2021 (UTC)
- This section was archived on a request by: --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 11:17, 20 September 2021 (UTC)
"File extension ".jpg" does not match the detected MIME type of the file (image/png)."
I keep getting this error message while trying to upload an image, the device I use is :
- Device name LAPTOP-3VLVD7QK
- Processor Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz 1.19 GHz
- Installed RAM 8,00 GB (7,70 GB usable)
- System type 64-bit operating system, x64-based processor
- Pen and touch No pen or touch input is available for this display
(Usually I'm on mobile and I've never had this issue on a mobile device.).
Is this a common issue? --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 11:14, 20 September 2021 (UTC)
- @Donald Trung: . Just curious. Did this message appear after your initial upload failed, and you were asked to retry? Cheers --Rsteen (talk) 12:13, 20 September 2021 (UTC)
- I've managed to solve the issue, the file was saved as a ".jpg" file but the MediaWiki software exclusively recognised it as a ".png" file. Maybe it was an issue with the software I used to create the file and note the Wikimedia Commons itself. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 21:21, 20 September 2021 (UTC)
- This section was archived on a request by: --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 21:21, 20 September 2021 (UTC)
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 wikis that have Growth features deployed have been part of A/B testing since deployment, in which some newcomers did not receive the new features. Now, all of the newcomers on 21 of the smallest of those wikis will be receiving the features. [1]
Changes later this week
- There is no new MediaWiki version this week.
Future changes
- In 2017, the provided jQuery library was upgraded from version 1 to 3, with a compatibility layer. The migration will soon finish, to make the site load faster for everyone. If you maintain a gadget or user script, check if you have any JQMIGRATE errors and fix them, or they will break. [2][3]
- Last year, the Portuguese Wikipedia community embarked on an experiment to make log-in compulsory for editing. The impact report of this trial is ready. Moving forward, the Anti-Harassment Tools team is looking for projects that are willing to experiment with restricting IP editing on their wiki for a short-term experiment. Learn more.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
15:18, 6 September 2021 (UTC)
Stash has not uploaded for days
I have tried to upload from my stash over and over again. One time, the video just disappeared from my stash (without uploading to the file name) and I uploaded it again using a chunked upload and it again got stuck in my stash. Can someone help? Does anyone have access to the servers? Do I need to make a ticket at phab:? —Justin (koavf)❤T☮C☺M☯ 19:52, 3 September 2021 (UTC)
- And now the file has disappeared from my stash again without uploading. Please help. —Justin (koavf)❤T☮C☺M☯ 17:04, 6 September 2021 (UTC)
- Koavf - Chunked upload has always been a life saver for me so not sure why it hasn't been for you :(, If you want I can upload it for you?, failing that personally I have no better suggestions other than Chunked which you've already tried, –Davey2010Talk 18:02, 6 September 2021 (UTC)
- @Davey2010: That would be a treat. I've tried using Video2Commons and downloading, converting via Handbrake, and uploading with ChunkedUploads for File:David Pakman - Politics, Media and Reality Tunnels.webm. What do you suggest to make this work? Is there something about Video2Commons that is broken on my end (maybe uMatrix or NoScript is blocking a feature somehow???). I also have two very large videos on X3D that I want to upload but I don't want to go thru this indefinitely. —Justin (koavf)❤T☮C☺M☯ 18:06, 6 September 2021 (UTC)
- Koavf, Unfortunately I don't know what causes V2C not to work - it seems to pick and choose what it wants to convert,
- I downloaded the video and converted it which took minutes, Used V2C to upload the file but that alone took 2-3 hours and I wasn't getting no where (only got to 2%!) - So I've used an online WEBM converter which generally produces crap results but unfortunately it looks like it's the best we're gonna get (unless someone wants to retry uploading a webm version to V2C and waiting 2-3 days!).
- Sorry I couldn't do better here, Thanks, –Davey2010Talk 20:55, 6 September 2021 (UTC)
- @Davey2010: I'm always grateful for someone trying. I actually didn't realize that you could upload to Video2Commons and then that can publish here, so maybe I'll try that. I'm loathe to open up a new phab: ticket but I guess I have to if this new method doesn't work. Thanks again. :/ —Justin (koavf)❤T☮C☺M☯ 20:58, 6 September 2021 (UTC)
- Koavf Ignore the above reply, I originally tried uploading to V2C via URL which failed, So I downloaded the file as MP4 and tried uploading to V2C that way however 3 hours later it was only at 2% .... so I then tried an online MP4 to WEBM conversion service which when uploaded here turned out to be an audio only file ..... so as a last ditch attempt I tried converting from MP4 to WEMB on a different site but unfortunately that site now says "time limit exceeded" .....
- TLDR I've tried 4 different options and none have successfully worked so I would unfortunately suggest heading to Phab and see if something can be fixed
- Sorrry again for not being able to be of any help :(, Hope one way or another you have some luck with this file, Thanks, –Davey2010Talk 00:48, 7 September 2021 (UTC)
- @Koavf: server side uploading has been the only way I could get a some files uploaded recently. Large file uploads have been very unreliable for a few months now. Using upload Wizard, API chunked and async uploads, chunked upload JS are all the same. It's also causing semi-regular failures of the IA upload tool. Inductiveload (talk) 22:12, 6 September 2021 (UTC)
- @Inductiveload: So that means a ticket, then? —Justin (koavf)❤T☮C☺M☯ 23:25, 6 September 2021 (UTC)
- @Koavf: I'm afraid so. Or at least that is what it took for me. Inductiveload (talk) 22:31, 7 September 2021 (UTC)
- @Inductiveload: So that means a ticket, then? —Justin (koavf)❤T☮C☺M☯ 23:25, 6 September 2021 (UTC)
- @Davey2010: You've done lots. Thanks! —Justin (koavf)❤T☮C☺M☯ 01:29, 7 September 2021 (UTC)
- @Koavf: server side uploading has been the only way I could get a some files uploaded recently. Large file uploads have been very unreliable for a few months now. Using upload Wizard, API chunked and async uploads, chunked upload JS are all the same. It's also causing semi-regular failures of the IA upload tool. Inductiveload (talk) 22:12, 6 September 2021 (UTC)
- @Davey2010: I'm always grateful for someone trying. I actually didn't realize that you could upload to Video2Commons and then that can publish here, so maybe I'll try that. I'm loathe to open up a new phab: ticket but I guess I have to if this new method doesn't work. Thanks again. :/ —Justin (koavf)❤T☮C☺M☯ 20:58, 6 September 2021 (UTC)
- @Davey2010: That would be a treat. I've tried using Video2Commons and downloading, converting via Handbrake, and uploading with ChunkedUploads for File:David Pakman - Politics, Media and Reality Tunnels.webm. What do you suggest to make this work? Is there something about Video2Commons that is broken on my end (maybe uMatrix or NoScript is blocking a feature somehow???). I also have two very large videos on X3D that I want to upload but I don't want to go thru this indefinitely. —Justin (koavf)❤T☮C☺M☯ 18:06, 6 September 2021 (UTC)
- Koavf - Chunked upload has always been a life saver for me so not sure why it hasn't been for you :(, If you want I can upload it for you?, failing that personally I have no better suggestions other than Chunked which you've already tried, –Davey2010Talk 18:02, 6 September 2021 (UTC)
Rotation bug?
Moved to Commons:Village pump#Rotation bug?. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:24, 15 September 2021 (UTC)
EditGroups tool for Commons
Hello!
Perhaps some of you who also edit Wikidata are familiar with the EditGroups tool, which lets people review and revert batches of edits on Wikidata. (For instance, this batch was reverted by this batch). I am planning to deploy this tool for Commons too (for context: I am involved in a project to add support for Commons to OpenRefine and we need to be able to revert edit batches as part of that). Therefore I have a few questions:
- Would there be tool authors who would be interested in trying this out, by adapting their tool so that their edits are tracked by EditGroups (and therefore their batches could be reverted easily)?
- In which namespaces should the tool be tracking edits? I am thinking of
File:
(namespace 6) only (for comparison in Wikidata we only track edits on items and properties, namespaces 0 and 120 respectively) - To revert batches which contain page creations (so, file uploads), admin rights are required. Admins can do that via EditGroups and granting the tool permissions to do the deletions on their behalf. If a non-admin visits the tool, there is a button to undo the batch, which redirects them to a prefilled new section in d:Wikidata:Requests_for_deletions (for instance, try reverting this batch without logging into EditGroups. Of course don't save the page on Wikidata…). Because Commons does not seem to have one single page where requests should be added, I wonder how to do it here? Perhaps we could create a special page for batch deletion requests? What would be a good title for it?
- The on-wiki support for those features relies on some help pages, templates and prefills such as d:Wikidata:Edit_groups, d:Template:Edit_group_box, d:Template:Edit_group, d:Wikidata:Edit_groups/Preload and d:Wikidata:Edit_groups/Revert. Is it okay if I create the same sorts of things here in the "Commons:" namespace? The tool also invites users to discuss batches on specific pages such as d:Wikidata:Edit_groups/OR/8cb3004, we could have this here or simply redirect to the batch author's talk page.
This external tool is not really a satisfactory solution for this problem, ideally this should be supported on MediaWiki's side (see phab:T203557) but there is no sign of that happening any time soon, hence this initiative.
Let me know what you think! − Pintoch (talk) 16:44, 12 September 2021 (UTC)
- I have boldly created Commons:Edit groups and the subpage Commons:Edit groups/Adding a tool, but very happy to have them somewhere else (or deleted you think this should rather be off-wiki). And I have deployed an instance of the tool here: https://editgroups-commons.toolforge.org/. − Pintoch (talk) 13:37, 13 September 2021 (UTC)
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
- 45 new Wikipedias now have access to the Growth features. [4]
- A majority of Wikipedias now have access to the Growth features. The Growth team has published an FAQ page about the features. This translatable FAQ covers the description of the features, how to use them, how to change the configuration, and more.
Problems
- All wikis will be read-only for a few minutes on 14 September. This is planned at 14:00 UTC. [5]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 14 September. It will be on non-Wikipedia wikis and some Wikipedias from 15 September. It will be on all wikis from 16 September (calendar).
- Starting this week, Wikipedia in Italian will receive weekly software updates on Wednesdays. It used to receive the updates on Thursdays. Due to this change, bugs will be noticed and fixed sooner. [6]
- You can add language links in the sidebar in the new Vector skin again. You do this by connecting the page to a Wikidata item. The new Vector skin has moved the language links but the new language selector cannot add language links yet. [7]
- The syntax highlight tool marks up code with different colours. It now can highlight 23 new code languages. Additionally,
golang
can now be used as an alias for the Go programming language, and a specialoutput
mode has been added to show a program's output. [8][9]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
15:30, 13 September 2021 (UTC)
CSS changes might affect scripts
Hi all,
I don't fully understand this potential problem, but the part that I grasped is that there's going to be a change that might affect some user scripts/gadgets that depend on something in the CSS. This will probably appear here at Commons next Wednesday (i.e., seven days from now).
This change was made months ago at three Wikipedias, and they're still around, so I assume that the overall risk is fairly low. On the other hand, there are more user scripts and gadgets at Commons than most wikis, so perhaps the risk is higher here. My main goal in posting this is to let you know that if a gadget breaks next Thursday, that you'll consider these CSS changes as a possible source of the problem.
Thanks, Whatamidoing (WMF) (talk) 17:51, 15 September 2021 (UTC)
- I added some technical details to the linked task. These are the same changes that are currently applied when you enable the "Discussion tools" beta feature, so you can test today whether your scripts/gadgets work fine with that. We're not actually expecthing anything to break (but you never know…). Matma Rex (talk) 19:00, 15 September 2021 (UTC)
Image thumbnail over 100 MP error
Hi! The image File:Hayden Bridge, Spanning McKenzie River at Southern Pacific Railroad (moved from Springfield, Lake County, OR), Springfield, Lane County, OR HAER ORE,20-SPRIF,2- (sheet 3 of 4).png on the Wikipedia page Hayden Bridge (Springfield, Oregon) is having issues with displaying. The error text says that this is because it is over 100 MP. Could someone help me with this? Thanks! Tyrone Madera (talk) 21:50, 15 September 2021 (UTC)
- @Tyrone Madera: That's phab:T291010. We tried to remove some technical debt (in the form of an extension that shouldn't be doing much of anything), but it ended up being load-bearing technical debt. That change has been reverted for now, so purging any pages that are still affected should fix them. --AntiCompositeNumber (talk) 23:32, 15 September 2021 (UTC)
Auto translate
I have tried leaving a warning message at User talk:Houssam BH to advise the user not to remove deletion notices, as was done at File:National Rally of Independents.jpg. However, instead of the expected message, I see, "Template:Autotranslate". The template text appears to have been inserted correctly,[10] so I am not sure what the problem is. It could just be a temporary glitch and the template text may become visible later on its own but I thought I'd mention it in case some corrective action is needed. From Hill To Shore (talk) 22:35, 17 September 2021 (UTC)
- This happens when a user talk page contains too many templates and the Mediawiki software can no longer parse additional templates on that page. Anyhow, the user should have gotten a notification about the edit at their talk page, so there is no need to fix any code. De728631 (talk) 22:41, 17 September 2021 (UTC)
- Ok, thanks for clarifying. From Hill To Shore (talk) 22:47, 17 September 2021 (UTC)
PDF display
What has gone wrong with the display of this PDF? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:50, 19 September 2021 (UTC)
- @Andy: it looks like the PDF was corrupted just enough to mess with the preview generation, though I could open it in Acrobat Reader successfully. I ran it through en:QPDF and that seems to have corrected the errors. clpo13(talk) 16:33, 20 September 2021 (UTC)
- @Clpo13: Many thanks. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:48, 20 September 2021 (UTC)
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
- Growth features are now deployed to almost all Wikipedias. For the majority of small Wikipedias, the features are only available for experienced users, to test the features and configure them. Features will be available for newcomers starting on 20 September 2021.
- MediaWiki had a feature that would highlight local links to short articles in a different style. Each user could pick the size at which "stubs" would be highlighted. This feature was very bad for performance, and following a consultation, has been removed. [11]
- A technical change was made to the MonoBook skin to allow for easier maintenance and upkeep. This has resulted in some minor changes to HTML that make MonoBook's HTML consistent with other skins. Efforts have been made to minimize the impact on editors, but please ping Jon (WMF) on wiki or in phabricator if any problems are reported.
Problems
- There was a problem with search last week. Many search requests did not work for 2 hours because of an accidental restart of the search servers. [12]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 21 September. It will be on non-Wikipedia wikis and some Wikipedias from 22 September. It will be on all wikis from 23 September (calendar).
- The meta=proofreadpage API has changed. The
piprop
parameter has been renamed toprpiprop
. API users should update their code to avoid unrecognized parameter warnings. Pywikibot users should upgrade to 6.6.0. [13]
Future changes
- The Reply tool will be deployed to the remaining wikis in the coming weeks. It is currently part of "Discussion tools" in Beta features at most wikis. You will be able to turn it off in Editing Preferences. [14]
- The previously announced change to how you obtain tokens from the API has been delayed to September 21 because of an incompatibility with Pywikibot. Bot operators using Pywikibot can follow T291202 for progress on a fix, and should plan to upgrade to 6.6.1 when it is released.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
18:29, 20 September 2021 (UTC)
Question about searching metadata
Hi there! Is there a way to search images on commons by their metadata? ie can we search for photos by a specific camera type/model? --TheSandDoctor (talk) 01:36, 22 September 2021 (UTC)
- @TheSandDoctor Not easily, it's not indexed anywhere. If there's a specific string you're looking for, you can use quarry:. It would be nice to pull it out into something like wikitech:Help:Toolforge/Elasticsearch or toolsdb someday. AntiCompositeNumber (talk) 02:56, 22 September 2021 (UTC)
Restoring access to the history of edits of the file _said_ to be converted to redirect
Today the GR was performed with the File:Ingenuity Helicopter Base Station on Perseverance Rover.jpg, commented as „Exact or scaled-down duplicate” of the File:PIA23968-MarsPerseveranceRover-HelicopterBase-20210120.jpg. Last month I worked with both files (they illustrate the article I'm improving) and remember their descriptions differed. Between the two versions which existed on Commons I chose the one with the extended decription, which I do not find in the present file.
Seeking for the old disappeared text to add it to the present file I went to the file which was converted to the redirect. However, I found no history of its edits. To be exact this 'history' consists of only one record
curprev 13:14, 26 September 2021 Huntster talk contribs 77 bytes +77 Redirecting to duplicate file thank Tag: New redirect
meaning that the file with this name was created as redirect today, after deleting the old one with its history. I've already written to Huntster asking him to restore the access to the old history of edits which was supposedly deleted instead of replacing its contents to the 'redirect' tag. I duplicate this request here supposing it was a technical problem outside the scope of his authority and competence. Please help me to restore the access to the original File:Ingenuity Helicopter Base Station on Perseverance Rover.jpg with all its history of edits. Thank you in advance. Cherurbino (talk) 18:09, 26 September 2021 (UTC)
Account exists but error message says it is not registered
See MediaWiki talk:Gadget-UserMessages.js#Bug: Cannot read properties of undefined. Yann (talk) 20:12, 27 September 2021 (UTC)
- Responded there. 4nn1l2 (talk) 20:49, 27 September 2021 (UTC)
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
- iOS 15 has a new function called Private Relay (Apple website). This can hide the user's IP when they use Safari browser. This is like using a VPN in that we see another IP address instead. It is opt-in and only for those who pay extra for iCloud. It will come to Safari users on OSX later. There is a technical discussion about what this means for the Wikimedia wikis.
Problems
- Some gadgets and user-scripts add items to the portlets (article tools) part of the skin. A recent change to the HTML may have made those links a different font-size. This can be fixed by adding the CSS class
.vector-menu-dropdown-noicon
. [15]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 28 September. It will be on non-Wikipedia wikis and some Wikipedias from 29 September. It will be on all wikis from 30 September (calendar).
- The GettingStarted extension was built in 2013, and provides an onboarding process for new account holders in a few versions of Wikipedia. However, the recently developed Growth features provide a better onboarding experience. Since the vast majority of Wikipedias now have access to the Growth features, GettingStarted will be deactivated starting on 4 October. [16]
- A small number of users will not be able to connect to the Wikimedia wikis after 30 September. This is because an old root certificate will no longer work. They will also have problems with many other websites. Users who have updated their software in the last five years are unlikely to have problems. Users in Europe, Africa and Asia are less likely to have immediate problems even if their software is too old. You can read more.
- You can receive notifications when someone leaves a comment on user talk page or mentions you in a talk page comment. Clicking the notification link will now bring you to the comment and highlight it. Previously, doing so brought you to the top of the section that contained the comment. You can find more information in T282029.
Future changes
- The Reply tool will be deployed to the remaining wikis in the coming weeks. It is currently part of "Discussion tools" in Beta features at most wikis. You will be able to turn it off in Editing Preferences. See the list of wikis. [17]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
22:19, 27 September 2021 (UTC)
Seeing IP ranges
I know that at the English-language Wikipedia one can view all edits from a range of IP addresses, is this also possible at the Wikimedia Commons? --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 17:34, 27 September 2021 (UTC)
- @Donald Trung: On the English Wikipedia, there are two ways to do this. MediaWiki natively supports CIDR ranges like Special:Contributions/127.0.0.1/16—this works on any wiki (including Commons, as well as smaller wikis), and lists edits in strictly chronological order. There’s also a gadget (talk page), which happens to be available on Commons (with the name Allow /16,/24-/32 CIDR ranges on Special:Contributions forms (uses API), as well as wildcard Prefix searches, e.g.: Splark* [talk] ), but most wikis probably won’t have it; this groups edits by IP address. —Tacsipacsi (talk) 20:46, 28 September 2021 (UTC)
Compressed pattern matching tools on gzip or lzma
commonswiki-20210920-all-titles.gz is 900MB. I found FCPM but this doesn't support gzip. Are there tools that support gzip, lzma or any common file type? Crowley666 (talk) 10:06, 26 September 2021 (UTC)
- @Crowley666: I'm not sure if this is quite what you're looking for, but zgrep from GNU Gzip can search through gzipped files without decompressing them and xzgrep/lzgrep from XZ Utils can do the same for XZ and LZMA compressed files. clpo13(talk) 21:28, 18 October 2021 (UTC)