ꯁꯤꯖꯤꯟꯅꯔꯤꯕ:CampWiz Bot
This user account is a bot that uses Python, operated by Nokib Sarkar. It is not a sock puppet, but rather an automated or semi-automated account for making repetitive edits that would be extremely tedious to do manually.
Administrators: if this bot is malfunctioning or causing harm, please block it. |
This bot runs on Wikimedia Toolforge. It runs on the campwiz-bot tool account (recent jobs). Administrators: If this bot needs to be blocked, please remember to disable autoblocks so that other WMF Toolforge bots are not affected. |
Emergency bot shutoff button
Administrators: Use this button if the bot is malfunctioning (direct link)Functions
Introduction
This bot is a part of the tool CampWiz which assists organizers of various edit-a-thon to host, manage campaign, evaluate submissions, publish results (As of now, about 30 campaigns are hosted and 500+ articles were submitted through this tool). One of its sibling tool helps organizers to generate a list of articles which are not present on their wiki based on topic (As of now, 233636+articles in 150+ lists were harvested). One of our main targets was to reduce the security issue and liability along with privacy issue. As such, this tool uses a single bot account to interact with mediawiki which eliminates the need of storing the user's access token on the server.
Functions
As of now, the bot would perform the following tasks. In order to prevent spamming, all the edits on user talk pages would be done by batch hourly, rather than immediately.
- trackingTemplate: This bot would add a template (configured by the campaign organizers) on the talk page of an article if it does not already exist, whenever that article is submitted into a campaign.
- notifyEvaluation: This bot would add a message on submitter's talk page if any of his submissions get any evaluation by the judge (including any note that judge left).
- notifyNewSubmission (opt-in only): This bot would add a message containing new submission that were added on the talk page of the user who volunterily consented to have updates.
- notifyStatistics (opt-in only): This bot would periodically give statistics update about the campaign the user opted-in.
All the templates that the bot uses should be localized too. These are:
Required Templates
- trackingTemplate: This task require (arbitrary but configured) the template that would add on the talk page of the submitted article. Please see that the template would receive the following named parameters:
article
: The name of the article submitted by the usersubmitted_at
by
campaign_id
submission_id
For example, if a Test Article was submitted by X at example time with submission ID y on the campaign ID z, the bot would add:
{{<Your template name> |article=Test Article |submitter=X |submitted_at=example time |submission_id=y |campaign_id=z }}
- notifyEvaluation: This task required three templates to work properly.
{{subst:User:CampWiz Bot/Templates/Article Evaluated}}
: This template would be substituted on the user talk page of the submission and should indicate that his/her submission got one or many evaluations by one or many judges. This template would notify about multiple submissions at once, therefore, should be adapted the wordings. It would be called with two parameters :|campaign_id
|evaluations
: A bulleted list of evaluations
- For example,
{{subst:User:CampWiz Bot/Templates/Article Evaluated |campaign_id=<Campaign ID on campwiz> |submissions=<List of submissions> }}
Template Lists