Open main menu

User talk:Magnus Manske

About this board

Previous discussion was archived at User talk:Magnus Manske/Archive 9 on 2015-08-10.

Hjfocs (talkcontribs)

Hey Magnus,

the soweego team would like to upload medium-confidence matches to MnM for curation. Do you have any suggestion on the best way to do so? You can have a look at the e-mails I sent you for more details.

Cheers

Reply to "soweego & MnM"
Epìdosis (talkcontribs)

Hi! I've just had a strange problem with the Mix'n'match catalogue of Isidore ID (P4491): in three cases (1, 2, 3) the values I matched didn't exist in the site; in cases 2 and 3 the values violated also the format constraint. Maybe the catalogue needs to be reimported? Thank you very much as always!

Epìdosis (talkcontribs)

Would it be possible to turn off temporarily the catalog in order to prevent users from adding inexistent IDs? Thank you!

Magnus Manske (talkcontribs)

I have deactivated the catalog. I tried to scrape a new one via their API, but it keeps failing on details they change. On the list.

Reply to "Problem with ISIDORE"
Multichill (talkcontribs)

Hi Magnus, Inaturalist has quite a few nice freely licensed images and they have an api. User:Kaldari is also poking around with it (see ). Can you add it to your fist and wdfist tools?

Reply to "Inaturalist and FIST"
Xiplus (talkcontribs)
Xiplus (talkcontribs)
Reply to "Notice"

Update Database of Classical Scholars

2
Epìdosis (talkcontribs)

Hi! Database of Classical Scholars ID (P1935) some months ago changed its IDs from simple numbers to numbers+string; all the IDs on Wikidata have just been updated by bot. Could you either update or delete the old Mix'n'match catalogue containing the old numeric IDs, in order to prevent someone from readding obsolete IDs? Thank you very much!

Magnus Manske (talkcontribs)

Done. Auto-scraper also updated, in case they add more.

78.55.60.251 (talkcontribs)
Relic Keeper (talkcontribs)

Sorry to bother you, but could you please make a scraper for Property:P5456? I tried to import the dishes and ingredient catalogs at www.tasteatlas.com/sitemap but I don't know much about regular expressions. Even with some tutorials I couldn't do it.

Thank you.

Relic Keeper (talkcontribs)

Hello? Can anyone help me, please? It is possible to import the Tasteatlas databases to M'n'M?

Thank you, again.

Magnus Manske (talkcontribs)

I can't find a reasonable way to scape the site, sorry.

Adding invalid ID to wrong item (type violation) while beacon for valid IDs exists

2
78.55.60.251 (talkcontribs)

https://www.wikidata.org/w/index.php?title=Q21494130&diff=930922054&oldid=869509255 - 2019-05-02 - the item has the wrong type, namely family name, but the source is about family. It is a type violation (which the bot could detect?).


Furthermore the ID is deprecated since at least 2019-04-24 . Would be helpful if you would go and remove all outdated IDs from catalog 177, the list of valid IDs is at https://bbld.de/beacon.all.txt


Keeping invalid IDs means risking that tools add these again and again from the catalog. The beacon should be easy to parse for any bot.

78.55.60.251 (talkcontribs)

There are now 6045 IDs, ~2200 based on ISNI, ~1400 on GND.

Reply to "Adding invalid ID to wrong item (type violation) while beacon for valid IDs exists"

QuickStatement doesn't seems to support amount[lower,upper] syntax

2
Ghuron (talkcontribs)

None of examples provided in Help:QuickStatements#Add_simple_statement seems to work except for 1.2~0.3 (which doesn't work very well because of fp errors). I also cannot find corresponding code in quickstatements.php either. It should be quite trivial to implement, do you want me to submit patch?

Ghuron (talkcontribs)

Something like

                if ( preg_match ( '/^([\+\-]{0,1}\d+(\.\d+){0,1})\[([\+\-]{0,1}\d+(\.\d+){0,1}),([\+\-]{0,1}\d+(\.\d+){0,1})\](U(\d+)){0,1}$/' , $v , $m ) ) { // Quantity with bounds
                        if ( count($m) == 7 )
                                if ( 1*$m[3] < 1*$m[1] && 1*$m[1] < $m[5] ) {
                                        $cmd['datavalue'] = array ( "type"=>"quantity" , "value"=>array(
                                                "amount" => $m[1],
                                                "upperBound" => $m[5],
                                                "lowerBound" => $m[3] ,
                                        "unit" => isset( $m[6] ) ? "http://www.wikidata.org/entity/Q{$m[6]}" : "1"
                                        ) ) ;
                                        return true ;
                                }
                }
Reply to "QuickStatement doesn't seems to support amount[lower,upper] syntax"

Rheinland-Pfälzische Personendatenbank

9
Kolja21 (talkcontribs)
Magnus Manske (talkcontribs)

Der Mix'n'match-Katalog für RPPD enthält anscheinend einige falsche ID-Zuordnungen. Viele sind aber korrekt. Keine Ahnung, warum. Ich habe den Katalog (1657) mal abgeschaltet, bis ich da Klarheit habe. Die Suche in der Quelle ist scheinbar kaputt/zu langsam, um das nochmal zu scrapen. Kennst Du da vielleicht einen Download für?

Magnus Manske (talkcontribs)

RPPD soll >11K Einträge beinhalten, aber das URL-Schema "pkdXXXX" funktioniert über 9999 nicht. Gibt's da noch andere Prefixes? Ich kann die alle enumerieren, dann brauche ich die Suche nicht... Aber die "Zitierlinks" leiten alle auf die "hässlichen" weiter; sind die "hässlichen" IDs also stabil, aber die Zitierlinks nicht?

Kolja21 (talkcontribs)

Hallo Magnus, de:Benutzer:Plrlb müsste auf diese Fragen eine Antwort wissen. Er hat die Vorlage erstellt. Dort steht als Gebrauchsanleitung für die ID: "... Die Nummer steht in Namensartikeln beim angegebenen Zitierlink und ist durch Bindestriche eingegrenzt. Letztere sollen mit angegeben werden."

Kolja21 (talkcontribs)

Ich hasse diesen Editor ;) Den Link auf deWP: Vorlage:RPPD Vw speichert er nicht ab.

Plrlb (talkcontribs)

Hallo Magnus, ich verstehe ehrlich gesagt nicht so ganz, was Du vorhast. Du mußt die ID-Nr. der RPPD in die Vorlage "{{RPPD Vw|nr=-....-}}" eintragen. Die mußt Du in der RPPD nachschlagen, die kannst Du nicht erschließen. Wenn Du z.B. diesen Zitierlink hast: http://www.rppd-rlp.de/pk00762 (steht im Artikel fast ganz unten), muß der Link in Wikipedia heißen:

{{RPPD Vw|nr=-pk00762-}}

Welcher Link fkt. denn nicht?

Magnus Manske (talkcontribs)

Hi Plrlb, nix mit Vorlagen! Ich möchte eine Liste aller ~11K RPPD-Personen haben, mit zugehöriger ID und URL. Dann kann ich in Mix'n'match einen Katalog (~Liste) anlegen, und alle Personen mit Wikidata abgleichen. Gibt's irgendwo eine komplette Liste zum Runterladen? Normalerweise benutze ich für so was die Suche auf der Webseite, aber die scheint bei RPPD nicht so gut zu funktionieren (Suche nach "*").

Und ist die offizielle ID "pk00762"? Oder "00762"? Oder "0000657" (die ID, auf welche weitergeleitet wird, als "recnums=")?

Plrlb (talkcontribs)

Die offizielle ID ist "pk00762". Schreib mir eine Mail an pl.rlb@lbz-rlp.de, dann schicke ich Dir so eine Liste. Daß "*" nicht fkt., ist Absicht.

Magnus Manske (talkcontribs)
Return to the user page of "Magnus Manske".