replace QGIS with |qg| where possible