Operator: DannyS712 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 03:09, Tuesday, August 13, 2019 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Javascript
Source code available: User:DannyS712_test/redirects.js
Function overview: Automatically patrol redirects that only differ in the use of dashes/hyphens/etc
Links to relevant discussions (where appropriate):
Edit period(s): As needed
Estimated number of pages affected: A dozen per week (guessing)
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: Patrol redirects where the title and target match the form Foo[-‒–—―]Bar
-> Foo[-‒–—―]Bar
, meaning that the only difference is the use of a dash/hyphen/minus sign, etc
if (comparePages( target.replace( /[-‒–—―]/g, '-'), title.replace( /[-‒–—―]/g, '-' ) ) ) return true;
. Thanks, --DannyS712 (talk) 03:16, 19 August 2019 (UTC)[reply]