Page MenuHomePhabricator

New 404 error should link to the local Wikipedia
Open, MediumPublic

Description

The new Wikimedia 404 message currently contains the text "read more information about this type of error", with 'more information' linking to the English Wikipedia article on 404 errors, regardless of the current subdomain.

As redirects are cheap, and "HTTP 404" is a rather language-independent phrase, I propose that the link goes to whichever Wikipedia is associated with the current subdomain, if only to dispel the "English Wikipedia is the only wiki that matters" myth that it currently implies.

cf. bug 12302


Version: unspecified
Severity: normal

Details

Reference
bz28648

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:35 PM
bzimport set Reference to bz28648.

Giving this to Trevor since he was so helpful the last time around. (No good deed goes unpunished ;) )

Patch to remove hostname from "/wiki/HTTP_404" URL

OK, here's a simple patch against the output of the current 404 page which should make the "/wiki/HTTP_404" link relative, just like the Main Page link is.

(It does occur to me that this probably won't work on the secure server, or on any non-wiki hosts that might be using the same 404 page. Some server side coding would presumably be needed to fix this. I'm not sure whether the code that actually generates these 404 pages is in SVN anywhere; if not, presumably this needs someone with shell access to actually make the change.)

Attached:

Seems a good idea to actually create such redirects on all Wikipedias with such article...

bugs wrote:

This type of implementation probably isn't the best idea. Most wikis won't actually have a page at "HTTP 404". Non-Wikipedia sites would most likely get a redlink and some other language sites would also be redlinked (different title, no article).

If we really decide we hate it, then it should just be removed. However, I don't think there's a problem with it. Wikipedia is our encyclopedic site, so we should link there in cases like these. The message is also already in English, so linking to an English site shouldn't matter. We should find out a nice way to translate this message soon and then we can link to whatever page that language wants. In the meantime, people can navigate through interwikis.

(In reply to comment #4)

This type of implementation probably isn't the best idea. Most wikis won't
actually have a page at "HTTP 404". Non-Wikipedia sites would most likely get a
redlink and some other language sites would also be redlinked (different title,
no article).

If we really decide we hate it, then it should just be removed. However, I
don't think there's a problem with it. Wikipedia is our encyclopedic site, so
we should link there in cases like these. The message is also already in
English, so linking to an English site shouldn't matter. We should find out a
nice way to translate this message soon and then we can link to whatever page
that language wants. In the meantime, people can navigate through interwikis.

Completely agree with Casey here. Fully translating the message or leaving it as-is seem like the two best options here.

Not even enough wikipedias have such article: The article is present on 15 wikis, missing on 249 and there are redirects on 8

http://wolfsbane.toolserver.org/~platonides/CrosswikiTitles/CrosswikiTitles.php?art=HTTP_404&project=wikipedia

Not even enough wikipedias have such article: The article is present on 15 wikis, missing on 249 and there are redirects on 8

http://wolfsbane.toolserver.org/~platonides/CrosswikiTitles/CrosswikiTitles.php?art=HTTP_404&project=wikipedia

We can link the Wikidata item, so everyone will have a snippet and all available links.