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

--- Comment #1 from Helder <[email protected]> ---
I defined a breakpoint to the line
https://git.wikimedia.org/blob/mediawiki%2Fcore.git/1de5cb96285704977b882ddef739a55cecceb95e/resources%2Fmediawiki%2Fmediawiki.jqueryMsg.js#L824
and reloaded the page
https://pt.wikipedia.org/w/index.php?oldid=36419116&veaction=edit&uselang=pt-br&debug=1
After the VE is loaded, I clicked on "BETA" and then on "Deixar um comentário"
and immediatelly got the error.

The Stack Trace was like this:

mw.jqueryMsg.parser.wikiTextToAst (mediawiki.jqueryMsg.js:824)
mw.jqueryMsg.parser.getAst (mediawiki.jqueryMsg.js:260)
mw.jqueryMsg.parser.parse (mediawiki.jqueryMsg.js:244)
(anonymous function) (mediawiki.jqueryMsg.js:116)
(anonymous function) (mediawiki.jqueryMsg.js:197)
mw.Feedback.setup (mediawiki.feedback.js:125)
mw.Feedback (mediawiki.feedback.js:66)
ve.init.mw.ViewPageTarget.onToolbarFeedbackToolClick
(ve.init.mw.ViewPageTarget.js:786)
proxy
(load.php?debug=true&lang=pt-br&modules=jquery%2Cme…=scripts&skin=vector&version=20130627T155106Z:775)
jQuery.event.dispatch
(load.php?debug=true&lang=pt-br&modules=jquery%2Cme…scripts&skin=vector&version=20130627T155106Z:3058)
elemData.handle.eventHandle
(load.php?debug=true&lang=pt-br&modules=jquery%2Cme…scripts&skin=vector&version=20130627T155106Z:2676)

Also, I typed "result" in the console and got:
["CONCAT", "Obrigado! O seu comentário foi adicionado à página ""]

Notice the current text of
https://translatewiki.net/wiki/MediaWiki:Feedback-thanks/pt-br
is this:
'Obrigado! O seu comentário foi adicionado à página "[ $2  $1 ]".'

-- 
You are receiving this mail because:
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