Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: issue of showing the User_Talk metrics in Edit History #5248

Merged
merged 4 commits into from
Jan 23, 2025

Conversation

cooltey
Copy link
Collaborator

@cooltey cooltey commented Jan 22, 2025

What does this do?

This PR fixes the issue when requesting the https://wikimedia.org/api/rest_v1/metrics endpoint for a user talk page. It looks like an unsupported namespace, and we can check if the namespace is Main to avoid breaking the layout in the Edit History list.

Steps to reproduce

  1. Go to a user talk page.
  2. Click on the Edit history

The following screenshots show the invisible icon was caused by the incompleted request in the view model.

@cooltey cooltey requested a review from dbrant January 23, 2025 22:52
@dbrant dbrant merged commit 039a4d8 into main Jan 23, 2025
1 check passed
@dbrant dbrant deleted the fix-revision-history branch January 23, 2025 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants