parser/wiki: remove unused qi header
parser/wiki: call destructor in inverse order