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
mNo edit summary
Line 1: Line 1:
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]]
For the script that detects '''unused variables in wmf-config''', see [[git:mediawiki/tools/code-utils/+/HEAD/|wmf-config-wg-vars.mjs in mediawiki/tools/code-utils.git]]


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], …
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]. __NONEWSECTIONLINK__


Results as of <code>Tue Jul 28 01:24:49 UTC 2020</code> with operations/mediawiki-config.git at <code>4aec190e227d2ed3e4332282cb2cb347e491a669</code>:
Last updated: --[[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 01:08, 4 August 2022 (UTC)


{| class="wikitable sortable"
{| class="wikitable sortable"
! Param !! Filename !! Component !! Status
! Param !! Filename !! Component !! Status
|-
|-
|<code>ArticlePlaceholderSearchIntegrationBackend</code>
|<code>AllowMicrodataAttributes</code>
|<code>wmf-config/InitialiseSettings.php</code>
|<code>InitialiseSettings.php</code>
|
|
|
|
|-
|-
|<code>BabelCentralApi</code>
|<code>ArticlePlaceholderSearchIntegrationBackend</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>InitialiseSettings.php</code>
|
|
|
|
|-
|-
|<code>CentralAuthAutoNew</code>
|<code>CentralAuthCookiesP3P</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|
|
|-
|-
|<code>CentralAuthUseSlaves</code>
|<code>CirrusSearchDropDelayedJobsAfter</code>
|<code>wmf-config/CommonSettings-labs.php</code>
|<code>InitialiseSettings.php</code>
<code>wmf-config/CommonSettings.php</code>
<code>CirrusSearch-production.php</code>
|
|
|
|
|-
|-
|<code>CirrusSimilarityProfiles</code>
|<code>CirrusSimilarityProfiles</code>
|<code>wmf-config/InitialiseSettings.php</code>
|<code>InitialiseSettings.php</code>
|
|
|
|
|-
|-
|<code>CodeEditorEnableCore</code>
|<code>CodeEditorEnableCore</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|
|
Line 44: Line 44:
|
|
|-
|-
|<code>EventServiceStreamConfig</code>
|<code>EnableCreativeCommonsRdf</code>
|<code>wmf-config/InitialiseSettings-labs.php</code>
|<code>CommonSettings.php</code>
<code>wmf-config/InitialiseSettings.php</code>
|
|
|-
|<code>EnableLocalTimedText</code>
|<code>CommonSettings.php</code>
|
|
|-
|<code>EnableMWSuggest</code>
|<code>InitialiseSettings.php</code>
|
|
|
|
|-
|-
|<code>FlowMaintenanceMode</code>
|<code>FlowMaintenanceMode</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|
|
|-
|-
|<code>GEHomepageSuggestedEditsNewAccountInitiatedPercentage</code>
|<code>GECampaignPattern</code>
|<code>wmf-config/InitialiseSettings.php</code>
|<code>InitialiseSettings-labs.php</code>
<code>InitialiseSettings.php</code>
|
|
|-
|<code>IPInfoGeoIP2Prefix</code>
|<code>InitialiseSettings-labs.php</code>
|
|
|-
|<code>IncludejQueryMigrate</code>
|<code>InitialiseSettings.php</code>
|
|
|
|
|-
|-
|<code>LDAPLowerCaseUsernameScheme</code>
|<code>LDAPLowerCaseUsernameScheme</code>
|<code>wmf-config/wikitech.php</code>
|<code>wikitech.php</code>
|
|
|
|
|-
|-
|<code>LDAPUseFetchedUsername</code>
|<code>LDAPUseFetchedUsername</code>
|<code>wmf-config/wikitech.php</code>
|<code>wikitech.php</code>
|
|
|
|
Line 72: Line 92:
|<code>LanguageCodeHasNotBeenSet</code>
|<code>LanguageCodeHasNotBeenSet</code>
|<code>tests/multiversion/StaticSettingsGenerationTest.php</code>
|<code>tests/multiversion/StaticSettingsGenerationTest.php</code>
|
|
|-
|<code>LegacyJavaScriptGlobals</code>
|<code>InitialiseSettings-labs.php</code>
<code>InitialiseSettings.php</code>
|
|
|
|
|-
|-
|<code>MFAppPackageId</code>
|<code>MFAppPackageId</code>
|<code>wmf-config/InitialiseSettings.php</code>
|<code>InitialiseSettings.php</code>
|
|
|
|
|-
|-
|<code>MFExperiments</code>
|<code>MathUseRestBase</code>
|<code>wmf-config/InitialiseSettings.php</code>
|<code>CommonSettings-labs.php</code>
|
|
|
|
|-
|-
|<code>MFLazyLoadReferences</code>
|<code>MediaInfoMediaSearchConceptChipsSimpleHeuristics</code>
|<code>wmf-config/InitialiseSettings.php</code>
|<code>InitialiseSettings.php</code>
|
|
|-
|<code>MediaInfoMediaSearchDefaultForAnon</code>
|<code>InitialiseSettings.php</code>
|
|
|-
|<code>MediaInfoMediaSearchHasLtrPlugin</code>
|<code>InitialiseSettings.php</code>
|
|
|-
|<code>MediaInfoMediaSearchProperties</code>
|<code>InitialiseSettings-labs.php</code>
<code>InitialiseSettings.php</code>
|
|
|-
|<code>MediaSearchDefaultForAnon</code>
|<code>InitialiseSettings.php</code>
|
|
|-
|<code>MediaViewerNetworkPerformanceSamplingFactor</code>
|<code>InitialiseSettings-labs.php</code>
|
|
|-
|<code>MemCacheServers</code>
|<code>tests/data/MWDefines.php</code>
|
|
|
|
|-
|-
|<code>MinervaShowShareButton</code>
|<code>MinervaShowShareButton</code>
|<code>wmf-config/InitialiseSettings-labs.php</code>
|<code>InitialiseSettings-labs.php</code>
|
|
|-
|<code>MwEmbedModuleConfig</code>
|<code>CommonSettings-labs.php</code>
|
|
|
|
|-
|-
|<code>NoticeFundraisingUrl</code>
|<code>NoticeFundraisingUrl</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|-
|<code>NoticeReporterDomains</code>
|<code>CommonSettings.php</code>
|
|
|
|
|-
|-
|<code>NotificationReplyName</code>
|<code>NotificationReplyName</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|
|
|-
|-
|<code>NotificationSender</code>
|<code>NotificationSender</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|
|
|-
|-
|<code>NotificationSenderName</code>
|<code>NotificationSenderName</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|-
|<code>ParserConf</code>
|<code>InitialiseSettings.php</code>
|
|
|-
|<code>PopupsEventLogging</code>
|<code>InitialiseSettings.php</code>
|
|
|-
|<code>ProxyKey</code>
|<code>private/readme.php</code>
|
|
|-
|<code>RedirectScript</code>
|<code>CommonSettings.php</code>
|
|
|
|
|-
|-
|<code>RelatedArticlesLoggingBucketSize</code>
|<code>RelatedArticlesLoggingBucketSize</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|-
|<code>SFSIPListLocationMD5</code>
|<code>CommonSettings-labs.php</code>
|
|
|-
|<code>ShowIPinHeader</code>
|<code>CommonSettings.php</code>
|
|
|-
|<code>StatsMethod</code>
|<code>InitialiseSettings.php</code>
|
|
|-
|<code>TimelineEpochTimestamp</code>
|<code>InitialiseSettings.php</code>
|
|
|-
|<code>TmhWebPlayer</code>
|<code>CommonSettings.php</code>
|
|
|
|
|-
|-
|<code>TranslateClustersAndMirrors</code>
|<code>TranslateClustersAndMirrors</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|
|
|-
|-
|<code>TrustedXffFile</code>
|<code>TranslateDelayedMessageIndexRebuild</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|
|
|-
|-
|<code>WBCSDefaultPrefixRescoreProfile</code>
|<code>WBCSDefaultPrefixRescoreProfile</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|<code>SearchSettingsForWikidata.php</code>
|
|
|
|
|-
|-
|<code>WBCSEnableDispatchingQueryBuilder</code>
|<code>WBCSEnableDispatchingQueryBuilder</code>
|<code>wmf-config/SearchSettingsForSDC.php</code>
|<code>SearchSettingsForSDC.php</code>
|
|
|
|
|-
|-
|<code>WBCSFulltextSearchProfile</code>
|<code>WBCSFulltextSearchProfile</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|<code>SearchSettingsForWikidata.php</code>
|
|
|
|
|-
|-
|<code>WBCSFulltextSearchProfiles</code>
|<code>WBCSFulltextSearchProfiles</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|<code>SearchSettingsForWikidata.php</code>
|
|
|-
|<code>WBCSLanguageSelectorPrefixSearchProfile</code>
|<code>SearchSettingsForWikidata.php</code>
|
|
|-
|<code>WBCSLanguageSelectorRescoreFunctionChains</code>
|<code>SearchSettingsForWikidata.php</code>
|
|
|-
|<code>WBCSLanguageSelectorRescoreProfile</code>
|<code>SearchSettingsForWikidata.php</code>
|
|
|-
|<code>WBCSLanguageSelectorStatementBoost</code>
|<code>SearchSettingsForWikibase.php</code>
|
|
|
|
|-
|-
|<code>WBCSPrefixSearchProfiles</code>
|<code>WBCSPrefixSearchProfiles</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|<code>SearchSettingsForWikidata.php</code>
|
|
|
|
|-
|-
|<code>WBCSRescoreFunctionChains</code>
|<code>WBCSRescoreFunctionChains</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|<code>SearchSettingsForWikidata.php</code>
|
|
|
|
|-
|-
|<code>WBCSRescoreProfiles</code>
|<code>WBCSRescoreProfiles</code>
|<code>wmf-config/SearchSettingsForWikidata.php</code>
|<code>SearchSettingsForWikidata.php</code>
|
|
|
|
|-
|-
|<code>WMEPhp7SamplingRate</code>
|<code>WMESearchRelevancePages</code>
|<code>wmf-config/CommonSettings.php</code>
|<code>InitialiseSettings.php</code>
|
|
|
|
|-
|-
|<code>WMEPrintEnabled</code>
|<code>WikiLambdaEvaluatorLocation</code>
|<code>wmf-config/InitialiseSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|
|
|-
|-
|<code>WMEPrintSamplingRate</code>
|<code>WikiLambdaWikiAPILocation</code>
|<code>wmf-config/InitialiseSettings.php</code>
|<code>CommonSettings.php</code>
|
|
|
|
|}
|}

Revision as of 01:20, 4 August 2022

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

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

Last updated: --Krinkle (talk) 01:08, 4 August 2022 (UTC)

Param Filename Component Status
AllowMicrodataAttributes InitialiseSettings.php
ArticlePlaceholderSearchIntegrationBackend InitialiseSettings.php
CentralAuthCookiesP3P CommonSettings.php
CirrusSearchDropDelayedJobsAfter InitialiseSettings.php

CirrusSearch-production.php

CirrusSimilarityProfiles InitialiseSettings.php
CodeEditorEnableCore CommonSettings.php
DBsqlpassword private/readme.php
EnableCreativeCommonsRdf CommonSettings.php
EnableLocalTimedText CommonSettings.php
EnableMWSuggest InitialiseSettings.php
FlowMaintenanceMode CommonSettings.php
GECampaignPattern InitialiseSettings-labs.php

InitialiseSettings.php

IPInfoGeoIP2Prefix InitialiseSettings-labs.php
IncludejQueryMigrate InitialiseSettings.php
LDAPLowerCaseUsernameScheme wikitech.php
LDAPUseFetchedUsername wikitech.php
LanguageCodeHasNotBeenSet tests/multiversion/StaticSettingsGenerationTest.php
LegacyJavaScriptGlobals InitialiseSettings-labs.php

InitialiseSettings.php

MFAppPackageId InitialiseSettings.php
MathUseRestBase CommonSettings-labs.php
MediaInfoMediaSearchConceptChipsSimpleHeuristics InitialiseSettings.php
MediaInfoMediaSearchDefaultForAnon InitialiseSettings.php
MediaInfoMediaSearchHasLtrPlugin InitialiseSettings.php
MediaInfoMediaSearchProperties InitialiseSettings-labs.php

InitialiseSettings.php

MediaSearchDefaultForAnon InitialiseSettings.php
MediaViewerNetworkPerformanceSamplingFactor InitialiseSettings-labs.php
MemCacheServers tests/data/MWDefines.php
MinervaShowShareButton InitialiseSettings-labs.php
MwEmbedModuleConfig CommonSettings-labs.php
NoticeFundraisingUrl CommonSettings.php
NoticeReporterDomains CommonSettings.php
NotificationReplyName CommonSettings.php
NotificationSender CommonSettings.php
NotificationSenderName CommonSettings.php
ParserConf InitialiseSettings.php
PopupsEventLogging InitialiseSettings.php
ProxyKey private/readme.php
RedirectScript CommonSettings.php
RelatedArticlesLoggingBucketSize CommonSettings.php
SFSIPListLocationMD5 CommonSettings-labs.php
ShowIPinHeader CommonSettings.php
StatsMethod InitialiseSettings.php
TimelineEpochTimestamp InitialiseSettings.php
TmhWebPlayer CommonSettings.php
TranslateClustersAndMirrors CommonSettings.php
TranslateDelayedMessageIndexRebuild CommonSettings.php
WBCSDefaultPrefixRescoreProfile SearchSettingsForWikidata.php
WBCSEnableDispatchingQueryBuilder SearchSettingsForSDC.php
WBCSFulltextSearchProfile SearchSettingsForWikidata.php
WBCSFulltextSearchProfiles SearchSettingsForWikidata.php
WBCSLanguageSelectorPrefixSearchProfile SearchSettingsForWikidata.php
WBCSLanguageSelectorRescoreFunctionChains SearchSettingsForWikidata.php
WBCSLanguageSelectorRescoreProfile SearchSettingsForWikidata.php
WBCSLanguageSelectorStatementBoost SearchSettingsForWikibase.php
WBCSPrefixSearchProfiles SearchSettingsForWikidata.php
WBCSRescoreFunctionChains SearchSettingsForWikidata.php
WBCSRescoreProfiles SearchSettingsForWikidata.php
WMESearchRelevancePages InitialiseSettings.php
WikiLambdaEvaluatorLocation CommonSettings.php
WikiLambdaWikiAPILocation CommonSettings.php