Edit filter configuration

Differences between versions

ItemVersion from 07:57, 11 April 2022 by OshwahVersion from 20:44, 6 June 2022 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". --Oshwah 6/6/2022
Filter conditions
Conditions:
(documentation)
action == "createaccount" &
action == "createaccount" &
(
(
stringy := "FITNESS|DIGITAL\b|MARKETING|MR?KTN?G|STRATEGIES|CORPORAT(E|ION\b)|COMPANY|((CO\.?|PTY\.?|PRIVATE|PVT\.?)? ?(LIMITED|LMTD\.?|LTD\.?))$|TECHNOLOG(Y|IES)|INDUSTR(Y|IES)|(IT)? ?SOLUTIONS?|LABORATORIES|FOUNDATION|LL(C|P)\.?$|\bINC\.?$|\bPLC\.?$|MANAGING ?PARTNER|PRODUCT(IONS?)?|(CREATIVE ?)?SOFTWARE|CONSULT(AN(T|CY)|ING)|DEVELOP(ER|RE)S|SERVICES?|CREAT(E|I(ONS?|V(E|ITY)))|APPARELS?|AUTOMOTIVE|INFOTECH|ENTERPRISES?|HOLDINGS|PUBLISHINGS?|CATER(ERS?|ING)|NEWS\b|MEDIA\b|STUDIOS?\b|MISSIONS|FOUNDATIONS?|RECORD(S$|(INGS?))|INSTITUTES?|UNIVERSITY|COLLEGE|SCHOOL|DISTRICT|ADMINISTRATION|FASHION|FABRICS|CLOTHING|GMBH|GROUPS?|MINISTR(Y|IES)|VIDEOGRAPHY|INFORMATICS?|FELLOWSHIP|CHURCH|SUBSCRIBE ?(TO)?|SUB TO|CHANNEL|ENTERTAINMENT|(?<!UN)(?<![ -])OFFICIAL|AFFORDABLE|PURCHASE|THERAPEUTIC(AL|S)|MEDICAL|CAREERS|DISTILLERY$|BREWERY$|(DOT|\.)(CO(M|(\.| )?UK)|NET|ORG|GOV|TV)$|PUBLICATIONS?|REALTY|(SERVICE|TREATMENT) ?CENT(ER|RE)|KETO\b|\bDIET\b|INDIA$|CONFERENCE|PUBLISHERS?|CORRESPONDENCE|PROPERT(Y|IES)|REAL ?ESTATE|RENTAL|TIME ?SHARE|VACATION|TOURS|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 ?STORE\b|ADVERTIS(E(MENT)?|ING)|ELECTRONICS|\bSTAFF\b|\bCLUB\b|UNION|BLOG$|FURNITURE$|CORPS?$|MAGAZINE";
stringy := "FITNESS|DIGITAL\b|MARKETING|MR?KTN?G|STRATEGIES|CORPORAT(E|ION\b)|COMPANY|((CO\.?|PTY\.?|PRIVATE|PVT\.?)? ?(LIMITED|LMTD\.?|LTD\.?))$|TECHNOLOG(Y|IES)|INDUSTR(Y|IES)|(IT)? ?SOLUTIONS?|LABORATORIES|FOUNDATION|LL(C|P)\.?$|\bINC\.?$|\bPLC\.?$|MANAGING ?PARTNER|PRODUCT(IONS?)?|(CREATIVE ?)?SOFTWARE|CONSULT(AN(T|CY)|ING)|DEVELOP(ER|RE)S|SERVICES?|CREAT(E|I(ONS?|V(E|ITY)))|APPARELS?|AUTOMOTIVE|INFOTECH|ENTERPRISES?|HOLDINGS|PUBLISHINGS?|CATER(ERS?|ING)|NEWS\b|MEDIA\b|STUDIOS?\b|MISSIONS|FOUNDATIONS?|RECORD(S$|(INGS?))|INSTITUTES?|UNIVERSITY|COLLEGE|SCHOOL|DISTRICT|ADMINISTRATION|FASHION|FABRICS|CLOTHING|GMBH|GROUPS?|MINISTR(Y|IES)|VIDEOGRAPHY|INFORMATICS?|FELLOWSHIP|CHURCH|SUBSCRIBE ?(TO)?|SUB TO|CHANNEL|ENTERTAINMENT|(?<!UN)(?<![ -])OFFICIAL|AFFORDABLE|PURCHASE|THERAPEUTIC(AL|S)|MEDICAL|CAREERS|DISTILLERY$|BREWERY$|(DOT|\.)(CO(M|(\.| )?UK)|NET|ORG|GOV|TV)$|PUBLICATIONS?|REALTY|(SERVICE|TREATMENT) ?CENT(ER|RE)|KETO\b|\bDIET\b|INDIA$|CONFERENCE|PUBLISHERS?|CORRESPONDENCE|PROPERT(Y|IES)|REAL ?ESTATE|RENTAL|TIME ?SHARE|VACATION|TOURS|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 ?STORE\b|ADVERTIS(E(MENT)?|ING)|ELECTRONICS|\bSTAFF\b|\bCLUB\b|UNION|BLOG$|FURNITURE$|CORPS?$|MAGAZINE|PODCAST";
user_rights ? /* T230256 workaround */
user_rights ? /* T230256 workaround */
     !('override-antispoof' in user_rights) :
     !('override-antispoof' in user_rights) :
true
true
) &
) &
(ccnorm(accountname) rlike stringy)
(ccnorm(accountname) rlike stringy)