Page MenuHomePhabricator

BetaFeatures needs function named as "onGetPreferences"
Closed, InvalidPublic

Description

BetaFeatures hook looks for a function named as onGetPreferences only. Naming the function to anything else breaks the extension.
It is possible the issue occurs only for vagrant users.


Version: unspecified
Severity: normal

Details

Reference
bz61314

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:07 AM
bzimport added a project: BetaFeatures.
bzimport set Reference to bz61314.
bzimport added a subscriber: Unknown Object (MLST).

Sorry, I don't understand what this bug is about. BF will use whatever hook you register for it...

Can you post some code showing the bug?

Kunal, please close this bug as Invalid. This issue exists only for me so far. I've made sure my repos are updated completely but can't make it work.

You can see some code here: https://gerrit.wikimedia.org/r/#/c/104793/32..33/UniversalLanguageSelector.php
Patch 32 doesn't work for me but 33 does.

You can close this as Invalid because nobody else was able to reproduce this bug. Nemo_bis suggested I file the bug anyhow.

Might be caching? Feel free to find me on IRC if you need help with BF integration.