Summary
qwiki search doesn't filter out outdated pages by default
Metadata
- Id: ba66a251f8983e17853e67d14502fb8531acead3
- Trac id: 1764
- Type: enhancement
- Reporter: wasamasa
- Owner:
- Cc:
- Status: closed
- Component: wiki
- Estimated difficulty: easy
- Resolution: fixed
- Priority: minor
- Milestone: someday
- Version: 5.2.0
- Changetime: 2021-06-18 18:18:01 UTC
- Created: 2021-06-08 12:07:36 UTC
- Keywords: qwiki
Attachments
- ba66a251f8983e17853e67d14502fb8531acead3/attachments/0001-qwiki-search-Exclude-old-pages-by-default.patch
Description
Some feedback from http://surveys.call-cc.org/state-of-chicken/2021/:
As a beginner, I find the wiki difficult to use because of the prevalence of both outdated version 4 information and version 5 information. The search could also be improved. I find the search in the wiki (and Google search) almost impossible to use as it always returns documentation for older CHICKEN versions with no way to view the same page for the latest version of CHICKEN.
The below patch changes the default search behavior to filter out outdated pages (matching the ^(eggref|man)/[[34]|] regex). Users who wish to include outdated pages may tick a checkbox to obtain the full result set. Some CSS adjustments might be necessary before rolling this out.
Changes and comments
[2021-06-08 12:07:52 UTC] wasamasa attached 0001-qwiki-search-Exclude-old-pages-by-default.patch (description=#f)
[2021-06-18 18:18:01 UTC] mario changed status from new to closed
[2021-06-18 18:18:01 UTC] mario set resolution to fixed
[2021-06-18 18:18:01 UTC] mario wrote:
Applied to the qwiki trunk and to the production instance running on call-cc.org.