User:Legoktm/pings

Pings suck because:


 * Based on username linking, which is used for other things... like linking to users (c.f.  on enwp)
 * No way to verify you actually pinged someone
 * Requires a signature
 * Can't go back and adjust text to ping someone
 * Three preceding bullets are about same general issue, namely that you can't reliably trust pings to work
 * Technically possible to "go back" by re-signing the edit, probably?

Idea!:
 * Create a PST magic word thing so you type in " ", which upon save is transformed into " User " (and support multiple users with $wgContLang->commaList).
 * Pinging has historically been a bit weird with template expansion; we used to have "phantom" pings caused by someone transcluding a page, mass-pinging, and then having that transclusion reverted
 * Echo hooks into PST somehow to do the transformation and note which users were mentioned
 * Easy for users to verify their pings went through
 * How?
 * Maybe use Special:Log to log pings?
 * Might help prevent abuse
 * Pinging has to be deliberate, but most people are already using the wrapper template so it shouldn't be too disruptive
 * Need to account for pinging abuse/mis-use
 * Current pinging has hard limit for users that can be pinged
 * Right, how do you handle the maximum ping limit? Does the parser function just not get transformed in this case?

Notes:
 * Is this even technically possible???
 * On-wiki templates might be implemented differently, so overriding them with magic word might cause problems.
 * Syntax is different ( instead of  ), should be fine
 * What about saving pages that already have a old "ping" template on them? Will it trigger new notifications?
 * Matt pointed out that the syntax would be so it wouldn't conflict.