Wikidata:Requests for permissions/Bot/MBAreaBot 3
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 Legoktm (talk) 20:20, 20 June 2013 (UTC)[reply]
MBAreaBot 3 edit
MBAreaBot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools) 3
Operator: Nikki (talk • contribs • logs)
Task/s: Set P132 (type of administrative division) and P131 (is in the administrative unit) for Japanese settlements.
Function details: It will fetch pages using Template:Infobox_city_Japan on the English Wikipedia and (if they're not already set) use pywikibot to,
- set P107 (main type (GND)) to Q618123 (geographical feature)
- set P17 (country) to Q17 (Japan)
- set P132 (type of administrative division), using the "settlement_type" value from the template, to one of Q494721 (city of Japan), Q1059478 (town of Japan), Q4174776 (village of Japan), Q137773 (ward of Japan), Q1122846 (district of Japan), Q1145012 (special city of Japan), Q1137833 (core city of Japan), Q1749269 (city designated by government ordinance) or Q308891 (special ward of Tokyo)
- set P131 (is in the administrative unit) using the "district" (if available) or "prefecture" value from the template.
--Nikki (talk) 06:17, 9 June 2013 (UTC)[reply]