You can run all edits through a regular expression to check for this exact type of thing http://www.mediawiki.org/wiki/Manual:$wgSpamRegex
I used this on a site of mine to see if a user inserted 10 or more links - Just place in local settings $wgSpamRegex = '/([http://[a-z0-9./%_-]+(\s+[a-z0-9.-]+)+]\s+){10}/i';
On Jun 18, 2011, at 3:04 PM, Eric K wrote:
Does anyone know how I can detect whether a user has inserted a website link in the revision of the text that was submitted? I know how to check their age. My idea for this extension it: If a new user submits a link, they'll be asked to instead use the talk page. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l