finish the draft version of temporal/src/temp-wiki-match.py