Fix fatal under MediaWiki 1.23.

Change-Id: If483b38ee09fe4889be4256efa4cf2de877f55b2
Merge "Fix fatal under MediaWiki 1.23."