correctly set $this->wikiId on a running task

@drsnyder 
Looks like ```BatchRefreshLinksForTemplate``` is the only task affected by this.