Inject mediaWiki.hook as actual dependency instead of a soft check

Authored by thiemowmde on Jun 19 2017, 1:27 PM.

Description

Inject mediaWiki.hook as actual dependency instead of a soft check

This removes the soft dependency from the view folder.

Bug: T167870
Change-Id: I413d1f8e0adbd4adfc249e84282b1d7a22f8a074