Page MenuHomePhabricator

CW#501 Disable some regular expressions for spelling
Closed, ResolvedPublic

Description

Some regular expressions, especially the ones defined for AWB, are very slow when used by WPCleaner, and can slow down a lot page analysis. It could be useful to be able to disable some regular expressions by configuration.

There's already general_suggestions_ignore, but it works only at the chapter level. There should be another option for individually ignoring suggestions.

We first need a mechanism to identify each regular expression easily, ideally an "id" attribute inside the <Typo> tag handled by AWB. The current version of AWB code doesn't seem to allow adding such attribute. A request for enhancing AWB's code has been created : T258892

Event Timeline

NicoV renamed this task from Disable some regular expressions for spelling to CW#501 Disable some regular expressions for spelling.Dec 4 2020, 4:44 PM
NicoV claimed this task.
NicoV moved this task from Backlog to CheckWiki on the WPCleaner board.
NicoV moved this task from CheckWiki to Done on the WPCleaner board.

Due to the lack of answer from AWB developers, I finally implemented an other solution. It's now possible to specify a list of regular expressions to disable in WPCleaner.