Revert "Revert "Changed calling of Admin Links hook to work with SMW 1.9""

Meh, will just fix it.

This reverts commit 4489a6b2dc3fc7246da784edf768e683d622c9b2.

Change-Id: I05227b03a6581b1992593b558d9334d02811dda4
Merge "Revert "Revert "Changed calling of Admin Links hook to work with SMW 1.9"""