Manual:Pywikibot/featured.py

Manage featured/good article/list status template.

This script understands various command-line arguments:

Task commands
-featured        use this script for featured articles. Default task if no task command is specified

-good            use this script for good articles.

-lists           use this script for featured lists.

-former          use this script for removing  from former fearured articles

NOTE: you may have all of these commands in one run

Options
-interactive:    ask before changing each page

-nocache         doesn't include cache files file to remember if the article already was verified.

-nocache:xx,yy   you may ignore language codes xx,yy,... from cache file

-fromlang:xx,yy  xx,yy,zz,.. are the languages to be verified. -fromlang:ar--fi Another possible with range the languages

-fromall         to verify all languages.

-tolang:xx,yy    xx,yy,zz,.. are the languages to be updated

-after:zzzz      process pages after and including page zzzz (sorry, not implemented yet)

-side            use -side if you want to move all  next to the corresponding interwiki links. Default is placing on top of the interwiki links. (This option is deprecated with wikidata)

-count           Only counts how many featured/good articles exist on all wikis (given with the "-fromlang" argument) or                 on several language(s) (when using the "-fromall" argument). Example: python pwb.py featured -fromlang:en,he -count counts how many featured articles exist in the en and he                 wikipedias.

-quiet           no corresponding pages are displayed.