Last modified: 2011-06-19 20:35:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30648, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28648 - New 404 error should link to the local Wikipedia
New 404 error should link to the local Wikipedia
Status: NEW
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks: 17316
  Show dependency treegraph
 
Reported: 2011-04-21 17:58 UTC by Douglas Gardner
Modified: 2011-06-19 20:35 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch to remove hostname from "/wiki/HTTP_404" URL (593 bytes, patch)
2011-05-27 19:19 UTC, Ilmari Karonen
Details

Description Douglas Gardner 2011-04-21 17:58:06 UTC
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
Comment 1 Mark A. Hershberger 2011-04-21 22:28:44 UTC
Giving this to Trevor since he was so helpful the last time around. (No good deed goes unpunished ;) )
Comment 2 Ilmari Karonen 2011-05-27 19:19:44 UTC
Created attachment 8594 [details]
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.)
Comment 3 Nemo 2011-05-27 19:29:01 UTC
Seems a good idea to actually create such redirects on all Wikipedias with such article...
Comment 4 Casey Brown 2011-05-27 19:33:22 UTC
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.
Comment 5 MZMcBride 2011-06-18 23:19:57 UTC
(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.
Comment 6 Platonides 2011-06-19 20:35:21 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links