I hereby propose to create a common way for bot classes to 'pipe' the
changed text to other classes without saving it directly to the wiki.
So, botops could do something like:
python pwb.py pipe [generator] scripts/harvest_template [options] +
scripts/weblinkchecker [options] + scripts/replace [options]
to make custom replacements, check external links and enrich Wikidata
with a single edit (except for the Wikidata import process).