Wikidata:Requests for permissions/Bot/Njzjzbot
- 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) 19:22, 28 April 2021 (UTC)[reply]
Njzjzbot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Njzjz (talk • contribs • logs)
Task/s: One-time task: Import 17434 Chinese law items from an official database.
Code: one-time pywikibot task so will not be open-source.
Function details: Import 17434 Chinese law items from an official database, including these properties: instance of (P31), legislated by (P467), inception (P571), effective date (P7588), first line (P1922), last line (P3132). Note that some of them have already been created. Some of these items have already linked to Wikipedia, Wikisource (3000 yet and will increase in the future), and Commons (8233 files, using document file on Wikimedia Commons (P996)), and these properties will be used in these projects. Also, country (P17) and copyright status (P6216) can be added. The ID property of the database is still a proposal. The value of legislated by (P467) will also be created if there is no existing items. @Ymblanter, Edoderoo: --Njzjz (talk) 07:34, 18 April 2021 (UTC)[reply]
- If the items will get properties, it's fine with me. It would have helped to give the newly created items properies immediately, and preferably a source too. Notability will be gotten from these sources or links to other items, after all. Edoderoo (talk) 07:42, 18 April 2021 (UTC)[reply]
- Support Maybe you can fill the properties for one or two example items first so we can have a better idea of the task. --Stevenliuyi (talk) 08:24, 18 April 2021 (UTC)[reply]
- The target of items should be like Heroes and Martyrs Protection Law of the People's Republic of China (Q54858811). Njzjz (talk) 20:02, 18 April 2021 (UTC)[reply]
- Looks good to me. Can you also give an example when there is no existing item for the corresponding legislature and how the new item will look like? --Stevenliuyi (talk) 21:53, 18 April 2021 (UTC)[reply]
- I can let most of items something like Q106029969. Njzjz (talk) 22:44, 18 April 2021 (UTC)[reply]
- Looks good to me. Can you also give an example when there is no existing item for the corresponding legislature and how the new item will look like? --Stevenliuyi (talk) 21:53, 18 April 2021 (UTC)[reply]
- The target of items should be like Heroes and Martyrs Protection Law of the People's Republic of China (Q54858811). Njzjz (talk) 20:02, 18 April 2021 (UTC)[reply]
- After deblock, please do a test run and create 50-250 items in production quality, including labels, descriptions and some statements. --- Jura 10:22, 18 April 2021 (UTC)[reply]
Strong opposegiven the absence of a production quality test run that could be reviewed. --- Jura 10:22, 18 April 2021 (UTC)[reply]- Has been done since. --- Jura 15:48, 25 April 2021 (UTC)[reply]
- I'm concerned making a ton of blank pages without a bot flag suggests an inexperience with wikidata that would make me hesitant to approve a bot. Can you explain why you did it? BrokenSegue (talk) 16:10, 18 April 2021 (UTC)[reply]
- They are not blank pages, but have Chinese labels — I know they may be invisible to who don’t use Chinese. I have recorded these items and planned to add more information in the future. Njzjz (talk) 18:55, 18 April 2021 (UTC)[reply]
- yeah I saw the labels. I would still consider an item with no statements as blank. it has no structured information just a human readable tag. BrokenSegue (talk) 22:42, 18 April 2021 (UTC)[reply]
- I can understand what you are considering, and I will add statements for these items or just after a item is created. Njzjz (talk) 22:47, 18 April 2021 (UTC)[reply]
- I know that you planned to create all the items first and then add statements to them later. However, when other people see items without statements, they might be worried and wondering if the items will be left forever without statements since they may not know your plan. So next time when creating items, it's better if you can add statements together or shortly after creating items. --Stevenliuyi (talk) 23:57, 18 April 2021 (UTC)[reply]
- Ok. Njzjz (talk) 01:17, 19 April 2021 (UTC)[reply]
- I know that you planned to create all the items first and then add statements to them later. However, when other people see items without statements, they might be worried and wondering if the items will be left forever without statements since they may not know your plan. So next time when creating items, it's better if you can add statements together or shortly after creating items. --Stevenliuyi (talk) 23:57, 18 April 2021 (UTC)[reply]
- I can understand what you are considering, and I will add statements for these items or just after a item is created. Njzjz (talk) 22:47, 18 April 2021 (UTC)[reply]
- yeah I saw the labels. I would still consider an item with no statements as blank. it has no structured information just a human readable tag. BrokenSegue (talk) 22:42, 18 April 2021 (UTC)[reply]
- Are you ready to complete some of the existing items (up to 250) as a test? If so, @Ymblanter: can deblock you. --- Jura 10:37, 23 April 2021 (UTC)[reply]
- I now unblocked the bot.--Ymblanter (talk) 10:56, 23 April 2021 (UTC)[reply]
- Done tests for 250 items. Njzjz (talk) 05:53, 24 April 2021 (UTC)[reply]
- Great! However, I just noticed that both publication date (P577) and effective date (P7588) on Product quality law of the People's Republic of China (Q18834805) are Dec 29, 2018, while the law was first passed in 1993. I'm just wondering should we move those statements to the specific version (i.e. the 2018 version Q61662438)? Besides, it also seems to me that some other properties such as document file on Wikimedia Commons (P996), first line (P1922), last line (P3132) are also version dependent. For instance, File:中华人民共和国产品质量法.pdf is the 2009 version Q27030832. Any thoughts? --Stevenliuyi (talk) 06:25, 24 April 2021 (UTC)[reply]
- Indeed National Database of Laws and Regulations ID (P9457) is also version dependent. I can move first line (P1922), last line (P3132), publication date (P577), and effective date (P7588) to the exact version item if a version exists on Wikisource. However, document file on Wikimedia Commons (P996) cannot be done by bots easily so may need a manual work. Is there some rules about these things? For example, should we copy everything from the original item to a version item? Njzjz (talk) 06:47, 24 April 2021 (UTC)[reply]
- It seems Wikidata:WikiProject Law doesn't address version items. EthanRobertLee Iwan.Aucamp Wallacegromit1 (talk) 08:30, 18 July 2020 (UTC), focus on historical and international law/legislation[reply]Notified participants of WikiProject Law for more inputs. Wikidata:WikiProject Books lists properties for editions of books, and specifically says document file on Wikimedia Commons (P996) should only used for editions, so I think the same applies here. Perhaps for now we can keep it in the main items and deprecate the statements with a specific Wikibase reason for deprecated rank (Q27949697), so later people can help move them to the version items manually. --Stevenliuyi (talk) 20:38, 24 April 2021 (UTC)[reply]
Belteshassar Popperipopp Ainali Lore.Mazza34 Yupik El Dubs c960657 Maxime Cavernia Copystar- Not all jurisdictions have versions, I guess that is partly why it hasn't been addressed yet. In general this looks great if we move the suggested properties above to the versions. Ainali (talk) 21:10, 24 April 2021 (UTC)[reply]
- Done for these 250 items. Njzjz (talk) 15:14, 25 April 2021 (UTC)[reply]
- Not all jurisdictions have versions, I guess that is partly why it hasn't been addressed yet. In general this looks great if we move the suggested properties above to the versions. Ainali (talk) 21:10, 24 April 2021 (UTC)[reply]
- It seems Wikidata:WikiProject Law doesn't address version items.
- Indeed National Database of Laws and Regulations ID (P9457) is also version dependent. I can move first line (P1922), last line (P3132), publication date (P577), and effective date (P7588) to the exact version item if a version exists on Wikisource. However, document file on Wikimedia Commons (P996) cannot be done by bots easily so may need a manual work. Is there some rules about these things? For example, should we copy everything from the original item to a version item? Njzjz (talk) 06:47, 24 April 2021 (UTC)[reply]
- Great! However, I just noticed that both publication date (P577) and effective date (P7588) on Product quality law of the People's Republic of China (Q18834805) are Dec 29, 2018, while the law was first passed in 1993. I'm just wondering should we move those statements to the specific version (i.e. the 2018 version Q61662438)? Besides, it also seems to me that some other properties such as document file on Wikimedia Commons (P996), first line (P1922), last line (P3132) are also version dependent. For instance, File:中华人民共和国产品质量法.pdf is the 2009 version Q27030832. Any thoughts? --Stevenliuyi (talk) 06:25, 24 April 2021 (UTC)[reply]
- Done tests for 250 items. Njzjz (talk) 05:53, 24 April 2021 (UTC)[reply]
- I now unblocked the bot.--Ymblanter (talk) 10:56, 23 April 2021 (UTC)[reply]
- They are not blank pages, but have Chinese labels — I know they may be invisible to who don’t use Chinese. I have recorded these items and planned to add more information in the future. Njzjz (talk) 18:55, 18 April 2021 (UTC)[reply]
- After the test edits I withdraw my concern but I don't have domain expertise to know if it's doing the right thing here. BrokenSegue (talk) 01:13, 25 April 2021 (UTC)[reply]
- Support with the latest modifications (moving some properties to the appropriate version) I am now happy to support this. Ainali (talk) 07:08, 26 April 2021 (UTC)[reply]
- I will approve the bot in a couple of days provided no objections have been raised.--Ymblanter (talk) 18:49, 26 April 2021 (UTC)[reply]