When three new fields were added to the Linter table (linter_namespace, linter_template and linter_tag) new configuration variables were added in extension.json to control the writing/migration and use of the new fields and allow careful rollout and test of the write, migrate and usage of the fields by dark launched, dual mode linter code.
The config variables (LinterWriteNamespaceColumnStage, LinterUseNamespaceColumnStage and LinterWriteTagAndTemplateColumnsStage, LinterUserInterfaceTagAndTemplateStage) were all set to false in extension.json and the LinterWrite.. variables progressively overridden by wmf-config/InitializeSettings.php until all groups were enabled, then the database field migration maintenance scripts were run on all wikis in groups, and finally the LinterUse... variables were enabled allowing the new UI and improved performance report code to use the new fields.
Tasks:
NOTE: These two tasks were never done, but deemed unnecessary prior to removing the dual mode code and references to all four variables performed in the dual mode code removal patches
-
Now that the code is stable a few months later, the config variables in extension.json should be defaulted to true. -
The config variables in wmf-config/InitializeSettings-labs.php and wmf-config/InitializeSettings.php should be removed a couple of weeks after the previous task has rolled out. - The dual mode code that is no longer reachable should be removed along with all references to the config variables and the config variables removed from extension.json
- The four config variables in wmf-config/InitializeSettings.php for wikis that were enabled should be removed once all references to them have been removed.
Additional cleanup tasks for recordLintJob (T331883) should be completed after these are done.