https://bugzilla.wikimedia.org/show_bug.cgi?id=59955

--- Comment #6 from Andre Saboia <anb...@gmail.com> ---
I and a team that I am working with, are learning how to contribute with the
MediaWiki, and this maybe will be our first contribution :D.

So we just have submitted the patch gerrit change 110238, and the basic idea is
that we added:

$wgHooks['GetBetaFeaturePreferences'][] =
BetaFeaturesHooks::getBetaPreferences';

Then, the BetaFeature auto-enroll option will be handled as any other features,
and the number of users will be counted normally.

But since its not needed to show the auto-enroll option like the other beta
features in the list. We ignore the auto-enroll in the for loop that show the
list, and we show the auto-enroll option, as before, just changing the
HTMLFormField to another one that was created.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to