Awk based bot for Wikipedia merge task
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
0README
LICENSE
README.md
base62.lua
driver.awk
init.awk
library.awk
project.awk
savepage.py
setup
wam.awk
wikiget.awk

README.md

WebArchiveMerge bot

WebArchiveMerge is a Wikipedia bot to merge multiple templates into a single template.

Example edit: https://en.wikipedia.org/w/index.php?title=Chadstone_High_School&diff=prev&oldid=749418640

Bot info page: https://en.wikipedia.org/wiki/User:Green_Cardamom/Webarchive_template_merge

by User:Green Cardamom (en.wikipedia.org) November 2016 MIT License

Source

GNU Awk 4.1

The core functionality is wam.awk which processes a single article.

driver.awk "drives" (executes) wam, which in turn is executed by GNU Parallel in batches

project.awk is a tool for creating and managing batches of articles for processing by driver

Install and operate

See 0README

Credits

Want to use MediaWiki API with Awk? Check out 'MediaWiki Awk API Library' https://github.com/greencardamom/MediaWikiAwkAPI