Page MenuHomePhabricator

Clean up Attribution API spec descriptions
Closed, ResolvedPublic2 Estimated Story Points

Description

Description

As we get close to launch, we must ensure that our documentation is clear, accurate, and appropriately styled for our users.

Conditions of acceptance

  • Update the link in the main API description
  • Update "Contact the developer" to link to an Attribution API talk page instead of the noc email address.
    • Text should read "Have questions or comments about this API? Help shape the experience and functionality while it's in beta by [ < Talk Page TBD > | joining the discussion ]." --> Halley is creating the artifacts for this today.
  • Update 'title' parameter to have appropriate casing for REST Sandbox
    • Current text "In the Rest Sandbox" should read "In the REST Sandbox"
  • Fix 'expand' property link
    • Current value of "Allows the caller to include additional types of signals in the response, following the [https://wikimedia-attribution.toolforge.org/ Attribution Framework]" is not actually linking for the Attribution Framework.
  • Display available enum values for 'expand'. They used to display, so not sure what happened.
    • Current description does not include the available values of 'trust_and_relevance' and 'calls_to_action'
    • There is an example of the "Available values: " pattern for request parameter enums on /v1/page/{title}/history in the MW REST flat routing structure
  • Add callout to qqq file that OADs expect Markdown and not wikitext; translators should not alter the markdown structure.

Event Timeline

HCoplin-WMF updated the task description. (Show Details)
HCoplin-WMF set the point value for this task to 2.

Hey @HCoplin-WMF , sorry, a quick question:

Update "Contact the developer" to link to an Attribution API talk page instead of the noc email address.
Text should read "Have questions or comments about this API? Help shape the experience and functionality while it's in beta by [ < Talk Page TBD > | joining the discussion ]." --> Halley is creating the artifacts for this today.

Do we already have a link for the talk page?

Thank you so much!

Change #1268666 had a related patch set uploaded (by Aghirelli; author: Aghirelli):

[mediawiki/extensions/WikimediaCustomizations@master] Attribution: Clean up API spec descriptions

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

Change #1268669 had a related patch set uploaded (by Aghirelli; author: Aghirelli):

[mediawiki/core@master] i18n: Fix capitalization of "REST Sandbox"

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

Change #1268669 merged by jenkins-bot:

[mediawiki/core@master] i18n: Fix capitalization of "REST Sandbox"

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

Change #1268666 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCustomizations@master] Attribution: Clean up API spec descriptions

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

Change #1271039 had a related patch set uploaded (by Aghirelli; author: Aghirelli):

[mediawiki/extensions/WikimediaCustomizations@master] i18n: Use {{doc-markdown}} template in Attribution qqq.json

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

Change #1271039 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCustomizations@master] i18n: Use {{doc-markdown}} template in Attribution qqq.json

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

Change #1273867 had a related patch set uploaded (by Alex Paskulin; author: Alex Paskulin):

[mediawiki/extensions/WikimediaCustomizations@master] Attribution: Update contact and add call to action

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

Change #1273867 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCustomizations@master] Attribution: Update contact and add call to action

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

Change #1275475 had a related patch set uploaded (by Pmiazga; author: Aghirelli):

[mediawiki/extensions/WikimediaCustomizations@wmf/1.46.0-wmf.24] Attribution: Clean up API spec descriptions

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

Change #1275476 had a related patch set uploaded (by Pmiazga; author: Aghirelli):

[mediawiki/extensions/WikimediaCustomizations@wmf/1.46.0-wmf.24] i18n: Use {{doc-markdown}} template in Attribution qqq.json

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

Change #1275488 had a related patch set uploaded (by Jforrester; author: Alex Paskulin):

[mediawiki/extensions/WikimediaCustomizations@wmf/1.46.0-wmf.24] Attribution: Update contact and add call to action

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

Change #1275475 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCustomizations@wmf/1.46.0-wmf.24] Attribution: Clean up API spec descriptions

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

Change #1275476 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCustomizations@wmf/1.46.0-wmf.24] i18n: Use {{doc-markdown}} template in Attribution qqq.json

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

Change #1275488 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCustomizations@wmf/1.46.0-wmf.24] Attribution: Update contact and add call to action

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

Mentioned in SAL (#wikimedia-operations) [2026-04-20T18:25:31Z] <jforrester@deploy1003> Started scap sync-world: Backport for [[gerrit:1275475|Attribution: Clean up API spec descriptions (T422502)]], [[gerrit:1275476|i18n: Use {{doc-markdown}} template in Attribution qqq.json (T422502)]], [[gerrit:1275477|Attribution: Documentation copyedits]], [[gerrit:1275488|Attribution: Update contact and add call to action (T422502)]], [[gerrit:1275478|Attribution: Add localized texts for tren

Mentioned in SAL (#wikimedia-operations) [2026-04-20T18:42:20Z] <jforrester@deploy1003> pmiazga, jforrester: Backport for [[gerrit:1275475|Attribution: Clean up API spec descriptions (T422502)]], [[gerrit:1275476|i18n: Use {{doc-markdown}} template in Attribution qqq.json (T422502)]], [[gerrit:1275477|Attribution: Documentation copyedits]], [[gerrit:1275488|Attribution: Update contact and add call to action (T422502)]], [[gerrit:1275478|Attribution: Add localized texts for trending

Mentioned in SAL (#wikimedia-operations) [2026-04-20T18:55:54Z] <jforrester@deploy1003> Finished scap sync-world: Backport for [[gerrit:1275475|Attribution: Clean up API spec descriptions (T422502)]], [[gerrit:1275476|i18n: Use {{doc-markdown}} template in Attribution qqq.json (T422502)]], [[gerrit:1275477|Attribution: Documentation copyedits]], [[gerrit:1275488|Attribution: Update contact and add call to action (T422502)]], [[gerrit:1275478|Attribution: Add localized texts for tre