User:BotFlightGear: Difference between revisions
mNo edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
== Tasks == | == Tasks == | ||
A small selection of tasks the bot performed in the past. | |||
=== Find broken external links === | === Find broken external links === | ||
To check whether all external links in one article are still valid: | To check whether all external links in one article are still valid: | ||
Line 20: | Line 22: | ||
Remove the category tag from all pages in a specific category, basically deleting the entire category. | Remove the category tag from all pages in a specific category, basically deleting the entire category. | ||
category.py remove | category.py remove | ||
=== Rename category === | |||
Renaming a category requires editing all articles listed in that category. An excellent job for a bot! | |||
category.py move -from:"Old category" -to:"New category" | |||
=== Add file information template === | |||
To add an empty file information template to files that have no description: | |||
<nowiki>add_text.py -except:(.+?) -text:"== Summary ==\n{{File information\n|description =\n|Source =\n|Date =\n|Author =\n}}" -summary:"Add empty file information template"</nowiki> | |||
An additional option can be added to process only the latest x amount of files: | |||
-newimages |
Latest revision as of 19:35, 3 April 2012
This user account is a bot operated by Gijs.
This is a legitimate alternative account, used to make repetitive automated or semi-automated edits that would be extremely tedious to do manually. |
Please post to this bot's talk page if you like to request it to perform a certain task.
Tasks
A small selection of tasks the bot performed in the past.
Find broken external links
To check whether all external links in one article are still valid:
weblinkchecker.py Page title
Fix double redirect
redirect.py double
Replace text
Replace a string by another string.
replace.py "Text to remove" "Text to add"
To remove an entire line, add \r\n
:
replace.py "\r\nRemove this line" ""
Remove category
Remove the category tag from all pages in a specific category, basically deleting the entire category.
category.py remove
Rename category
Renaming a category requires editing all articles listed in that category. An excellent job for a bot!
category.py move -from:"Old category" -to:"New category"
Add file information template
To add an empty file information template to files that have no description:
add_text.py -except:(.+?) -text:"== Summary ==\n{{File information\n|description =\n|Source =\n|Date =\n|Author =\n}}" -summary:"Add empty file information template"
An additional option can be added to process only the latest x amount of files:
-newimages