Jump to content

Wikipedia talk:PetScan

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

"No result for source categories"

[edit]

When using PetScan, I will intermittently get the error No result for source categories. There doesn't seem to be anything I can do to control this (at least, that I'm aware of) - sometimes a query will work, and sometimes it won't. I just wanted to check if this was a known/reported issue. (pinging Magnus Manske)

All the best, ‍—‍a smart kitten[meow] 12:52, 10 January 2024 (UTC)[reply]

A similar problem was reported above. Certes (talk) 13:49, 10 January 2024 (UTC)[reply]
Are you following an old link to a pre-filled PetScan query? A bug, now fixed, put the spurious text "®exp_filter" into a random(?) field on one of the tabs. Blanking that field may solve the problem. Certes (talk) 13:53, 10 January 2024 (UTC)[reply]
@Certes: I'm not, no - this is happening on newly-created queries. Best, ‍—‍a smart kitten[meow] 13:54, 10 January 2024 (UTC)[reply]
@Certes and meow: Here are some "clues" that seem to make PetScan work better without failing off. 1. At top Tab ↹ forward thru fields to Categories, usually Depth 0 (zero). 2. At Categories, hand-type the cat. as copy/paste seems to often not work. SOmetimes replace those spaces with "underscore" (_). 3. Then "Do it!". 4. If it runs Ok, optional, go back and make Output changes (plain text, sorted, etc) and run again. Bottom-line, while "buggy" maybe these work-arounds can help. Good luck, JoeNMLC (talk) 00:28, 11 January 2024 (UTC)[reply]
When copy-pasting within Wikipedia, I sometimes get unwanted invisible characters such as a zero-width space on my clipboard. I'm not sure where they come from – possibly search results. If typing rather than copy-pasting works, this may not be a PetScan problem. If the text is still on the clipboard, pasting it to somewhere like http://qaz.wtf/u/show.cgi might be instructive. Certes (talk) 09:50, 11 January 2024 (UTC)[reply]
@Certes and meow: More: - Another clue, whenever I launch PetScan without the / after the .org it always runs Ok. Tested on 3 completely different (new) categories with good results. Cheers! JoeNMLC (talk) 01:54, 12 January 2024 (UTC)[reply]
That's weird. Could your browser be auto-filling a field with unhelpful text, perhaps thinking PetScan wants a line of your address or other irrelevant information? You could examine the "Link to a pre-filled form for the query you just ran" and see if it contains any unexpected filters that would limit the search unhelpfully. Certes (talk) 11:21, 12 January 2024 (UTC)[reply]
@Certes - Here's that URL as I'm totally clueless of what to look for. https://petscan.wmflabs.org/?before=&source_combination=&links_to_all=&format=html&manual_list_wiki=&minlinks=&search_max_results=500&cb_labels_any_l=1&categories=Orphaned_articles_from_January_2024&manual_list=&cb_labels_yes_l=1&edits%5Bflagged%5D=both&labels_no=&since_rev0=&smaller=&templates_yes=&output_limit=&project=wikipedia&language=en&show_soft_redirects=both&templates_no=&wpiu=any&edits%5Banons%5D=both&links_to_no=&ores_prediction=any&cb_labels_no_l=1&langs_labels_no=&active_tab=tab_categories&ns%5B0%5D=1&show_disambiguation_pages=both&sitelinks_no=&search_wiki=&langs_labels_any=&sparql=&larger=&langs_labels_yes=&ores_type=any&referrer_url=&edits%5Bbots%5D=both&output_compatability=catscan&interface_language=en&ores_prob_to= It's a plain PetScan, depth-0, cat-Orphaned_articles_from_January_2024 (copy/pasted). So hope this helps. JoeNMLC (talk) 15:51, 12 January 2024 (UTC)[reply]
Nothing there looks suspicious. That URL also produced "No result" for me. I also tried typing "Orphaned articles from January 2024" into a blank PetScan form and still got "No result". Same for 2023, so it's not using an out-of-date cache. Then I messed about with a few things randomly and it started working ... so I went back and tried your version again, without my "improvements", and it works too (718 results). It seems to be an intermittent bug, which is often the hardest sort to fix. Certes (talk) 16:05, 12 January 2024 (UTC)[reply]

PetScan currently down

[edit]

Just leaving a notice here that PetScan currently seems to be down, displaying the error This web service cannot be reached. Please contact a maintainer of this project. This has been reported in the GitHub repo. Best, ‍—‍a smart kitten[meow] 19:40, 26 January 2024 (UTC)[reply]

Greetings @A smart kitten - Thank you for reporting. I use PetScan almost daily & it's frustrating without. I had searched for where to report without any luck. Do you know of any alternate tool like PetScan? (Category filter, etc.) Regards, JoeNMLC (talk) 16:05, 27 January 2024 (UTC)[reply]
@JoeNMLC: I don’t personally know of any, unfortunately (expect for potentially crafting database queries by hand using Quarry). I’m therefore hoping that this is just a temporary issue :) Best, ‍—‍a smart kitten[meow] 16:31, 27 January 2024 (UTC)[reply]
Update @A smart kitten - PetScan up & running again. Cheers! JoeNMLC (talk) 19:45, 27 January 2024 (UTC)[reply]

PetScan timeouts

[edit]

Once a month, I try to run a simple PetScan query- categories=List-Class articles, depth=3, namespace=Talk. The idea that I want a count of all talk pages in a "List" category. This usually takes several dozen tries at minimum to actually return results; this month I'm getting nothing but "Io(Io(Custom { kind: UnexpectedEof, error: "connection closed" }))" as the response. I'm guessing that this is because it returns around 300,000 results, but I don't know. The thing is, I only need the count, not the page details, so is there a better way to run the query that will actually finish? --PresN 15:21, 1 February 2024 (UTC)[reply]

PetScan not working

[edit]

When trying to make any request, I get instead the following error: "Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("wiki.riteme.site")), port: None, path: "/w/api.php", query: Some("meta=siteinfo&action=query&format=json&siprop=general%7Cnamespaces%7Cnamespacealiases%7Clibraries%7Cextensions%7Cstatistics"), fragment: None }, source: hyper::Error(Io, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }) })". Is there any way to fix this? Kostja (talk) 12:40, 2 April 2024 (UTC)[reply]

It works for me on a random query. (I didn't test it earlier.) Certes (talk) 16:29, 2 April 2024 (UTC)[reply]
Works for me, too. I use it about 2x a day, and it hasn't failed for several weeks now. -- Michael Bednarek (talk) 03:29, 3 April 2024 (UTC)[reply]
It started working again after a few hours. Kostja (talk) 06:45, 5 April 2024 (UTC)[reply]

"error sending request for url"

[edit]

When I try to perform any search (for example: this one) I get the following error:

error sending request for url (https://wiki.riteme.site/w/api.php?format=json&action=query&siprop=general%7Cnamespaces%7Cnamespacealiases%7Clibraries%7Cextensions%7Cstatistics&meta=siteinfo)

I'm not sure what's up with this, or if I'm making an obvious error. Is this a known issue? I couldn't find anything in the page history or the github issues.— Moriwen (talk) 17:50, 2 June 2024 (UTC)[reply]

Your link works for me. I didn't do anything clever other than click on it and press "Do it", so you may have seen a transient error. Certes (talk) 20:33, 2 June 2024 (UTC)[reply]

 You are invited to join the discussion at wikitech:News/Cloud VPS 2024 Purge. –Novem Linguae (talk) 15:14, 8 June 2024 (UTC)[reply]

Help creating query

[edit]

I want to get a list of all articles:

The settings I tried don't seem to work. WhatamIdoing (talk) 18:06, 19 June 2024 (UTC)[reply]

I got 168 results when I ran your query. Link. Are you seeing something different? –Novem Linguae (talk) 22:20, 19 June 2024 (UTC)[reply]
Yes, I'm getting 168 results. But if you look at the pages, e.g., the last one, which is Talk:ZAMBART Project, you will see that it is in Category:Society and medicine task force articles. I want a search that excludes Talk:ZAMBART Project and everything else in Category:Society and medicine task force articles. WhatamIdoing (talk) 03:01, 20 June 2024 (UTC)[reply]
PetScan doesn't really handle talk page categories intersecting with mainspace categories. Plantdrew (talk) 03:25, 20 June 2024 (UTC)[reply]
@WhatamIdoing: ...but you can always make two separate PetScan searches: just copy these 164 pages (using the same search query as yours but with "Change to talk page" selected in the "Other sources" tab) to this search's "Manual list" in the "Other sources" tab, and it yields 144 results. --JAAqqO (talk) 16:22, 1 July 2024 (UTC)[reply]

PetScan down

[edit]

Error

This web service cannot be reached. Please contact a maintainer of this project.

Maintainers can find troubleshooting instructions from our documentation on Wikitech.

proxy-03.project-proxy.eqiad1.wikimedia.cloud

Cremastra (uc) 22:34, 24 October 2024 (UTC)[reply]