Translations:Manual:Pywikibot/protect.py/47/en

So, first you'd go to $specialpage and extract the list into a text file called $1.