Page MenuHomePhabricator

GlobalWatchlist displays hidden tags
Open, Needs TriagePublic

Assigned To
None
Authored By
matmarex
Feb 17 2026, 7:30 PM
Referenced Files
F73177077: image.png
Mar 20 2026, 12:51 AM
F73176975: image.png
Mar 20 2026, 12:51 AM
F72153913: image.png
Feb 17 2026, 7:30 PM
F72153911: image.png
Feb 17 2026, 7:30 PM
F72153901: image.png
Feb 17 2026, 7:30 PM

Description

Very commonly applied tags, e.g. 'wikieditor' or 'discussiontools', are hidden on normal watchlist, page histories, and so on. They are shown on GlobalWatchlist (using their internal names). This makes the watchlist unnecessarily cluttered and sometimes causes entries to wrap over multiple rows when they don't need to.

These tags should not be shown, just like in normal watchlists.

image.png (1×1 px, 286 KB)

Compare to:

image.png (1×1 px, 160 KB)

image.png (1×1 px, 221 KB)

Event Timeline

Change #1235571 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/GlobalWatchlist@master] Add support for hiding hidden tags

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

Is it documented somewhere? Because 1) I found that hidden tags have the text "-", not empty, and 2) I saw cases people do not fill both fields just because they are identical, not to hide something.

Change #1240066 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/core@master] Clarify documentation for action=query&list=tags

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

  1. I saw cases people do not fill both fields just because they are identical, not to hide something.

I don't understand, can you clarify?

Yes. There are people that see that tag name column and Appearance on change lists column are the same and decide that one time is enough, no need to repeat. I do not say they are right, but this is happening sometimes.

Change #1240066 merged by jenkins-bot:

[mediawiki/core@master] Clarify documentation for action=query&list=tags

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

Well, @matmarex, looks like it was merged before we finished to talk about this. A pity, but fine, we continue to talk, and maybe upload another change, if will be needed.

Well, @matmarex, looks like it was merged before we finished to talk about this. A pity, but fine, we continue to talk, and maybe upload another change, if will be needed.

That was just the documentation change: adding "This property will be omitted for hidden tags." and some wording changes on https://en.wikipedia.beta.wmcloud.org/w/api.php?action=help&modules=query%2Btags (compare to https://en.wikipedia.org/w/api.php?action=help&modules=query%2Btags).

The patch for GlobalWatchlist isn't merged yet.

Sorry I didn't reply to this earlier.

  1. I saw cases people do not fill both fields just because they are identical, not to hide something.

I don't understand, can you clarify?

Yes. There are people that see that tag name column and Appearance on change lists column are the same and decide that one time is enough, no need to repeat. I do not say they are right, but this is happening sometimes.

That won't be a problem. If the tag description message does not exist (the "edit" link is red in the "Appearance on change lists" column), the internal tag name is used instead (as in the "Tag name" column). The tag is only hidden if the description message has been created, and it is set to empty string or -.

For example, on https://en.wikipedia.org/wiki/Special:Tags, the missing file added tag does not have a description message:

image.png (93×1 px, 11 KB)

But in the API response, the displayname field for this tag is still present:
https://en.wikipedia.org/w/api.php?action=query&list=tags&tglimit=max&tgprop=displayname#:~:text=missing%20file%20added

…Unlike for an actually hidden tag:
https://en.wikipedia.org/w/api.php?action=query&list=tags&tglimit=max&tgprop=displayname#:~:text=discussiontools%2Dadded%2Dcomment

The tag is shown on Recent changes, Watchlist, etc., and will still be shown on GlobalWatchlist in the same way:

image.png (967×1 px, 224 KB)

Sorry I didn't reply to this earlier.

  1. I saw cases people do not fill both fields just because they are identical, not to hide something.

I don't understand, can you clarify?

Yes. There are people that see that tag name column and Appearance on change lists column are the same and decide that one time is enough, no need to repeat. I do not say they are right, but this is happening sometimes.

That won't be a problem. If the tag description message does not exist (the "edit" link is red in the "Appearance on change lists" column), the internal tag name is used instead (as in the "Tag name" column). The tag is only hidden if the description message has been created, and it is set to empty string or -.

For example, on https://en.wikipedia.org/wiki/Special:Tags, the missing file added tag does not have a description message:

image.png (93×1 px, 11 KB)

But in the API response, the displayname field for this tag is still present:
https://en.wikipedia.org/w/api.php?action=query&list=tags&tglimit=max&tgprop=displayname#:~:text=missing%20file%20added

…Unlike for an actually hidden tag:
https://en.wikipedia.org/w/api.php?action=query&list=tags&tglimit=max&tgprop=displayname#:~:text=discussiontools%2Dadded%2Dcomment

The tag is shown on Recent changes, Watchlist, etc., and will still be shown on GlobalWatchlist in the same way:

image.png (967×1 px, 224 KB)

I see. Thank you for the expanded explanation, I'm OK with this task now.

Well, @matmarex, looks like it was merged before we finished to talk about this. A pity, but fine, we continue to talk, and maybe upload another change, if will be needed.

My bad, not paying attention the task has two changes, sorry.

Change #1256586 had a related patch set uploaded (by Reedy; author: Bartosz Dziewoński):

[mediawiki/core@REL1_45] Clarify documentation for action=query&list=tags

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

Change #1256589 had a related patch set uploaded (by Reedy; author: Bartosz Dziewoński):

[mediawiki/core@REL1_44] Clarify documentation for action=query&list=tags

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

Change #1256590 had a related patch set uploaded (by Reedy; author: Bartosz Dziewoński):

[mediawiki/core@REL1_43] Clarify documentation for action=query&list=tags

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

Change #1256590 merged by jenkins-bot:

[mediawiki/core@REL1_43] Clarify documentation for action=query&list=tags

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

Change #1256589 merged by jenkins-bot:

[mediawiki/core@REL1_44] Clarify documentation for action=query&list=tags

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

Change #1256586 merged by jenkins-bot:

[mediawiki/core@REL1_45] Clarify documentation for action=query&list=tags

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