Manual:Pywikibot/editarticle.py

Edit a Wikipedia article with your favourite editor.

Parameters
The following parameters are supported: -r               Edit redirect pages without following them --edit_redirect  automatically. --edit-redirect

-p P             Choose which page to edit. --page P         This argument can be passed positionally.

-w               Add the page to the user's watchlist after editing. --watch