Enhancements
- WProofreader core (version 3.20.5729)
- Proofreading dialog in sidebar. Introduced a new option, proofreadDialogContainer, enabling the Proofreading dialog to be displayed in a reserved section of the page, such as a sidebar. This option integrates the proofreading experience directly into the page layout.
- Faster error detection and highlighting while typing. Introduced a new option, checkOnSpace, to improve the responsiveness of error highlighting as you type. This option triggers additional checks whenever a space is typed, resulting in faster detection and display of issues. However, enabling this feature increases the number of backend requests and the amount of text processed (word count). By default, it is disabled. For more details about these new options, see the configuration reference.
- Spelling engine
- Enabled the use of suggestions from the spelling cache for requests that include custom dictionaries (both user-level and organization-level).
- Added spelling autocorrect files with pre-validated misspelling-suggestion pairs for the New Zealand (en_NZ) and South African (en_ZA) English language variants.
- Updated English dialect-specific spelling validation functionality (covering American, British, Canadian, and Australian English). Added 80+ medical terms with ‘hemo-/haemo-‘ prefix variations and removed incorrect entries (affecting variations like ‘jeopardize/jeopardise’, ‘tokenize/tokenise’, and medical terms with incorrect dialect mappings).
- Updated core English lexicons. Added 300+ terms including technical abbreviations, computing terminology, cyber-related vocabulary, and common abbreviations (e.g., Ph.D., Inc.) and Latin terms (e.g., summa laude, terra firma). Also, restructured word lists: created dialect-specific files for allowed and excluded words.
- Updated English medical dictionaries. Added 160+ clinical terms (biopharmaceuticals, medical device terminology) and removed 320+ entries (non-medical terms, outdated clinical spellings, and incorrectly formatted medical abbreviations); minor updates to legal dictionary.
- Enhanced spelling autocorrect functionality. Added approximately 170 new corrections per dialect, including new support for South African and New Zealand English.
- Updated list of excluded suggestions, added cyber-related terms, removed term with neutral meaning.
- Grammar engine
- Updated 3rd party grammar engine, LanguageTool, to version 6.5.0. Added and improved grammar rules for the next languages: Catalan, Dutch, English, French, German, Portuguese, Spanish and Ukrainian.
- Updated vulnerable ‘commons-io’ library used in third-party grammar engine, LanguageTool v6.5.
- Disabled unnecessary corrections and specific rules in both rule-based grammar and AI GEC engines to improve handling of various writing contexts (casual expressions, technical terms, sports terminology, and business language).
- Style guide
- Enhanced normalization of dashes and hyphens to ensure custom rules recognize and match variations of these characters.
- Fixed incorrect mapping of letter cases in style guide suggestions, particularly for mixed-case scenarios like Tall Man Lettering (TLM).
- Autocomplete “text completion” engine. Filtered invalid text completions containing numbers.
- Check API
- Added a new query parameter, exclude_wordlist, for the check and check_spelling API commands. This parameter accepts a comma-separated list of words to be considered incorrect during checks. It works similarly to user_wordlist but excludes the specified words. The parameter is case-sensitive and language-agnostic.
- Added a new query parameter, check_kit, for the check API command. This parameter enables control over the text checking mode by selecting specific engine combinations (AI-powered, algorithmic-only, or mixed). If not specified, the default configuration will be applied. For languages where the specified configuration is not available, the request will fail with an error message.
Bug fixes
- [WP-5942] AI GEC engine: Dashes treated as part of the word
- [WP-5958] AI GEC engine: Glued suggestion when replacing dash with ‘and’
- [WP-5968] AI GEC engine: Glued words in suggestion when removing dash
- [WP-5955] API: Misleading error message “Failed to decode URI.”
- [WP-5967] WProofreader core: Incorrect timeout (2s) for check request in single paragraph mode
- [WP-5927] Spelling engine: Duplicated suggestions for dialect-specific issues