Update wfGetDB calls in Maintenance scripts to use getDB()