Last modified: 2009-04-01 05:05:57 UTC
The way the AbuseFilter is currently set, results in an error whenever I try to introduce a new variable that is not preset. Presumably this is a safeguard to avoid too much stress on the servers, but it proves particular complicated when I try to do string manipulations. I want to match the title (article_text) of an article that has a modifier in it -- like [[11 (number)]] or [[Titanic (film)]]. There should be a function available that: 1. Allows us to make a match, then use the non-matched material to go on. 2. Allows us to remove a match from the initial string before further actions occur.
In addition to allowing some limited form of string manipulation it would also be nice to have something that allows checking the existence of another article that is related, but not being edited. For example, checking to see if a link that is being redirected to exists or if [[Foobar]] exists when someone tries to create [[Foobar (disambiguation)]].
Added strpos, str_replace, substr functions in r49109. Please let me know if you want any more.