| Framawiki updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
# if summary is defined (`if 'summary' in kwargs`), use this value as a suffix of `kwargs['summary']` value in `WikidataBot.user_edit_entity()`
The `kwargs['summary']` value should look after processing like `my very informative edit summary ([[:toollabs:editgroups/b/CB/89ead4fe|details]])`, where the `my very informative edit summary` part is the old `kwargs['summary']`, and `([[:toollabs:editgroups/b/CB/89ead4fe|details]])` the suffix added with the random string in it. Note that the `[[ ]]` will create a like to an external tool.
This should add the prefix in the summary of item creation and claim addition. More work will be needed for adding it to qualifier and reference edits (will wait for T112577), out of scope for now).
See the "For custom bots" section of https://www.wikidata.org/wiki/Wikidata:Edit_groups/Adding_a_tool.
...
# generate a random alphanumerical 6hexadecimal 10 char string at its initialization (in `__init__`)# if summary is defined (`if 'summary' in kwargs`), use this value as a suffix of `kwargs['summary']` value in `WikidataBot.user_edit_entity()`
The `kwargs['summary']` value should look after processing like `my very informative edit summary ([[:toollabs:editgroups/b/CB/89ead4fe|details]])`, where the `my very informative edit summary` part is the old `kwargs['summary']`, and `([[:toollabs:editgroups/b/CB/89ead4fe|details]])` the suffix added with the random string in it. Note that the `[[ ]]` will create a like to an external tool.
This should add the prefix in the summary of item creation and claim addition. More work will be needed for adding it to qualifier and reference edits (will wait for T112577), out of scope for now).
See the "For custom bots" section of https://www.wikidata.org/wiki/Wikidata:Edit_groups/Adding_a_tool.
TASK DETAIL
EMAIL PREFERENCES
To: Framawiki
Cc: jayvdb, Framawiki, Aklapper, pywikibot-bugs-list, Bugreporter, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, Ricordisamoa, Dalba, Masti, Alchimista, Rxy
Cc: jayvdb, Framawiki, Aklapper, pywikibot-bugs-list, Bugreporter, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, Ricordisamoa, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
