1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-21 16:13:00 +00:00

Fix typo in the name of the didyoumean index (which is disabled by default).

Admins need to manually rename `didyoumeaninddex.sqlite` → 
`didyoumeanindex.sqlite`
This commit is contained in:
Starbeamrainbowlabs 2020-08-18 15:41:14 +01:00
parent a640a7bb93
commit d9ddb504bf
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
### Fixed
- Obfuscate the admin email address at the bottom of every page - we missed it in v0.22-beta1 (but got every other one though :P)
- Bugfix: Don't use `->text()` for recursion when parsing markdown - it resets `->DefinitionData`, which breaks footnotes
- Fix name of did you mean index: `didyoumeaninddex.sqlite``didyoumeanindex.sqlite` (feature is disabled by default; manual renaming required)
### Changed
- Disable parser cache by default to avoid issues because said cache isn't invalidated when it should be (and doing so would take more of a performance hit than leaving it on)

View file

@ -45,7 +45,7 @@ $paths->pageindex = "pageindex.json";
/** The inverted index used for searching. Use the `search` class to interact with this - otherwise your brain might explode :P */
$paths->searchindex = "invindex.sqlite";
/** The didyoumean index for typo correction. Used by the search class - which also exposes an interface for interacting with it directly. */
$paths->didyoumeanindex = "didyoumeaninddex.sqlite";
$paths->didyoumeanindex = "didyoumeanindex.sqlite";
/** The index that maps ids to page names. Use the `ids` class to interact with it :-) */
$paths->idindex = "idindex.json";
/** The cache of the most recently calculated statistics. */