Page MenuHomePhabricator

Warn when writing incorrect pings in an edit summary
Open, Needs TriagePublicFeature

Description

Feature summary
So you can ping people in edit summaries by writing "@[[User:Username]]". A warning should be shown when doing one of the following:

  • If you write a page in other namespace than User into the square brackets
  • If the username you typed doesn't exist
  • If you forgot the square brackets

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
It's relatively easy to for example forget to write "User:" and "ping" mainspace pages

Benefits (why should this be implemented?):
Edit summaries cannot be edited afterwards so that mistake cannot be fixed (ah but see T15937: Changeable (editable) edit summaries)

Event Timeline

Bugreporter subscribed.

This should better be achieved by a gadget.

If you write a page in other namespace than User into the square brackets

There are valid reason to link a page in summary.

A_smart_kitten subscribed.

A warning should be shown when doing one of the following:

  • If you write a page in other namespace than User into the square brackets
  • […]

To be honest, I'm not sure whether this would work that well in practice, as people might deliberately want to link from an edit summary to a page that isn’t in the User: namespace.

A_smart_kitten renamed this task from Warn when writing incorrect pings to Warn when writing incorrect pings in an edit summary.Sep 12 2025, 3:12 PM

I don't think people are using @ in links to mainspace pages

I don't think people are using @ in links to mainspace pages

Ah, I didn't mentally apply the @ you mentioned to the next thing you wrote in the task description, my bad.