mediawiki.page.gallery: Clean up documentation for hook

Follows-up 14b3f87.

Change-Id: Ia917516d985a6e6f6e4bbca9ea8b5437175a6aa8