Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947211 - Clicking on a USE flag entry preceded by a + sign doesn't work
Summary: Clicking on a USE flag entry preceded by a + sign doesn't work
Status: UNCONFIRMED
Alias: None
Product: Websites
Classification: Unclassified
Component: Wiki (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Wiki Team
URL: https://wiki.gentoo.org/wiki/Kitty
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-30 11:55 UTC by Jorge López
Modified: 2024-12-30 11:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge López 2024-12-30 11:55:18 UTC
Using the example URL for Kitty, the USE flag template shows the following USE flags:
· +X          Add support for X11
· test        Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
· verify-sig  Verify upstream signatures on distfiles
· wayland     Enable dev-libs/wayland backend 

Clicking on "+X" directs the user to https://packages.gentoo.org/useflags/+X which isn't found. Taking the + sign from the URL and going to https://packages.gentoo.org/useflags/X works. Clicking any other USE flag works.

I believe the extension handling the generation of the template should strip the symbols from the USE flags before generating the URL.

Reproducible: Always

Steps to Reproduce:
1. Go to any wiki page with USE flag template
2. Click on any USE flag preceded by the '+' character
Actual Results:  
The URL wrongly contains the '+' sign. The user receives "Not Found (404) We couldn't find the resource you were trying to request." message.

Expected Results:  
The URL doesn't contain the '+' sign and the user is directed to the page for the corresponding USE flag.