migrateGadgets: Use WikiPage::doEditContent()

Change-Id: If7a471f6307c029c9988eda05afc99d1684483f4
Merge "migrateGadgets: Use WikiPage::doEditContent()" into RL2