fixed usage of deprecated getWikiRef