Wikipedia:Bots/Requests for approval/ScannerBot: Difference between revisions

Content deleted Content added
Line 55:
*:And, on a minor note, this has prompted me to run Task 17 again... [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 14:49, 7 May 2022 (UTC)
*:I didn't have a method for determining that they are actually parameters of an URL. I tested with a python script that just matched on keywords within the source. I didn't know that there were previous tasks. I will take a look at those and perhaps amend the regex to match more parameters. [[User:0xDeadbeef|<span style="font-family: Fira Code, Fira Mono, JetBrains Mono, Noto Mono, Courier New, monospace">0xDEADBEEF</span>]] <span style="font-family: serif">([[User talk:0xDeadbeef|T]] [[Special:Contributions/0xDeadbeef|C]])</span> 02:30, 8 May 2022 (UTC)
*::<code>{{red|<nowiki>\??(?:&?(?:fbclid|yclid|referrer|gs_l|dclid|_ga|_gl|fb_(?:source|ref)|ref_?)=[^&\s\]\|]*?)+(?=<|}|]|\s|\|)</nowiki>}}|{{blue|<nowiki>(?<=\?)(?:&?(?:fbclid|yclid|referrer|gs_l|dclid|_ga|_gl|fb_(?:source|ref)|ref_?)=[^&\s\]\|]*)+&</nowiki>}}|{{green|<nowiki>(?<=&)(?:&?(?:fbclid|yclid|referrer|gs_l|dclid|_ga|_gl|fb_(?:source|ref)|ref_?)=[^&\s\]\|]*)+&</nowiki>}}</code> [[User:0xDeadbeef|<span style="font-family: Fira Code, Fira Mono, JetBrains Mono, Noto Mono, Courier New, monospace">0xDEADBEEF</span>]] <span style="font-family: serif">([[User talk:0xDeadbeef|T]] [[Special:Contributions/0xDeadbeef|C]])</span> 02:40, 8 May 2022 (UTC)