You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Technical debt/Unused config: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Krinkle
No edit summary
 
imported>Krinkle
No edit summary
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
For the script that detects '''unused variables in wmf-config''', see https://gist.github.com/Krinkle/15be368abdbf918c8ef7a06cde011457.
For the script that detects '''unused variables in wmf-config''', see [[git:mediawiki/tools/code-utils/+/HEAD/|wmf-config-wg-vars.js in mediawiki/tools/code-utils.git]]


Results as of <code>Fri Aug 17 17:41:27 BST 2018</code> with operations/mediawiki-config.git at <code>d1c5cb10446f0a4ec20f87a855344986c697d0e4</code>:
Resolved items are removed in batches. See prior work at [https://wikitech.wikimedia.org/w/index.php?title=Technical_debt/Unused_config&oldid=1814269#Resolved one], [https://wikitech.wikimedia.org/w/index.php?title=Technical_debt/Unused_config&oldid=1815001 two], …
 
Results as of <code>Tue Jul 28 01:24:49 UTC 2020</code> with operations/mediawiki-config.git at <code>4aec190e227d2ed3e4332282cb2cb347e491a669</code>:


{| class="wikitable sortable"
{| class="wikitable sortable"
! Param !! Filename !! Maintainer !! Status
! Param !! Filename !! Component !! Status
|-
|-
|<code>EchoConfig</code>
|<code>ArticlePlaceholderSearchIntegrationBackend</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/InitialiseSettings.php</code>
|Contributors Growth
|
|
|
|-
|-
|<code>EchoFooterNoticeURL</code>
|<code>BabelCentralApi</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/CommonSettings.php</code>
|Contributors Growth
|
|
|
|-
|-
|<code>EchoShowFooterNotice</code>
|<code>CentralAuthAutoNew</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/CommonSettings.php</code>
|Contributors Growth
|
|
|
|-
|-
|<code>FeedbackAge</code>
|<code>CentralAuthUseSlaves</code>
|<code>flaggedrevs.php</code>
|<code>wmf-config/CommonSettings-labs.php</code>
|Contributors Growth
<code>wmf-config/CommonSettings.php</code>
|
|
|
|-
|-
|<code>FeedbackNamespaces</code>
|<code>CirrusSimilarityProfiles</code>
|<code>flaggedrevs.php</code>
|<code>wmf-config/InitialiseSettings.php</code>
|Contributors Growth
|
|
|
|-
|-
|<code>FeedbackSizeThreshhold</code>
|<code>CodeEditorEnableCore</code>
|<code>flaggedrevs.php</code>
|<code>wmf-config/CommonSettings.php</code>
|Contributors Growth
|
|
|
|-
|-
|<code>FlaggedRevComments</code>
|<code>DBsqlpassword</code>
|<code>flaggedrevs.php</code>
|<code>private/readme.php</code>
|Contributors Growth
|
|
|
|-
|-
|<code>FlaggedRevsFeedbackTags</code>
|<code>EventServiceStreamConfig</code>
|<code>flaggedrevs.php</code>
|<code>wmf-config/InitialiseSettings-labs.php</code>
|Contributors Growth
<code>wmf-config/InitialiseSettings.php</code>
|
|
|
|-
|-
|<code>FlowEventLogging</code>
|<code>FlowMaintenanceMode</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/CommonSettings.php</code>
|Contributors Growth
|
|
|
|-
|-
|<code>FlowMaintenanceMode</code>
|<code>GEHomepageSuggestedEditsNewAccountInitiatedPercentage</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/InitialiseSettings.php</code>
|Contributors Growth
|
|
|
|-
|-
|<code>LDAPLowerCaseUsernameScheme</code>
|<code>LDAPLowerCaseUsernameScheme</code>
|<code>wikitech.php</code>
|<code>wmf-config/wikitech.php</code>
|WMCS
|
|
|
|-
|-
|<code>LDAPUseFetchedUsername</code>
|<code>LDAPUseFetchedUsername</code>
|<code>wikitech.php</code>
|<code>wmf-config/wikitech.php</code>
|WMCS
|
|
|
|-
|-
|<code>NoticeFundraisingUrl</code>
|<code>LanguageCodeHasNotBeenSet</code>
|<code>CommonSettings.php</code>
|<code>tests/multiversion/StaticSettingsGenerationTest.php</code>
|FR-Tech
|
|
|
|-
|-
|<code>OpenStackManagerLDAPProjectGroupBaseDN</code>
|<code>MFAppPackageId</code>
|<code>wikitech.php</code>
|<code>wmf-config/InitialiseSettings.php</code>
|WMCS
|
|
|
|-
|-
|<code>OpenStackManagerLDAPUseUidAsNamingAttribute</code>
|<code>MFExperiments</code>
|<code>wikitech.php</code>
|<code>wmf-config/InitialiseSettings.php</code>
|WMCS
|
|
|
|-
|-
|<code>OpenStackManagerPuppetDocBase</code>
|<code>MFLazyLoadReferences</code>
|<code>wikitech.php</code>
|<code>wmf-config/InitialiseSettings.php</code>
|WMCS
|
|
|
|-
|-
|<code>OpenStackManagerPuppetOptions</code>
|<code>MinervaShowShareButton</code>
|<code>wikitech.php</code>
|<code>wmf-config/InitialiseSettings-labs.php</code>
|WMCS
|
|
|
|-
|-
|<code>ParsoidWikiPrefix</code>
|<code>NoticeFundraisingUrl</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/CommonSettings.php</code>
|Editing
|
|
|
|-
|-
|<code>PopupsBetaFeature</code>
|<code>NotificationReplyName</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/CommonSettings.php</code>
|Reading Web
|
|{{Doing}}{{Gerrit|450906}}
|
|-
|-
|<code>RestrictionMethod</code>
|<code>NotificationSender</code>
|<code>InitialiseSettings.php</code>
|<code>wmf-config/CommonSettings.php</code>
|Core (wfExec)
|
|
|
|-
|-
|<code>TranslateClustersAndMirrors</code>
|<code>NotificationSenderName</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/CommonSettings.php</code>
|Language
|
|
|
|-
|-
|<code>UseContributionTracking</code>
|<code>RelatedArticlesLoggingBucketSize</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/CommonSettings.php</code>
<code>InitialiseSettings.php</code>
|
|FR-Tech
|
|
|-
|-
|<code>WMETrackGeoFeatures</code>
|<code>TranslateClustersAndMirrors</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/CommonSettings.php</code>
|Discovery (?)
|
|{{Done}}{{Gerrit|454149}}
|
|}
 
== Resolved ==
{| class="wikitable sortable"
! Param !! File !! Component !! Status
|-
|-
|<code>CirrusSearchFullTextClusterOverrides</code>
|<code>TrustedXffFile</code>
|<code>CirrusSearch-common.php</code>
|<code>wmf-config/CommonSettings.php</code>
<code>CirrusSearch-labs.php</code>
|
| rowspan="6" |Search Platform
|
| rowspan="6" |{{Done}} {{gerrit|444576}} and {{gerrit|444577}}
|-
|-
|<code>CirrusSearchPowerSpecialRandom</code>
|<code>WBCSDefaultPrefixRescoreProfile</code>
|<code>CirrusSearch-common.php</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|
|
|-
|-
|<code>CirrusSearchReplicaCount</code>
|<code>WBCSEnableDispatchingQueryBuilder</code>
|<code>CirrusSearch-common.php</code>
|<code>wmf-config/SearchSettingsForSDC.php</code>
|
|
|-
|-
|<code>CirrusSearchCrossProjectBlockScoreProfiles</code>
|<code>WBCSFulltextSearchProfile</code>
|<code>CirrusSearch-common.php</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|
|
|-
|-
|<code>CirrusSearchBackup</code>
|<code>WBCSFulltextSearchProfiles</code>
|<code>CirrusSearch-production.php</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|
|
|-
|-
|<code>CirrusSearchCreateFrozenIndex</code>
|<code>WBCSPrefixSearchProfiles</code>
|<code>CirrusSearch-production.php</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|
|
|-
|-
|<code>LocalTZOffset</code>
|<code>WBCSRescoreFunctionChains</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|Core
|
|{{Done}} {{Gerrit|444665}}
|
|-
|-
|<code>GadgetsCacheType</code>
|<code>WBCSRescoreProfiles</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|Gadgets
|
|{{Done}} {{Gerrit|445049}}
|
|-
|-
|<code>TmhEnableMp3Uploads</code>
|<code>WMEPhp7SamplingRate</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/CommonSettings.php</code>
|TimedMediaHandler
|
|{{Done}} {{Gerrit|444659}} and {{Gerrit|444660}} (and also {{Gerrit|444661}} whilst we're at it)
|
|-
|-
|<code>LicenseURL</code>
|<code>WMEPrintEnabled</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/InitialiseSettings.php</code>
|Collection
|
|{{Done}} {{Gerrit|444663}} (Fixes task [[phab:T154069|T154069]])
|
|-
|-
|<code>WikiEditorFeatures</code>
|<code>WMEPrintSamplingRate</code>
|<code>CommonSettings.php</code>
|<code>wmf-config/InitialiseSettings.php</code>
|WikiEditor
|
|{{Done}} {{Gerrit|444655}} and {{Gerrit|444656}}
|-
|<code>GWToolsetConfigOverrides</code>
|<code>CommonSettings.php</code>
|
|
|{{done}}{{gerrit|392217}}
|-
|<code>RestbaseServer</code>
|<code>CommonSettings.php</code>
<code>InitialiseSettings.php</code>
|Services
|{{Done}} {{gerrit|444440}} and {{gerrit|444466}}
|-
|<code>VisualEditorNonAccountEnableProportion</code>
|<code>CommonSettings.php</code>
|VisualEditor
|{{Done}} {{Gerrit|444657}} and {{Gerrit|444658}}
|-
|<code>EventLoggingFile</code>
|<code>CommonSettings.php</code>
|Analytics
|{{Done}} {{gerrit|452877}}
|-
|<code>EventLoggingSchemaIndexUri</code>
|<code>CommonSettings.php</code>
|Analytics
|{{Done}} {{Gerrit|446711}}
|-
|<code>VectorExperimentalPrintStyles</code>
|<code>InitialiseSettings.php</code>
|Reading Web
|{{Done}} {{gerrit|444586}}
|-
|<code>WBSharedCacheKey</code>
|<code>Wikibase.php</code>
|Wikidata
|{{Done}} {{Gerrit|e6244d60758e2d3e4fc00b6bb8ce458c340ecf84}}
|-
|<code>WBSharedSettings</code>
|<code>Wikibase.php</code>
|Wikidata
|{{Done}} {{Gerrit|e6244d60758e2d3e4fc00b6bb8ce458c340ecf84}}
|}
|}

Revision as of 02:25, 28 July 2020

For the script that detects unused variables in wmf-config, see wmf-config-wg-vars.js in mediawiki/tools/code-utils.git

Resolved items are removed in batches. See prior work at one, two, …

Results as of Tue Jul 28 01:24:49 UTC 2020 with operations/mediawiki-config.git at 4aec190e227d2ed3e4332282cb2cb347e491a669:

Param Filename Component Status
ArticlePlaceholderSearchIntegrationBackend wmf-config/InitialiseSettings.php
BabelCentralApi wmf-config/CommonSettings.php
CentralAuthAutoNew wmf-config/CommonSettings.php
CentralAuthUseSlaves wmf-config/CommonSettings-labs.php

wmf-config/CommonSettings.php

CirrusSimilarityProfiles wmf-config/InitialiseSettings.php
CodeEditorEnableCore wmf-config/CommonSettings.php
DBsqlpassword private/readme.php
EventServiceStreamConfig wmf-config/InitialiseSettings-labs.php

wmf-config/InitialiseSettings.php

FlowMaintenanceMode wmf-config/CommonSettings.php
GEHomepageSuggestedEditsNewAccountInitiatedPercentage wmf-config/InitialiseSettings.php
LDAPLowerCaseUsernameScheme wmf-config/wikitech.php
LDAPUseFetchedUsername wmf-config/wikitech.php
LanguageCodeHasNotBeenSet tests/multiversion/StaticSettingsGenerationTest.php
MFAppPackageId wmf-config/InitialiseSettings.php
MFExperiments wmf-config/InitialiseSettings.php
MFLazyLoadReferences wmf-config/InitialiseSettings.php
MinervaShowShareButton wmf-config/InitialiseSettings-labs.php
NoticeFundraisingUrl wmf-config/CommonSettings.php
NotificationReplyName wmf-config/CommonSettings.php
NotificationSender wmf-config/CommonSettings.php
NotificationSenderName wmf-config/CommonSettings.php
RelatedArticlesLoggingBucketSize wmf-config/CommonSettings.php
TranslateClustersAndMirrors wmf-config/CommonSettings.php
TrustedXffFile wmf-config/CommonSettings.php
WBCSDefaultPrefixRescoreProfile wmf-config/SearchSettingsForWikidata.php
WBCSEnableDispatchingQueryBuilder wmf-config/SearchSettingsForSDC.php
WBCSFulltextSearchProfile wmf-config/SearchSettingsForWikidata.php
WBCSFulltextSearchProfiles wmf-config/SearchSettingsForWikidata.php
WBCSPrefixSearchProfiles wmf-config/SearchSettingsForWikidata.php
WBCSRescoreFunctionChains wmf-config/SearchSettingsForWikidata.php
WBCSRescoreProfiles wmf-config/SearchSettingsForWikidata.php
WMEPhp7SamplingRate wmf-config/CommonSettings.php
WMEPrintEnabled wmf-config/InitialiseSettings.php
WMEPrintSamplingRate wmf-config/InitialiseSettings.php