The Scripts
check_my_jinja.py
compareExtensions.php
This script helps you identify different extensions used in a 3rd-party wiki compared to Meza.
It also compares those 3rd-party "custom" extensions to whatever you've setup in
/opt/conf-meza/public/MezaLocalExtensions.yml
.
Note that if MezaLocalExtensions.yml is not found, this script will use the QualityBox setup to supplement Meza Core [1]
You can easily customize this script to use your own public config repo.
Usage
Supply the full URL to the external wiki API as the script argument. e.g.
php compareExtensions.php https://freephile.org/w/api.php
to get a list of extensions which would need to be added locally.
What if the Wiki is private?
If the 3rd-party wiki API is access restricted, then execute a
'?action=query&meta=siteinfo&siprop=extensions&format=json'
API query in that
environment and save the text output to a file with a .json
extension.
Then supply the path to that file as the argument to the script.
php compareExtensions.php /tmp/myWiki.Api.Info.json
create-vm.sh
dev-networking.sh
getmeza.sh
merge-pages
(Directory)
meza.py
shell-functions
(Directory)
ssh-users
(Directory)
ssl-selftest.sh
unifyUserTables.php
uniteTheWikis.php
unite-the-wikis.sh
The Source
The repository for Meza contains the scripts within the 'src' directory.