mediawiki-extensions-AbuseF.../includes/parser
Daimona Eaytoy 98bcad25c3 Also parse numbers with the new syntax and hard-deprecate the old one
This will allow people to switch their filters to the new syntax. The
deprecation warning is now more exhaustive, and the info() warning is
kept to ensure that everything proceeds smoothly.
The regex v2 has also been fixed to:
 - Consume all the digits/letters on the right (*)
 - Have named groups
 - Be created dynamically with other constants

(*) The previous version of v2 could complete the match and leave
digits/letters on the right when encountering numbers with the old
syntax, hence dropping support too early. We also cannot use a word
boundary (\b) because that would prevent matching numbers with trailing
dots (e.g. "5.").

Bug: T212730
Change-Id: Ibf6ac571f6b5c09149d69a19c38240ce6b024dff
2019-11-12 11:52:38 +00:00
..
AbuseFilterCachingParser.php Centralize the code for calling keywords 2019-11-08 15:02:17 +01:00
AbuseFilterParser.php Hard-deprecate empty operands 2019-11-12 11:39:25 +00:00
AbuseFilterTokenizer.php Also parse numbers with the new syntax and hard-deprecate the old one 2019-11-12 11:52:38 +00:00
AFPData.php Merge "Check for 0-like floats passed to the modulo operator" 2019-11-10 11:51:28 +00:00
AFPException.php Move various classes to their own files 2016-12-17 11:40:10 -08:00
AFPParserState.php Revert "Revert "Add typehinting for every object-only parameter"" 2018-11-15 10:09:16 +01:00
AFPSyntaxTree.php Annotate the AST with var names before caching the AST 2019-09-13 19:43:50 +00:00
AFPToken.php Add doc for every class member 2019-03-17 11:40:24 +01:00
AFPTreeNode.php Annotate the AST with var names before caching the AST 2019-09-13 19:43:50 +00:00
AFPTreeParser.php Hard-deprecate too many params 2019-11-10 12:59:33 +00:00
AFPUserVisibleException.php Explicitly forbid negative indexes in arrays 2019-11-08 05:55:56 +00:00