magnusmanske / petscan_rs

The repo for the PetScan tool
https://petscan.wmflabs.org/
GNU General Public License v3.0
44 stars 10 forks source link

no result frwiki category + use none items/props cross-section #164

Closed SimonVilleneuvewp closed 4 months ago

SimonVilleneuvewp commented 5 months ago

Hi,

The query #28077834 give more than 8000 results, but the #28077844 give no result. There should be at least https://www.wikidata.org/wiki/Q76147584 , who is in the first but not in the second query. Is it bad doctor ?

M2k-dewiki commented 5 months ago

Hello, please also see

M2k-dewiki commented 5 months ago

Maybe this is releated to the last commit two weeks ago (since it still worked about two weeks ago)? https://github.com/magnusmanske/petscan_rs/commit/8c8cc1ca490fdd969e86d8ef9d92f16bfb5fc9f8


The affected HTML form parameter is wikidata_prop_item_use

belegdal commented 5 months ago

Query #27401267 is also affected by this issue; most of the returned results do not include the items/props required by the query.

hgzh commented 4 months ago

I've added comments to the lines in 8c8cc1c that should cause some malfunctions.

M2k-dewiki commented 4 months ago

Also see

magnusmanske commented 4 months ago

Applied fixes, please close this issue if it's fixed now!

SimonVilleneuvewp commented 4 months ago

it's better. I now have 2 results instead of 0 for #28077844 , but Q76147584 isn't in.

M2k-dewiki commented 4 months ago

Vielen Dank funktioniert bei mir allerdings leider noch nicht. Beispielsweise sollte https://petscan.wmflabs.org/?psid=28297821 eine Liste von verstorbenen Personen ohne Sterbedatum im Wikidata-Objekt liefern, normalerweise sind das ein paar tausend Einträge. Weitere Beispiele sind unter https://www.wikidata.org/wiki/User:M2k~dewiki/Tools/Enrich_Objects#Beruf_/_Tätigkeit zu finden.

M2k-dewiki commented 4 months ago

Hello, today it worked for me again!

Thanks a lot!

SimonVilleneuvewp commented 4 months ago

seems good for me too

SimonVilleneuvewp commented 4 months ago

thank you