Last modified: 2014-02-13 16:48:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63314, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61314 - BetaFeatures needs function named as "onGetPreferences"
BetaFeatures needs function named as "onGetPreferences"
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
BetaFeatures (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-13 15:04 UTC by Niharika
Modified: 2014-02-13 16:48 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niharika 2014-02-13 15:04:17 UTC
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.
Comment 1 Kunal Mehta (Legoktm) 2014-02-13 16:26:43 UTC
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?
Comment 2 Niharika 2014-02-13 16:37:06 UTC
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.
Comment 3 Kunal Mehta (Legoktm) 2014-02-13 16:48:58 UTC
Might be caching? Feel free to find me on IRC if you need help with BF integration.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links