Wikidata:Requests for permissions/Bot/LimaMarioBot
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Approved--Ymblanter (talk) 20:05, 28 January 2020 (UTC)[reply]
LimaMarioBot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: LimaMario (talk • contribs • logs)
Task/s: Adding a newly created property Polish Nationwide Railway Database - station ID (P7838) to railway station (Q55488). Adding a property bazakolejowa.pl railway line ID (P5931) to railway line (Q728937).
Code:
Function details:
- Get list of Wikipedia articles Try it!
SELECT ?item ?article WHERE { ?item wdt:P31 wd:Q55488 ; wdt:P17 wd:Q36 . ?article schema:about ?item ; schema:isPartOf <https://pl.wikipedia.org/> . }
- Grep for {{Bazakolejowa.pl}} template in Wikipedia article and extract ID of railway station in http://bazakolejowa.pl
- Set Polish Nationwide Railway Database - station ID (P7838) property in Wikidata item
--LimaMario (talk) 11:10, 16 January 2020 (UTC)[reply]
- Please make some test edits--Ymblanter (talk) 20:39, 17 January 2020 (UTC)[reply]
@Ymblanter: I made following test edits:
- Special:Diff/1104335639 – Wikidata Sandbox (Q4115189)
- Special:Diff/1104371995 – Wikidata Sandbox (Q4115189)
- Special:Diff/1104382605 – Warszawa Jeziorki railway station (Q1818336)
- Special:Diff/1104384102 – Warszawa Wola Grzybowska railway station (Q1851369)
- Special:Diff/1104384425 – Warszawa Olszynka Grochowska (Q1860387)
- Special:Diff/1104384746 – Warszawa Wesoła railway station (Q2011809)
- Special:Diff/1104385899 – Warszawa Gocławek (Q2135048)
- Special:Diff/1104386790 – Warszawa Dawidy railway station (Q2149548)
- Special:Diff/1104387702 – Warszawa Reduta Ordona railway station (Q2170451)
- Special:Diff/1104388615 – Warszawa Ursus Północny railway station (Q2199795)
- Special:Diff/1104389551 – Warszawa Anin railway station (Q2267292)
- Special:Diff/1104390286 – Warszawa Zachodnia WKD (Q2328552)
- Special:Diff/1104391074 – Warszawa Wawer railway station (Q2395768)
- Special:Diff/1104391885 – Warszawa Toruńska railway station (Q2517452)
- Special:Diff/1104394612 – Warszawa Rembertów railway station (Q2594587)
- Special:Diff/1104395244 – Warszawa Aleje Jerozolimskie railway station (Q2682084)
- Special:Diff/1104396019 – Warszawa Aleje Jerozolimskie railway station (Q2682084)
- Special:Diff/1104396704 – Warszawa Salomea (Q2711620)
- Special:Diff/1104397394 – Warszawa Śródmieście WKD railway station (Q2755236)
- Special:Diff/1104398159 – Warszawa Wileńska station (Q2772800)
- Special:Diff/1104398951 – Warszawa Choszczówka railway station (Q2785363)
- Special:Diff/1104399744 – Warszawa Wschodnia Osobowa railway station (Q3270196)
- Special:Diff/1104400510 – Warszawa Powiśle railway station (Q3276715)
- Special:Diff/1104401261 – Warszawa Służewiec railway station (Q3486931)
- Special:Diff/1104402064 – Warszawa Włochy railway station (Q4399801)
- Special:Diff/1104402831 – Warszawa Gołąbki railway station (Q4527467)
- Special:Diff/1104403553 – Warszawa Most (Q60862398)
- Special:Diff/1104405298 – Warszawa Okęcie railway station (Q640443)
- Special:Diff/1104405955 – Warszawa Rakowiec railway station (Q644695)
- Special:Diff/1104406633 – Warszawa Płudy railway station (Q7970967)
- Special:Diff/1104409567 – Warszawa Ursus railway station (Q7970968)
- Special:Diff/1104409999 – Warszawa Żwirki i Wigury railway station (Q7970972)
- Special:Diff/1104410500 – Warszawa Raków (Q9371142)
- Special:Diff/1104411026 – Warszawa Wileńska Marki railway station (Q9371147)
- Special:Diff/1104411594 – Q9371151
- Special:Diff/1104412151 – Warszawa Zacisze Wilno (Q9371153)
- Special:Diff/1104412826 – Warszawa Międzylesie railway station (Q952849)
LimaMario (talk) 22:05, 26 January 2020 (UTC)[reply]