Last modified: 2014-08-18 15:38:43 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 T70923, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68923 - Replace WB_EXPERIMENTAL_FEATURES with wgWBDisabledFatures
Replace WB_EXPERIMENTAL_FEATURES with wgWBDisabledFatures
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=QA p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-31 16:04 UTC by Daniel Kinzler
Modified: 2014-08-18 15:38 UTC (History)
2 users (show)

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


Attachments

Description Daniel Kinzler 2014-07-31 16:04:04 UTC
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.

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


Navigation
Links