User:PageHeaderTPB

From Justapedia, unleashing the power of collective wisdom
Jump to navigation Jump to search
Octicons-terminal.svg This user account is a bot. It is not a sock puppet, but rather an automated or semi-automated account for making tedious repetitive edits.
Administrators: if this bot is malfunctioning or causing harm, please block it.

Hi there, I'm a bot written by Sourav. If I did anything wrong, talk to him.

Description of the bot (per JP:Bots):

  • This bot is running manually
  • You can expect it to be run every 6 hours in average
  • The bot is written in Python
  • A full description of what this bot does can be found on its talk page.

work permit

  1. the script so that the bot only adds text if there are 3 or more edits in the edit history, you can add a check in the treat_page method to count the number of edits and skip the addition if there are fewer than 3 edits.
  2. also the bot only adds the text if there are 2 or more edits in the edit history

Parameters

These command line parameters can be used to specify which pages to work on:

-cat Targets entries within a specific category
-page Use a page as generator
-file Read a list of pages to treat from the named text file. Page titles in the file must be enclosed with brackets or separated by newlines. Argument can also be given as "-file:filename".

Furthermore, the following command line parameters are supported:

-text Define which text to add
-talkpage Put the text onto the talk page instead
-summary Define the summary to use
-except Use a regex to check if the text is already in the page **DEPRECATED IN 6.3.0 - Use "-grepnot" instead**
-excepturl Use the html page as text where you want to see if there's the text, not the wiki-page.
-newimages Add text in the new images
-untagged Add text in the images that don't have any license template
-always If used, the bot won't ask if it should add the text specified
-up If used, put the text at the very top of the page *
-noreorder Disable reordering of categories