Use wikiId in data instead of wfWikiId()

wfWikiId() always refers to the current wiki while the data
may be from other wiki.

Change-Id: Ic060eb7386adadac23d7a7fa533e351471df6f22
Merge "Use wikiId in data instead of wfWikiId()"