- 🇫🇷France fgm Paris, France
The D10/D9 version, as of 8.x-1.0-alpha1, ships with a
Definition
filter plugin replicating the legacy hook_filter handling older versions used to have.The way it has been designed is to support another
Automatic
filter plugin that will automatically (hence the name) identify words matching G2 entries and wrap them in a<dfn>
element so that theDefinition/code> filter can then handle them. The keys to solving the underlying issues are the discovery of Aho-Corasick (already implemented and tested in alpha1) and the idea of having a "stop list" to avoid matching G2 entries that could be false positives. That way, when a term in the stop list still needs to be linked (as opposed to being a false positive), the author can still manually use a <code><dfn>
element to generate the definition link, but it will not be automatically added.
- Assigned to fgm
- Status changed to Needs review
over 1 year ago 6:03pm 1 July 2023 - last update
over 1 year ago 52 pass - 🇫🇷France fgm Paris, France
First step: the base filter and its configuration.
- last update
over 1 year ago 60 pass - 🇫🇷France fgm Paris, France
Multi-pattern matcher and filter implemented. Need more integration testing.
- last update
over 1 year ago 63 pass - 🇫🇷France fgm Paris, France
Stop list handled, with different values per input format. Seems to be feature-complete.
- 🇫🇷France fgm Paris, France
15 years later, merged to current dev HEAD. Thanks all.
- Status changed to Fixed
over 1 year ago 3:34pm 2 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.