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

            Bug ID: 68923
           Summary: Replace WB_EXPERIMENTAL_FEATURES with
                    wgWBDisabledFatures
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

Currently, we use WB_EXPERIMENTAL_FEATURES to switch "experimental" features
off in production. This allows us to work on features without having to worry
about them being deployed in a half-finished state.

However, there are two problems with this:
* There is no way to selectively enable or disable individual features (e.g.
for testing)
* It is hard to find all relevant places in the code when a feature is ready to
be moved from "experimental" to "finished". 

If we had an array of disabled features (as a global variable, accessible via
WikibaseRepo, or whatever), we could a) easily enable or disable individual
features, and b) if would be easy to find the relevant places in the code just
by grepping for the feature name, which would be mentioned when checking
against the array. Removing such checks in the code will then be unnecessary
though, since we can simply remove the feature name from the default list of
disabled features.

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

Reply via email to