Page MenuHomePhabricator

Instrumentation for footnote click in reader view
Closed, ResolvedPublic

Description

Context

We want to track a baseline of footnote clicks on the wikis where the A/B test should run. See Parent ticket

Acceptance Criteria

We want to track

  • source wiki
  • timestamp
  • logged-in status ( anon / not anon )
  • edit count buckets

Note:
These are all part of the default web schema. So no need for a custom schema here
They can be configured in the test setup UI in the Contextual Attributes

Implementation

  • Track clicks on the footnotes [1] in the article
  • Use the TestKitchen to create a simple instrument see epic for which wikis
  • Make sure we get the datapoints above

Event Timeline

Change #1239111 had a related patch set uploaded (by Mareike Heuer; author: Mareike Heuer):

[mediawiki/extensions/Cite@master] Add Test Kitchen instrumentation for footnote marker clicks

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

Change #1239877 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Mareike Heuer):

[mediawiki/extensions/Cite@wmf/1.46.0-wmf.16] Add instrument for clicks in footnotes in the article

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

Change #1238387 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Svantje Lilienthal):

[mediawiki/extensions/Cite@master] Add instrument for clicks in TOC references link

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

Change #1239111 merged by jenkins-bot:

[mediawiki/extensions/Cite@master] Add instrument for clicks in footnotes in the article

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

Change #1239877 merged by jenkins-bot:

[mediawiki/extensions/Cite@wmf/1.46.0-wmf.16] Add instrument for clicks in footnotes in the article

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

Mentioned in SAL (#wikimedia-operations) [2026-02-18T21:27:09Z] <kemayo@deploy2002> Started scap sync-world: Backport for [[gerrit:1240361|BaseEditCheck: fix check for blockquote (T417801)]], [[gerrit:1239873|Add instrument for clicks in TOC references link (T415910)]], [[gerrit:1239877|Add instrument for clicks in footnotes in the article (T415909)]]

Mentioned in SAL (#wikimedia-operations) [2026-02-18T21:29:21Z] <kemayo@deploy2002> kemayo, thiemowmde: Backport for [[gerrit:1240361|BaseEditCheck: fix check for blockquote (T417801)]], [[gerrit:1239873|Add instrument for clicks in TOC references link (T415910)]], [[gerrit:1239877|Add instrument for clicks in footnotes in the article (T415909)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-02-18T21:35:05Z] <kemayo@deploy2002> Finished scap sync-world: Backport for [[gerrit:1240361|BaseEditCheck: fix check for blockquote (T417801)]], [[gerrit:1239873|Add instrument for clicks in TOC references link (T415910)]], [[gerrit:1239877|Add instrument for clicks in footnotes in the article (T415909)]] (duration: 07m 56s)

Tobi_WMDE_SW claimed this task.