pipeline.py: add support for qwiki discovery