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 MyWikiA and MyWikiB

Following the tutorial at:

Verify the pywikibot requirements edit

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

Test version of Python:
$ python3 --version
Python 3.5.6
ok to install pywikibot

verify version of pip
$ pip3 --version
pip 9.0.1 from /usr/lib/python3.5/site-packages (python 3.5)

Install Pywikibot edit

Download and unpack python3 version of pywikibot into home directory

$ cd ~
$ wget -c -O - | tar -xz

test pywikibot on edit

generate user configuration file

$ cd /home/<username>/core_stable/
$ sudo python3 generate_user_files
  1. selected option 6 for mediawiki
  2. entered my username for

sudo python3 login

provided my password and viola .. I am logged in to my 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

Configure PYB for local VM wikis edit