Gallery: Don't fire wikipage.content hook twice during init