Porting Forums hooks to MW hook handler