[go: up one dir, main page]

Page MenuHomePhabricator

Add Link engineering: On-wiki configuration
Closed, ResolvedPublic

Description

There are various parameters that we want to be able to control:

AttributeDefault setting
The number of minimum link recommendation tasks a topic should have500
Minimum number of links every recommendation needs to have4
Minimum probability score each recommended link needs to have?
Maximum number of link recommendations to display per article10
Categories to exclude (not specific to the task-type)None
Templates to exclude (not specific to the task-type)None
Time since last edit1 day
Article word count (max/min)-

We have MediaWiki:NewcomerTasks.json which allows for on-wiki configuration to override the default configuration provided by GrowthExperiments extension.json; this seems like a good place to add task specific configuration for the new suggested links task type.

Event Timeline

This might be a good time to consider making the config pages more user-friendly (there is some discussion of that in T246939: [Growth scaling] streamlined configuration although the main thrust of that task is elsewhere).

We'll also need a way to define a task type as being based on link recommendations in the first place. I guess we could just assume any task with a templates parameter is a maintenance template based one and tasks with whatever the main link recommendation related configuration field is are of that type, but it seems annoying to handle, so maybe better to add a type field, which can correspond to some kind of task type registry.

Change 645297 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] [WIP] Add LinkRecommendation task type

https://gerrit.wikimedia.org/r/645297

Change 651879 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Newcomer tasks: Add ability to exclude pages by template or category

https://gerrit.wikimedia.org/r/651879

Change 651951 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Pass task type parameters to LinkRecommendationProvider::get

https://gerrit.wikimedia.org/r/651951

Change 645297 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Add LinkRecommendation task type

https://gerrit.wikimedia.org/r/645297

Change 651951 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Pass task type parameters to LinkRecommendationProvider::get

https://gerrit.wikimedia.org/r/651951

Change 651879 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Newcomer tasks: Add ability to exclude pages by template or category

https://gerrit.wikimedia.org/r/651879

Not sure if we could do something to make this QA-able.

Not sure if we could do something to make this QA-able.

Verifying that #excludedTemplates and #excludedCategories config works properly, perhaps?

Oh, right, those two are verifiable. Everything else is used by the refresh job and so would be a pain to test.