Last modified: 2011-03-13 18:05:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6014 - Using English namespace names shouldn't cause HTTP redirect only
Using English namespace names shouldn't cause HTTP redirect only
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
unspecified
PC Windows XP
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-18 14:42 UTC by Marco
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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


Attachments

Description Marco 2006-05-18 14:42:30 UTC
When I call the URL "http://de.wikipedia.org/wiki/Image:Beispiel.jpg", I recieve
an HTTP 301 Moved Permanently with "Location:
http://de.wikipedia.org/wiki/Bild:Beispiel.jpg". This is bad for bots as they
have to know the local namespace names and so need a special engine parsing the
HTTP redirs. A workaround would be to simply echo the page under the HTTP
redirect so that a normal browser forwards, but a bot can see the image (or
other namespace).
Comment 1 Daniel Kinzler 2006-05-18 15:51:43 UTC
Uh, whatever HTTP client lib you are using should be able to cope with
redirects, either implicitely or on demand. Whatever "special engine" are you
talking about? Outputting the full page in adition to the redirect would cause
server load that is useles for 99.9% of all requests. Depending on the client
used, it may also load that even if following the redirect, wasting bandwidth on
both ends.

In short: when you use HTTP, make sure you support the HTTP standard.
Comment 2 Marco 2006-05-18 16:50:39 UTC
Maybe self-written libraries?
Comment 3 Rob Church 2006-05-18 16:52:16 UTC
Then fix them. As comment 1 points out, it's madness for us to do this.
Comment 4 Platonides 2006-05-18 20:44:41 UTC
Add to your bot the ability of, on getting a Location: header, resend the latest
code to the new url.

You can get all the namespace names on Special:Export.

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


Navigation
Links