Edit filter configuration

Differences between versions

ItemVersion from 00:54, 31 December 2023 by OshwahVersion from 21:51, 2 January 2024 by Oshwah
Basic information
Notes:
Creating initial filter version for testing. --Oshwah 3/16/2020
Creating initial filter version for testing. --Oshwah 3/16/2020
(Legend for below: + means added, - means removed, * means improved, changed, or otherwise noted)
(Legend for below: + means added, - means removed, * means improved, changed, or otherwise noted)
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------


* "Pvt Ltd" - Updating condition to fix an issue with the code resulting in no hits.
* "Pvt Ltd" - Updating condition to fix an issue with the code resulting in no hits.
+ "Real Estate", "Vacation", "Rental", "Time Share", "Tours", "Correspondence", "Properties", "Interiors", "Projects", "Agency", "Plumbing", "Treatment Center", "Global" --Oshwah 3/16/2020
+ "Real Estate", "Vacation", "Rental", "Time Share", "Tours", "Correspondence", "Properties", "Interiors", "Projects", "Agency", "Plumbing", "Treatment Center", "Global" --Oshwah 3/16/2020


+ "Office", "Relocations". --Oshwah 3/17/2020
+ "Office", "Relocations". --Oshwah 3/17/2020


* "Caterer" - Expanded to include more conditions and possible hits.
* "Caterer" - Expanded to include more conditions and possible hits.
* "Official" - Added negative look-ahead so that the word "unofficial" is not flagged as a match.
* "Official" - Added negative look-ahead so that the word "unofficial" is not flagged as a match.
* "dotcom", "dotnet", "dotgov" - Combined for easier review.
* "dotcom", "dotnet", "dotgov" - Combined for easier review.
+ "dotorg", "Financial".
+ "dotorg", "Financial".
* Modified regex to remove capital letters and just use irlike instead of rlike.
* Modified regex to remove capital letters and just use irlike instead of rlike.
* "Technology" - Removed extra letter.
* "Technology" - Removed extra letter.
* "Office" - Added negative look-ahead so that 'officer' does not flag as a hit.
* "Office" - Added negative look-ahead so that 'officer' does not flag as a hit.
+ "Corporate", "funding", "hardware", "graphic design", "online store" --Oshwah 3/21/2020
+ "Corporate", "funding", "hardware", "graphic design", "online store" --Oshwah 3/21/2020


* Fixed accidentally left over right brace ( "]" ) left in "subscribe to".
* Fixed accidentally left over right brace ( "]" ) left in "subscribe to".
* Optimized and reduced, fixed code. --Oshwah 12/3/2021
* Optimized and reduced, fixed code. --Oshwah 12/3/2021


+ "advertise", "advertising", "advertisement", "electronics", "advertise", "advertisement", "advertising", "electronics", "staff", "club", "union", "create", "creativity".
+ "advertise", "advertising", "advertisement", "electronics", "advertise", "advertisement", "advertising", "electronics", "staff", "club", "union", "create", "creativity".
* Fixed accidentally left over right brace ( "]" ) left in "media".
* Fixed accidentally left over right brace ( "]" ) left in "media".
* Fixed "limited", "lmtd", or "ltd" to no longer require "co", "pty", "private", or "pvt" to precede the string. --Oshwah 12/16/2021
* Fixed "limited", "lmtd", or "ltd" to no longer require "co", "pty", "private", or "pvt" to precede the string. --Oshwah 12/16/2021


+ "blog". --Oshwah 12/17/2021
+ "blog". --Oshwah 12/17/2021


* Refactored code to use ccnorm(). --Oshwah 2/10/2022
* Refactored code to use ccnorm(). --Oshwah 2/10/2022


* Changed parameter in "actions" from "include" to "==" in order to have this filter log only flag accounts that are created here, not automatically created on another wiki project. --Oshwah 2/10/2022
* Changed parameter in "actions" from "include" to "==" in order to have this filter log only flag accounts that are created here, not automatically created on another wiki project. --Oshwah 2/10/2022


+ ".co uk", "dotcouk",".co.uk", etc. --Oshwah 3/31/2022
+ ".co uk", "dotcouk",".co.uk", etc. --Oshwah 3/31/2022


+ "magazine". --Oshwah 4/11/2022
+ "magazine". --Oshwah 4/11/2022


+ "podcast", "airline". --Oshwah 6/6/2022
+ "podcast", "airline". --Oshwah 6/6/2022


+ "healthcare". --Oshwah 6/7/2022
+ "healthcare". --Oshwah 6/7/2022


+ "casino", "gambling". "security", "securities", "museum".
+ "casino", "gambling". "security", "securities", "museum".
* Optimized and improved code and conditions.
* Optimized and improved code and conditions.
* Modified all enclosures to no longer be capturing groups if they are not used for capture. --Oshwah 7/4/2022
* Modified all enclosures to no longer be capturing groups if they are not used for capture. --Oshwah 7/4/2022


+ "Decor". --Oshwah 10/4/2022
+ "Decor". --Oshwah 10/4/2022


Catch 'autocreateaccount' as well --DatGuy 20:13 3 Dec 2022
Catch 'autocreateaccount' as well --DatGuy 20:13 3 Dec 2022


Rm T230256 workaround. --Suffusion of Yellow 00:23 4 Dec 2022
Rm T230256 workaround. --Suffusion of Yellow 00:23 4 Dec 2022


+ "Youtube".
+ "Youtube".
* Updated "Subscribe" to add "subscription". --Oshwah 4/13/2022
* Updated "Subscribe" to add "subscription". --Oshwah 4/13/2022


+ "Associates", "Academy". --Oshwah 12/27/2023
+ "Associates", "Academy". --Oshwah 12/27/2023


+ "Appliance", "Campus", "Alliance", "Congregation", "Sales", "Workshop", "Workgroups", "Reality", "Realtor", "Weight loss", "Institution".
+ "Appliance", "Campus", "Alliance", "Congregation", "Sales", "Workshop", "Workgroups", "Reality", "Realtor", "Weight loss", "Institution".
* Combined regex code for similar words such as "Securities", "Universities", "Communities" into one regex condition.
* Combined regex code for similar words such as "Securities", "Universities", "Communities" into one regex condition.
* Fix and added variants to negative lookbehind so that "unofficial" doesn't flag the username as a hit.
* Fix and added variants to negative lookbehind so that "unofficial" doesn't flag the username as a hit.
* Other small fixes and improvements. --Oshwah 12/29/2023
* Other small fixes and improvements. --Oshwah 12/29/2023


+ "Researchers", "Researching". --Oshwah 12/30/2023
+ "Researchers", "Researching". --Oshwah 12/30/2023
+ "Union", "Commission", "Association".  --Oshwah 1/2/2024
Filter conditions
Conditions:
(documentation)
action contains "createaccount" &
action contains "createaccount" &
!('override-antispoof' in user_rights) &
!('override-antispoof' in user_rights) &
(
(
stringy := "FITNESS|DIGITAL\b|MARKET(?:S|ING)|MR?KTN?G\.?|STRATEGIES|\bINC(?:\.?$|ORPORATED)|CORP(?:S?.?$|ORATE|ORATION\b)|COMPAN(?:Y|IES)|(?:(?:CO\.?|PTY\.?|PRIVATE|PVT\.?)? ?(?:LIMITED|LMTD\.?|LTD\.?))$|A(?:LL|PPL)IANCES?(?#**Alliance, Appliance**)|TECHNOLOG(?:Y|IES)|INDUSTR(?:Y|IES)|(?:IT)? ?SOLUTIONS?|LABORATORIES|LL[CP]\.?$|\bPLC\.?$|MANAGING ?PARTNER|PRODUCT(?:IONS?|S)|(?:CREATIVE)? ?SOFTWARE|CONSULT(?:AN(?:T|CY)|ING)(?#**Consultant, Consulting, Consultancy**)|DEVELOP(?:ER|RE)S|SERVICES?|CREAT(?:E|I(?:ONS?|V(?:E|ITY)))|APPARELS?|AUTOMOTIV|ENTERPRISES?|HOLDINGS|RESEARCH(?:ERS|ING)|PUBLISHINGS?|CATER(?:ERS?|INGS?)|NEWS\b|MEDIA\b|STUDIOS?\b|MISSIONS|FOUNDATIONS?|RECORD(?:S$|INGS?)|(?:UNIVERS|COMMUN|SECUR)IT(?:Y|IES)(?#**Universities, Communities, Securities**)|INSTITUT(?:E|ION)S?|COLLEGE|SCHOOL|CAMPUS|ACADEM(?:Y|IES)|MUSEUM|DISTRICT|ADMINISTRATION|FASHION|FABRICS|CLOTHING|GMBH|(?:WORK)? ?GROUPS?|WORK ?(?:SHOP|GROUP)|GROUPS?|MINISTR(?:Y|IES)|VIDEOGRAPHY|INFO(?:R?MATICS?|TECH)(?#**Informatics, Infomatics, Infotech**)|FELLOWSHIP|CHURCH|CONGREGATION|SUBSCRI(?:BE(?: ?TO)?|PTION)|SUB TO|CHANNEL|\bYT\b|ENTERTAINMENT|(?<!UN|UN-|UN |UNN|UNN-|UNN )OFFICIAL(?!S|LY)|AFFORDABLE|PURCHASE|THERAPEUTIC(?:AL|S)?|MEDICAL|CAREERS|DISTILLER(?:Y|IES)|BREWER(?:Y|IES)|(?:DOT|\.)(?:CO(?:M|(?:\.| )?UK)|NET|ORG|GOV|TV)$|PUBLICATIONS?|REAL(?:T(?:Y|OR)| ?ESTATE)(?#**Realty, Realtor, Real estate**)|(?:SERVICE|TREATMENT) ?CENT(?:ER|RE)|KETO\b|\bDIET\b|WEIGHT ?LOSS|INDIA$|CONFERENCE|PUBLISHERS?|CORRESPONDENCE|PROPERT(?:Y|IES)|RENTAL|TIME ?SHARE|VACATIONS?|TOURS|SALES|INTERIORS|PROJECTS?$|AGENC(?:Y|IES)|AUTO ?(?:GLASS|REPAIR)|PLUMBING|CENTER|GLOBAL\b|OFFICES?(?!R)|RELOCATION|FINANC(?:E|IAL)|FUNDING|HARDWARE\b|GRAPHIC ?DESIGN\b|ONLINE ?S(?:TORE|HOP(?:PING)?)|ADVERTIS(?:E(?:MENT)?|ING)|ELECTRONICS|\bSTAFF\b|\bCLUB\b|UNION|BLOG$|FURNITURE$|MAGAZINE|PODCAST|AIRLINE|HEALTHCARE|CASINO|GAMBLING|\bDESIGNERS?\b|DECOR$|YOU ?TUBE|ASSOCIATES?";
stringy := "FITNESS|DIGITAL\b|MARKET(?:S|ING)|MR?KTN?G\.?|STRATEGIES|\bINC(?:\.?$|ORPORATED)|CORP(?:S?.?$|ORATE|ORATION\b)|COMPAN(?:Y|IES)|(?:(?:CO\.?|PTY\.?|PRIVATE|PVT\.?)? ?(?:LIMITED|LMTD\.?|LTD\.?))$|A(?:LL|PPL)IANCES?(?#**Alliance, Appliance**)|TECHNOLOG(?:Y|IES)|INDUSTR(?:Y|IES)|(?:IT)? ?SOLUTIONS?|LABORATORIES|LL[CP]\.?$|\bPLC\.?$|MANAGING ?PARTNER|PRODUCT(?:IONS?|S)|(?:CREATIVE)? ?SOFTWARE|CONSULT(?:AN(?:T|CY)|ING)(?#**Consultant, Consulting, Consultancy**)|DEVELOP(?:ER|RE)S|SERVICES?|CREAT(?:E|I(?:ONS?|V(?:E|ITY)))|APPARELS?|AUTOMOTIV|\bUNION\b|ENTERPRISES?|HOLDINGS|RESEARCH(?:ERS|ING)|PUBLISHINGS?|CATER(?:ERS?|INGS?)|NEWS\b|MEDIA\b|STUDIOS?\b|MISSIONS|FOUNDATIONS?|RECORD(?:S$|INGS?)|\bCOMMISSION$|(?:UNIVERS|COMMUN|SECUR)IT(?:Y|IES)(?#**Universities, Communities, Securities**)|INSTITUT(?:E|ION)S?|COLLEGE|SCHOOL|CAMPUS|ACADEM(?:Y|IES)|MUSEUM|DISTRICT|ADMINISTRATION|FASHION|FABRICS|CLOTHING|GMBH|(?:WORK)? ?GROUPS?|WORK ?(?:SHOP|GROUP)|GROUPS?|MINISTR(?:Y|IES)|VIDEOGRAPHY|INFO(?:R?MATICS?|TECH)(?#**Informatics, Infomatics, Infotech**)|FELLOWSHIP|CHURCH|CONGREGATION|SUBSCRI(?:BE(?: ?TO)?|PTION)|SUB TO|CHANNEL|\bYT\b|ENTERTAINMENT|(?<!UN|UN-|UN |UNN|UNN-|UNN )OFFICIAL(?!S|LY)|AFFORDABLE|PURCHASE|THERAPEUTIC(?:AL|S)?|MEDICAL|CAREERS|DISTILLER(?:Y|IES)|BREWER(?:Y|IES)|(?:DOT|\.)(?:CO(?:M|(?:\.| )?UK)|NET|ORG|GOV|TV)$|PUBLICATIONS?|REAL(?:T(?:Y|OR)| ?ESTATE)(?#**Realty, Realtor, Real estate**)|(?:SERVICE|TREATMENT) ?CENT(?:ER|RE)|KETO\b|\bDIET\b|WEIGHT ?LOSS|INDIA$|CONFERENCE|PUBLISHERS?|CORRESPONDENCE|PROPERT(?:Y|IES)|RENTAL|TIME ?SHARE|VACATIONS?|TOURS|SALES|INTERIORS|PROJECTS?$|AGENC(?:Y|IES)|AUTO ?(?:GLASS|REPAIR)|PLUMBING|CENTER|GLOBAL\b|OFFICES?(?!R)|RELOCATION|FINANC(?:E|IAL)|FUNDING|HARDWARE\b|GRAPHIC ?DESIGN\b|ONLINE ?S(?:TORE|HOP(?:PING)?)|ADVERTIS(?:E(?:MENT)?|ING)|ELECTRONICS|\bSTAFF\b|\bCLUB\b|UNION|BLOG$|FURNITURE$|MAGAZINE|PODCAST|AIRLINE|HEALTHCARE|CASINO|GAMBLING|\bDESIGNERS?\b|DECOR$|YOU ?TUBE|ASSOCIAT(?:ES?|ION)";
(ccnorm(accountname) rlike stringy)
(ccnorm(accountname) rlike stringy)
)
)