User story & summary:
As a Wikipedia admin, I want to customize the "Add a link" task to align with the Manual of Style (MOS) guidelines or specific norms of my wiki.
Background & research:
This task is critical because the English Wikipedia community identified compliance with MOS:OL as a blocker to expanding the "Add a link" feature to more editors:
Please implement some means of complying more broadly with MOS:OL. :meta:Research:Link recommendation model for add-a-link structured task § Hard-coded rules for (not) linking is a great start, but continued non-compliant suggestions are what in my estimation will create the most community pushback, since they exhibit all of the following: contravene longstanding community consensus; generate maintenance burden; forewarned of; already documented during trial period; obviously solveable in software somehow. I'm not sure I'd be comfortable going over 10% deployment before this is addressed, but others might feel differently.
from enwiki discussion: Wikipedia talk:Growth Team features
This request is also emerging at several other wikis:
Just a few days ago I received another suggestion for "Lika", which I have denied for several years... What the function needs is a list of words that should never be suggested.
from svwiki discussion: Wikipedia:Bybrunnen
Implementation details:
TBD
I'm hoping we can leverage similar logic as used in the Link Suggestion algorithm's Hard-coded rules for not linking.
The page that we link to belongs to one of the following (such as disambiguation pages). In practice, we check the P31 (instance-of) property of the corresponding Wikidata-item (almost every Wikipedia article has a Wikidata item).
Since linking norms vary across wikis, enabling communities to define their own filters would provide a scalable solution. A first approach to that would probably be to just filter the recommendations generated from the existing models.
Acceptance Criteria:
Given I am an Admin viewing Special:CommunityConfiguration/GrowthSuggestedEdits,
When I access the Add a link (Structured task) settings,
Then I can define a list of Wikidata P31 (instance-of) properties to avoid linking.