Page MenuHomePhabricator

Active Discussions: Include example talk pages on Patch Demo
Open, In Progress, MediumPublic2 Estimated Story Points

Description

Patch Demo currently does not have $wgPersonalDashboardActiveDiscussionsPages configured for the PersonalDashboard extension. This becomes rather inconvenient during the testing phase of the software development life cycle, as we have to resort to creating a separate "Do Not Merge" (DNM) patch on Gerrit every time we make changes to the Active Discussions module and need to show a list of cards in the results. Since the Active Discussions feature flag is slated to be removed soon, resolving this task would prevent the module from appearing broken or empty.

On the deployment of a new wiki instance, Patch Demo should automatically initialize a few example talk pages and register them in LocalSettings. Referencing steps I.2 and I.3 from ADDING_EXTENSIONS.md, our course of action should be:

  1. Create an XML dump that includes some example talk pages (such as Village pump)
    1. Optionally add 3 articles with 3 edits each to the Dump as well
  2. Add extensions-PersonalDashboard.txt and extensions-PersonalDashboard.xml to the pages directory (see README.md)
  3. Add extensions-PersonalDashboard.php to the localsettings directory (with $wgPersonalDashboardActiveDiscussionsPages config value set)
  4. Open a merge request on the GitLab repo and wait for approval
  5. Deploy a new Patch Demo instance to verify if the Active Discussions module shows results properly

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
PersonalDashboard: Add local settingsrepos/test-platform/catalyst/ci-charts!133dhardymainmain
PersonalDashboard: Add example pagesrepos/releng/dev-images!106dhardyT424663main
PersonalDashboard: Add example pages and config valuesrepos/test-platform/catalyst/patchdemo!340dhardyT424663main
Customize query in GitLab

Event Timeline

Dillon changed the task status from Open to In Progress.Wed, May 13, 3:15 PM
Dillon claimed this task.
Dillon moved this task from Ready to In Progress on the Moderator-Tools-Team (Kanban) board.

Mentioned in SAL (#wikimedia-releng) [2026-06-01T21:34:56Z] <jeena> Updating development images on contint primary for T424663