[Migrated] Multiple skip options
Open, Needs TriagePublic


It would be useful to have an explicit AND function else we have to do "..REGEX1 .. REGEX2.. OR .. REGEX2 .. REGEX1.." with 6 combinations for three things, etc. But this is very low priority. @Rich_Farmbrough, 20:02, 31 August 2009 (UTC).

Related Objects

Reguyla updated the task description. (Show Details)
Reguyla raised the priority of this task from to Needs Triage.
Reguyla added a project: AutoWikiBrowser.
Reguyla moved this task to Skipping on the AutoWikiBrowser board.
Reguyla added subscribers: Reguyla, Aklapper.

@Mephiston999 wrote:
It would be great if it was possible in the skip section to be able to select more words so that if any of those are present then the page is skipped.

@Reedy, 19:20, 26 August 2009 (UTC) wrote:
Regex? (Word1|Word2|Word3)

@Xeno, 19:21, 26 August 2009 (UTC) wrote:
A better phrasing would be... "it would be great if AWB could do more to help people who are entirely n00bish about regex" =) Separating it such that you could have a list of the skip log of which word it matched would be nice as well.

@SunCreator, 02:50, 29 April 2010 (UTC) wrote:
<s>Required.</s> Trying to skip if contains 'Category:Living people' or 'Birth date and age|1900|1|1'. I know no way of doing that with regex because | is the separator and thus (Category:Living people|Birth date and age|1900|1|1) don't work. Regards,

@Rjwilmsi, 07:04, 29 April 2010 (UTC) wrote:
When you want a literal pipe you escape it: (Category:Living people|Birth date and age\|1900\|1\|1).

@SunCreator, 08:31, 29 April 2010 (UTC) wrote:
Thank you Rjwilmsi, you learn something everyday :) Regards,

@SunCreator, 23:29, 29 April 2010 (UTC) wrote:
I found another way around this if anyone is interested. If you use the pre-parse option, you can specify a skip option, then you pre-parse the list again with another skip option. Basically you can recurse your list as many times as you want and doing this is the same result as having multiple skip options, although it is somewhat slower because you reload the article multiple times. Regards,

@SunCreator, 19:33, 2 May 2010 (UTC) wrote:
I noticed Regex (Word1|Word2|Word3) is logical OR. How does one use it to find out: word1 AND word2 AND word3? Regards,

@Rich_Farmbrough, 15:50, 3 May 2010 (UTC) wrote:
Exactly the point. You have to do ( Word1.*word2.*word3| Word1.*word3.*word2| Word2.*word1.*word3| Word2.*word3.*word1| Word3.*word1.*word2| Word3.*word2.*word1) (Or (1(23|32)|2(13|31)|3(12|21)) )

This is bad enough but if you have 4 its even more complex . (In fact you can skip all with word 1, delete the list and copy back the skip list, skip all with word 2.. etc... and even mix these methods reasonably getting 6 "ands" in 2 passes.) So it is do-able but it would be nice to have

@Rich_Farmbrough, 04:32, 28 September 2010 (UTC) wrote:
Template {{Tl|AWB orderless}} coming up.

@Rich_Farmbrough, 05:49, 28 September 2010 (UTC) wrote:
{{AWB orderless|John|George|Paul|Ringo}} - testing... takes up to 6 paramters. You really don't want to go to 7.

Jarekt added a subscriber: Jarekt.Jul 7 2015, 2:42 PM

Another work around is to replace any word or phrase you want to skip with string "SKIP" and than skip if that string is found after page is processed.

StjnVMF updated the task description. (Show Details)May 18 2018, 5:20 PM
StjnVMF added a subscriber: StjnVMF.
StjnVMF removed subscribers: Jarekt, Reedy, Rich_Farmbrough and 3 others.
JJMC89 updated the task description. (Show Details)May 18 2018, 5:39 PM
JJMC89 edited subscribers, added: Rich_Farmbrough, Jarekt, Reedy and 3 others; removed: StjnVMF.