Thread:Extension talk:UserFunctions/Issue with MW 1.18.0/reply (4)

Filled bug here: https://bugzilla.wikimedia.org/show_bug.cgi?id=33321

If it is not / cannot be solved, I would check whether this alternative works in 1.18: Extension:CustomNavBlocks