Last modified: 2011-07-25 07:36:27 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 T31665, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29665 - Save ends at api.php with a dump.
Save ends at api.php with a dump.
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-01 07:30 UTC by Harald Stowasser
Modified: 2011-07-25 07:36 UTC (History)
2 users (show)

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


Attachments

Description Harald Stowasser 2011-07-01 07:30:43 UTC
If I edit a part via title=Translations:I18n_test/Page_display_title/en&action=edit&loadgroup=page%7CI18n+test&loadtask=view

And click there a button to save (de: "Seite speichern" "Seite speichern und nächste öffen") the site /api.php will be opened with just a "dump" message like this:

{"edit":{"new":"","result":"Success","pageid":121,"title":"Translations:I18n test\/1\/en","oldrevid":0,"newrevid":1290,"newtimestamp":"2011-07-01T07:07:40Z"}}

Anyway The text is stored.

Produkt	Version:
MediaWiki	1.17.0
PHP	5.2.6-1+lenny9 (cgi-fcgi)
MySQL	5.0.51a-24+lenny2+spu1

translate revision is 91251
Comment 1 Niklas Laxström 2011-07-01 08:12:41 UTC
This is the symptom of JavaScript errors preventing the correct form submission. The error messages are essential, please use your browser's javascript console or similar facility to collect those.
Comment 2 Harald Stowasser 2011-07-01 09:54:00 UTC
The Error Message is:

Resource interpreted as Document but transferred with MIME type application/json.
chrome/EventBindings:183Error in event handler for 'undefined': TypeError: Cannot call method 'split' of undefined
Comment 3 Niklas Laxström 2011-07-01 10:54:08 UTC
Unfortunately that does not say anything to me. I'd expect other error before the "Resource interpreted" line.
Comment 4 Harald Stowasser 2011-07-05 12:15:15 UTC
Cromiums says:
api.php:-1Resource interpreted as Document but transferred with MIME type application/json.
Comment 5 Niklas Laxström 2011-07-14 10:29:35 UTC
That doesn't either. I need the JavaScript error before "interpreted as Document" or place where I can test this myself.
Comment 6 Harald Stowasser 2011-07-15 10:17:49 UTC
There is no further error in the console.
Screenshot:
http://www.stowasser.tv/bug/Bug_29665_console.png

The makeCollapsible- error comes when I click title=Translations:Hauptseite/7/en&action=edit&loadgroup=page%7CHauptseite&loadtask=view
Then the Translation-Layer pops up.

The charCode warnings occur if I edit in the textarea (mw-translate-edit-area) 

Then I click on 'Seite speichern' (mw-translate-save) and at chromium shows the json-array.
Firefox shows a download-dialog.
Comment 7 Niklas Laxström 2011-07-15 11:33:43 UTC
Interesting. Looks like jquery.autoresize is not being loaded. Which version of MediaWiki are you using?
Comment 8 Harald Stowasser 2011-07-15 11:44:14 UTC
MediaWiki    1.17.0
PHP          5.2.6-1+lenny9 (cgi-fcgi)
MySQL        5.0.51a-24+lenny2+spu1
Comment 9 Harald Stowasser 2011-07-25 07:36:27 UTC
I could resolve this after a complete new installation from /branches/REL1_17/

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


Navigation
Links