Wikidata:Requests for permissions/Bot/DæghrefnBot: Difference between revisions

From Wikidata
Jump to navigation Jump to search
Content deleted Content added
Orlodrim (talk | contribs)
suggestion
Line 25: Line 25:
--[[User:Dereckson|Dereckson]] ([[User talk:Dereckson|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 05:01, 9 November 2014 (UTC)
--[[User:Dereckson|Dereckson]] ([[User talk:Dereckson|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 05:01, 9 November 2014 (UTC)
:Maybe the bot could say who triggered the edit in the edit summary? [[User:Orlodrim|Orlodrim]] ([[User talk:Orlodrim|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 18:11, 11 November 2014 (UTC)
:Maybe the bot could say who triggered the edit in the edit summary? [[User:Orlodrim|Orlodrim]] ([[User talk:Orlodrim|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 18:11, 11 November 2014 (UTC)
::You generally can say that by the first editor of the item as there is some compulsive need to document the etymology or similar names. But well, this is more true for given names and less true with family names, so yup it could be a good idea.
::If you wish to contribute this part of the code, the relevant data in TCL is $handle, and the best way in Python seems to add a variable --requester $handle, and handles it with argparse. --[[User:Dereckson|Dereckson]] ([[User talk:Dereckson|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 20:43, 11 November 2014 (UTC)

Revision as of 20:43, 11 November 2014

DæghrefnBot (talkcontribsnew itemsnew lexemesSULBlock logUser rights logUser rightsxtools)
Operator: Dereckson (talkcontribslogs)

Tasks: create at human request a given name / surname / publisher item

Code: Python scripts (depends of Pywikibot) and called by Daeghrefn/Wikimedia.tcl

Function details: Allows trusted #wikidata-fr users to create surnames, given names and publisher items. The goal is to organize edit-a-thon to fix the book without authors items or offer a convenient support method.

15:35 <+Ash Crow> .+givenname Soizic F
15:35 < Daeghrefn> Q18421123

It has been tested successfully these last weeks first on a private Wikidata instance, then here and items are created at our satisfaction. A better localization will soon allow to fill labels in more languages.

Note — scope: this is a human-triggered item bot, perfoming a creation task on the behalf of an human, not an automated bot.

Note — security: Dæghrefn can't be triggered by anyone visiting the IRC channel to prevent a vector of flood attacks. The person must has an account on the bot, and be granted the permission to use the command.

--Dereckson (talk) 05:01, 9 November 2014 (UTC)[reply]

Maybe the bot could say who triggered the edit in the edit summary? Orlodrim (talk) 18:11, 11 November 2014 (UTC)[reply]
You generally can say that by the first editor of the item as there is some compulsive need to document the etymology or similar names. But well, this is more true for given names and less true with family names, so yup it could be a good idea.
If you wish to contribute this part of the code, the relevant data in TCL is $handle, and the best way in Python seems to add a variable --requester $handle, and handles it with argparse. --Dereckson (talk) 20:43, 11 November 2014 (UTC)[reply]