mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 00:40:12 +00:00
e3fdee52aa
The two are different: * CiteReferencePreviews as specified in extension.json is a feature flag that allows us to disable the feature entirely. It could be named "CiteReferencePreviewsFeature" or "CiteEnableReferencePreviews", but renaming a feature flag that's already in use is hard. * The client-side flag tells the JavaScript code "you know what, it was kind of a mistake you got loaded, please stop". This is because we can not make all decisions before we register the ResourceLoader module, e.g. if the user has certain gadgets enabled. Adding the word "Active" is not a huge improvement, but at least makes the two different now. Suggestions welcome. Bug: T362771 Change-Id: I0f6a911df8772616ac50c1301f402f77dbe32089 |
||
---|---|---|
.. | ||
.eslintrc.json | ||
constants.js | ||
createReferenceGateway.js | ||
createReferencePreview.js | ||
index.js | ||
isReferencePreviewsEnabled.js | ||
OWNERS.md | ||
referencePreview.less | ||
referencePreviewsInstrumentation.js |