Page MenuHomePhabricator

Idea: Make the use of ping more easy for new users (e.g. when a username is prefixed by '@')
Open, Needs TriagePublic

Description

Browsing through talk pages I noticed the following: A new user had asked another user a question and started it with @username. He probably expected the other user to be notified, but as it does not work this way in mediawiki, never got an answer.

So, it would be easy to do a javascript, that scans through input boxes and if a "@" at the start of a line or preceded by a space is found, then if the following word matches an user name or a sig of an user that is either mentioned on the page or can be verified by an api call to be a local user, then the script opens a box with a text that tells an ip-user to login and then use ping, or asks a logged in user, if this should be transformed to a wiki link to that user.

But this does only make sense, if it is not an user script or gadget, but only if it is integrated in the system javascript of all wm-sites.

Additionaly there could be gadgets to allow experienced users to opt out or alternatively to skip the box questioning, if the transformation should be made.

Local wikis could set a configuration variable, so that the script inserts a local ping template instead.

Event Timeline

Aklapper renamed this task from Idea: Make the use of ping more easy for new users to Idea: Make the use of ping more easy for new users (e.g. when a username is prefixed by '@').Mar 8 2017, 1:21 PM

A system that opens a box for a username when you type '@' already exists in Flow. Porting that to wikitext is an interesting idea, and probably wouldn't be too difficult.