From RationalWiki
Jump to navigation Jump to search

For various mass-edit tasks

Adding text[edit]

To add text to the top of all pages for which the corresponding talk page is in a category (except when the text is already on the page):

python add_text -cat:'HIGH priority articles' -up -alwaysmain -summary:'Bot:Adding priority to main page' \
  -text:'{{pri|3}}' -noreorder -except:'{{pri\|3}}'

Requires below patch

Misc notes[edit]

Old source from when it used mwapi; may still be of use.