Last modified: 2014-04-22 09:41:06 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 T63736, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61736 - Gives a completely unhelpful response to AutoWikiBrowser on save
Gives a completely unhelpful response to AutoWikiBrowser on save
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 14261
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-21 05:51 UTC by Samuel Bronson
Modified: 2014-04-22 09:41 UTC (History)
8 users (show)

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


Attachments
Fiddler trace (ZIP archive with a funny name) (38.47 KB, application/octet-stream)
2014-02-21 05:51 UTC, Samuel Bronson
Details

Description Samuel Bronson 2014-02-21 05:51:18 UTC
Created attachment 14642 [details]
Fiddler trace (ZIP archive with a funny name)

Your extension seems to give some rather odd HTTP responses.  Namely:

HTTP/1.1 200 OK
Server: Apache
X-Powered-By: PHP/5.3.10-1ubuntu3.9+wmf1
X-Content-Type-Options: nosniff
Cache-control: private
MediaWiki-API-Error: unknownerror
X-Frame-Options: DENY
Vary: Accept-Encoding
X-Vary-Options: Accept-Encoding;list-contains=gzip
Content-Type: text/xml; charset=utf-8
X-Varnish: 675837389, 1807899246
Via: 1.1 varnish, 1.1 varnish
Content-Length: 129
Accept-Ranges: bytes
Date: Fri, 21 Feb 2014 05:16:39 GMT
Age: 0
Connection: keep-alive
X-Cache: cp1053 miss (0), cp1055 frontend miss (0)

<?xml version="1.0"?><api servedby="mw1135"><error code="unknownerror" info="Unknown error: &quot;tpt-target-page&quot;" /></api>

This was for an attempt to save "MediaWiki 1.21/wmf5/el" on www.mediawiki.org.

(Raw request/response pair attached in Fiddler's ZIP-based format; would be easiest to open in Fiddler, but anything else that understands raw HTTP request/response pairs should be able to make sense of the data.)

I'm assuming it's from this extension because it only happens on pages that, when edited from normal UI, open in your fancy translation tool.


I have two questions:

1. Why is this a "200 OK"? Things are clearly not OK; it should probably be a 500, or possibly a 403.

2. Why is the error so non-specific?
Comment 1 Kunal Mehta (Legoktm) 2014-02-21 06:00:48 UTC
(In reply to Samuel Bronson from comment #0)
> 1. Why is this a "200 OK"? Things are clearly not OK; it should probably be
> a 500, or possibly a 403.

This is a general API thing, not specific to the Translate extension.
Comment 2 Niklas Laxström 2014-02-21 06:55:23 UTC
For 2) see bug 14261.

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


Navigation
Links