The global bot wikiset is now an opt-out one and lists wikis
that do NOT allow global bots, while previously it used to be
an opt in wikiset, including wikis that DO allow global bots.
Because of that change, no manual changes of the wikiset
should be required, and stewards do not need to change the global bots
wikiset in any way.
CodeReviewBot is intended for use with GitLab-Phabricator integrations.
Has a generic name in case we want to use it with tools other than GitLab
at any point.
For https://phabricator.wikimedia.org/T330923
Bug: T330923
# Subject: summary of your change
# * "If applied, this commit will..."
# * Imperative mood: Change/Add/Fix/Remove/Update/Refactor/Document
# * Optionally, prefix with subject / component (general area modified)
# * https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines#Subject
# Body:
# * Why? What's wrong with status quo? Are there other ways?
# * How to test/confirm?
# * https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines#Body
# Bug: TXXXXXX
#
# Other fields:
# ~/code/bpb-kit/home/cheatsheets/git-meta.txt
On advice of CVN staff, and given that they're now using Phabricator to track their work, make the bot tag the post-creation Task with the CVN project instead of telling people to go to Meta and post to their talk page.
Tweaks re Stewards Noticeboard for Bot Policy activation.
See <https://meta.wikimedia.org/w/index.php?oldid=24449416#Global_bots>. BP is automatically enabled on all content wikis by default so there's no need to propose its implementation. Rather, we need to notify them that we've added the wiki to the wikiset and if they wish to opt-out, they shall have a local discussion and let us know.
Change the gerrit_patch_id regexp from
r'https://gerrit(?:-test|)\.wikimedia\.org/r/.*(\d+)(?:$|\]\])'
to
r'https://gerrit(?:-test|)\.wikimedia\.org/r/(\d+)(?:$|\]\])'
The .* in the old regexp was collecting most of the digits expected to
be matched by the (\d+). For example if the input was
https://gerrit.wikimedia.org/r/875932, the collected digits would just
be "2".
This script hasn't been working as expected lately, search indices are
not being created for the new wikis. Adding a bit to the command to
log the output into a file so it can be reviewed for errors
post-creation.
WikidataPageBanner is a Wikivoyage extension that isn’t maintained by
the Wikidata team; I don’t think it makes sense to automatically add
Wikidata to all its tasks (e.g. T323376).