Last modified: 2014-10-20 22:01:44 UTC
The hook needs to provide language, for example for providing rtl images. Please see https://gerrit.wikimedia.org/r/#/c/113975/1/includes/Hooks.php which has this problem with the normal preferences hook. In the BetaFeatures hook this workaround seems to cause recursion exception.
Change 118963 had a related patch set uploaded by Legoktm: Don't require hook subscribers to know language direction https://gerrit.wikimedia.org/r/118963
Change 118963 merged by jenkins-bot: Don't require hook subscribers to know language direction https://gerrit.wikimedia.org/r/118963