On 09/30/2014 05:23 PM, Erik Bernhardson wrote: > This was written[1] for Echo a couple years ago at the beginning of the > project. This particular implementation is far from perfect, but here are > a couple of the complexities involved: > > * a single regexp doesn't currently match timestamps in different > languages, so a timestamp regex is generated based on the $wgContLang > timestamp output. > * wiki's each control their own signature[2]. Changing the signature > exposed a bug[3] in Echo which caused it to stop sending mention > notifications. > * The fix[4] for above basically switches the code around to extract > wikilinks from the wikitext and run their content through Title to > determine if a link is to NS_USER, NS_USER_TALK, or the Contributions page > of NS_SPECIAL, all of which appear in signatures. > > From the standpoint of programmatically detecting a signature, the above > could be cleaned up and work well enough.
I agree. If we can solve this with a reasonable amount of tech and elbow grease in a way that works for old discussions too, then I think we should do so. Gabriel _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
