Last modified: 2014-08-26 14:22:09 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 T54541, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52541 - TypeError: mw.translateHooks is undefined: qqq editor popup opens a json document and redirects to api.php after saving
TypeError: mw.translateHooks is undefined: qqq editor popup opens a json docu...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nemo
:
: 49318 (view as bug list)
Depends on:
Blocks: hackathon2014
  Show dependency treegraph
 
Reported: 2013-08-05 11:12 UTC by Nemo
Modified: 2014-08-26 14:22 UTC (History)
7 users (show)

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


Attachments

Description Nemo 2013-08-05 11:12:19 UTC
1) Open a translatable message: https://translatewiki.net/wiki/Special:Random/MediaWiki
2) Click edit
3) Above the qqq/docs section, click the "contribute" link to edit it
4) Do your edit and save

I. Expected: the popup is closed and I stay where I was or I'm redirected to some meaningful place.

II. Observed: https://translatewiki.net/w/api.php is opened in the same window, with content e.g.

{"edit":{"result":"Success","pageid":3174480,"title":"MediaWiki:Openid-convert-already-your-openid-text/qqq","contentmodel":"wikitext","oldrevid":4880899,"newrevid":4880906,"newtimestamp":"2013-08-05T11:08:24Z"}}

and the error console shows:

Timestamp: 05/08/2013 13:08:05
Error: TypeError: mw.translateHooks is undefined
Source File: https://translatewiki.net/w/extensions/Translate/resources/js/ext.translate.quickedit.js
Line: 158
Comment 1 Nemo 2014-05-10 14:41:42 UTC
*** Bug 49318 has been marked as a duplicate of this bug. ***
Comment 2 Gerrit Notification Bot 2014-05-10 15:11:58 UTC
Change 132705 had a related patch set uploaded by Nemo bis:
Remove afterRegisterFeatures hook

https://gerrit.wikimedia.org/r/132705
Comment 3 Gerrit Notification Bot 2014-05-15 11:45:07 UTC
Change 132705 merged by jenkins-bot:
Remove afterRegisterFeatures hook

https://gerrit.wikimedia.org/r/132705

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


Navigation
Links