[go: up one dir, main page]

Page MenuHomePhabricator

Don't show table of results on Special:SimilarEditors if there are no similar editors
Closed, ResolvedPublic1 Estimated Story Points

Description

Reported in T307023#7963123

Currently, if there are no similar editors but the request was successful, we see the table headers:

only_headers.png (505×1 px, 48 KB)

Instead, we should see the message: "There are no results."

Event Timeline

AGueyte set the point value for this task to 1.Jun 13 2022, 3:19 PM

Change 806353 had a related patch set uploaded (by AGueyte; author: AGueyte):

[mediawiki/extensions/SimilarEditors@master] Don't show table if no result

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

Change 806353 merged by jenkins-bot:

[mediawiki/extensions/SimilarEditors@master] Don't show table if no result

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

dom_walden subscribed.

Here is what the example from the description looks like now:

no_results_now.png (442×1 px, 40 KB)

I repeated with a number of users and IPs which also had no similar editors.

I also tested a user who did have similar editors to check that the results did show correctly in that case.

Test environment: local docker Similar Editors 0.0.0 (f294db1) 06:13, 22 June 2022.