https://bugzilla.wikimedia.org/show_bug.cgi?id=52541

       Web browser: ---
            Bug ID: 52541
           Summary: TypeError: mw.translateHooks is undefined
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Translate
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to