Meza/Notes on Implementing a Pywikibot

This assumes you have a MEZA mediawiki 34.x farm running on a local VM with 2 wikis installed  and

Following the tutorial at: https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation

Verify the pywikibot requirements
Fortunately MW 34.x uses python2 AND python3 .. so be sure to use python3 and pip3 in these instructions

Install Pywikibot
Download and unpack python3 version of pywikibot into home directory $ cd ~ $ mkdir pywikibot $ wget -c https://tools.wmflabs.org/pywikibot/core_stable.tar.gz -O - | tar -xz

test pywikibot on Mediawiki.org
generate user configuration file $ cd /home/ /pywikibot/core_stable/ $ sudo python3 pwb.py generate_user_files
 * 1) selected option 6 for mediawiki
 * 2) entered my username for mediawiki.org

sudo python3 pwb.py login ''' provided my password and viola .. I am logged in to my mediawiki.org account via pywiki... ''' Ctrl-C .. now let's set up for my local VBox MEZA wiki using help from: Manual:Pywikibot/Use on third-party wikis