Jump to content

Topic on Talk:Content translation

Summary by Wargo

Bug resolved: task T174792

La Mantis (talkcontribs)

Hi everyone,

I had a bug at the of the translation of this page from English to Spanish: https://en.wikipedia.org/wiki/Sanora_Babb

I was not able to publish my work, because the button is grey. I got the following errors in the Javascript console:

index.php?title=User:TwinkleUser/Statuschanger2.js&action=raw&ctype=text/javascript:185

Uncaught ReferenceError: sajax_init_object is not defined at qui_downloadStatus (index.php?title=User:TwinkleUser/Statuschanger2.js&action=raw&ctype=text/javascript:185)

at HTMLDocument.qui_init (index.php?title=User:TwinkleUser/Statuschanger2.js&action=raw&ctype=text/javascript:31)

at fire (load.php?debug=false&lang=es&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:45)

at Object.fireWith [as resolveWith] (load.php?debug=false&lang=es&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:46)

at Function.ready (load.php?debug=false&lang=es&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:49)

at completed (load.php?debug=false&lang=es&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:49)

VM1053:68 Uncaught TypeError: Cannot read property 'categories' of undefined
at CXPublish.getCategories (eval at <anonymous> (load.php?debug=false&lang=es&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:4), <anonymous>:68:283)

at CXPublish.publish (eval at <anonymous> (load.php?debug=false&lang=es&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:4), <anonymous>:65:1282)

at mw.cx.ui.TranslationView.publish (eval at <anonymous> (load.php?debug=false&lang=es&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:4), <anonymous>:145:380)

at mw.cx.ui.TranslationView.onPublishButtonClick (eval at <anonymous> (load.php?debug=false&lang=es&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:4), <anonymous>:145:123)

at OoUiButtonWidget.oo.EventEmitter.emit (eval at <anonymous> (load.php?debug=false&lang=es&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:4), <anonymous>:26:445)

at OoUiButtonWidget.OO.ui.mixin.ButtonElement.onClick (load.php?debug=false&lang=es&modules=mw.config.values.wbSiteDetails|oojs-ui-core%2Coojs-ui-widgets|…:191)

at HTMLAnchorElement.dispatch (load.php?debug=false&lang=es&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:65)

at HTMLAnchorElement.elemData.handle (load.php?debug=false&lang=es&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:60)

I had the same bug in Chrome and Firefox.

I'm available for any information if you need it.

Thanks a lot

KartikMistry (talkcontribs)

Hi,

Are you trying to publish to Main namespace or User namespace?

KartikMistry (talkcontribs)
La Mantis (talkcontribs)

Thank you for reviewing. I tried it on both 'Main namespace' and 'User namespace'. Yesterday I managed to publish, but because I started the translation again. Anyway it seems that the problem persists.

Mr.Ajedrez (talkcontribs)

That's the same error than mine. It only happens when translating into Spanish, no matter if I'm trying to publish on main or user namespace. Maybe the problem is specifical to eswiki, as I don't have any problem in other languages.

KartikMistry (talkcontribs)

Patch has been committed and should be available in all Wikis by tomorrow 13:00–14:00 UTC. Thanks!

KartikMistry (talkcontribs)

This has been fixed. If you still see an error, please update above bug or just report here. Thanks!

La Mantis (talkcontribs)

Thank you very much for everything, KartikMistry. I'm going to check it out and I'll tell you.