Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#74066 - [wiki] Please redirect requests for /wiki/foo to /title/foo
Attached to Project:
Arch Linux
Opened by Jason (jasonspiro) - Wednesday, 09 March 2022, 06:13 GMT
Last edited by David Thurstenson (thurstylark) - Saturday, 12 March 2022, 20:12 GMT
Opened by Jason (jasonspiro) - Wednesday, 09 March 2022, 06:13 GMT
Last edited by David Thurstenson (thurstylark) - Saturday, 12 March 2022, 20:12 GMT
|
Details=== The problem ===
ArchWiki uses non-standard URLs: e.g. https://wiki.archlinux.org/title/Main_page instead of https://wiki.archlinux.org/wiki/Main_page. And it does not redirect requests for /wiki/foo to /title/foo. The lack of redirection leads to two disadvantages. A.) Longtime Wikipedia users who manually enter a Wikipedia-style URL into their browser's navigation bar (e.g. https://wiki.archlinux.org/wiki/Kernel) will get HTTP 403 errors. B.) At http://wikipedia.ramselehof.de/wikiblame.php?&lang=wiki&project=archlinux&tld=org there is a useful tool, designed to find out who added a specified string to a page and when. However, this tool doesn't work on ArchWiki, since /wiki/foo URLs generate 403 errors. Therefore, when used on ArchWiki, the tool always returns the error message "0 versions found". (The URL format which the tool uses is described at https://github.com/FlominatorTM/wikiblame/blob/master/wikiblame.php#L582.) === Suggested workaround === I wonder if you could please reconfigure the ArchWiki Web server, so that anyone who tries to go to a /wiki/ URL such as https://wiki.archlinux.org/wiki/Main_page will get an HTTP 301 redirect to the /title/ URL? |
This task depends upon
Closed by David Thurstenson (thurstylark)
Saturday, 12 March 2022, 20:12 GMT
Reason for closing: Won't implement
Additional comments about closing: If anything, this issue should be addressed by the search tool.
Saturday, 12 March 2022, 20:12 GMT
Reason for closing: Won't implement
Additional comments about closing: If anything, this issue should be addressed by the search tool.
If some third party tool is not compatible with it, then it's an issue with that tool not the wiki.
Solution for problem B: submit a bug report for the tool which does not work. Note that the aforementioned tool won't work on Arch wiki anyway because the page history is not public at the moment - see https://github.com/archlinux/archwiki/pull/29