Arch Linux

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!
Tasklist

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
Task Type Feature Request
Category Web Sites
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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.
Comment by nl6720 (nl6720) - Wednesday, 09 March 2022, 16:54 GMT
There's nothing "standard" about /wiki/. The path is configurable and we have chosen /title/. See https://wiki.archlinux.org/index.php?title=ArchWiki_talk:Requests&oldid=670406#index.php_in_url_address .

If some third party tool is not compatible with it, then it's an issue with that tool not the wiki.
Comment by Jakub Klinkovský (lahwaacz) - Wednesday, 09 March 2022, 20:58 GMT
Solution for problem A: get used to it :) Or use a proper search engine to make your life easier (most browsers allow users to configure a search engine behind a specific keyword).

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

Loading...