Page MenuHomePhabricator

Can't rename the translatable page mw:Global_templates/Draft_spec
Closed, ResolvedPublic

Description

I am trying to move the translatable page https://www.mediawiki.org/wiki/Global_templates/Draft_spec to "Global template/Proposed_specification".

I see the list of subpages that will be moved, and then the message "Please check the page translation log in a while for errors and completion message", but nothing actually happens.

I managed to move the shorter page https://www.mediawiki.org/wiki/Global_templates/Draft_spec/TLDR to a different name, but Global_templates/Draft_spec doesn't work.

I couldn't find anything relevant in Logstash, but maybe I didn't search well.

Event Timeline

Can confirm that it won't move. Trying to move manually...
I tried to move it manually by first removing it from the page translation system, but it didn't work: [Xd-BYApAAEIAAAcCnCkAAABE] 2019-11-28 12:45:36: Fatal exception of type "Wikimedia\Rdbms\DBQueryError" - @Amire80 anything on logstash for that?

Nikerabbit subscribed.

[Xd-BYApAAEIAAAcCnCkAAABE]

WikiPage::lockAndGetLatest	10.64.48.35	1205	Lock wait timeout exceeded; try restarting transaction (10.64.48.35)	SELECT  page_latest  FROM `page`    WHERE page_id = 994874 AND page_namespace = 0 AND page_title = 'Global_templates/Draft_spec'  LIMIT 1   FOR UPDATE

Amir tried this again and the only thing I could find from Logstash was: https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-deploy-2019.11.28/mediawiki?id=AW6yqHJ7KWrIH1QRYOcf&_g=h@44136fa which says: Maximum execution time of 180 seconds exceeded

My question to people knowledge about WMF JobQueue setup: is the timeout there in purpose? How long has it been there? Can it be increased, and if yes, how? Changing PHP setting or some setting elsewhere?

Yes, the time-out is there on purpose. All jobs share it. We cannot increase it on a per-job basis, though, only for job runners as a whole. Why does a page rename in this instance take so long in the first place? I think this is the angle that should be looked at.

It took a bit, because I messed up, but move should be done. Not yet marking as resolved in case cpt wants to review

Woah... Thanks.

It was a lot of manual work.

I guess that this particular page is now moved, however, the problem remains: what if somebody will want to move a long translatable page without renaming a lot of subpages manually? Can Translate do it in a way that doesn't cause a timeout?

Just to let you know that some of the Italian translation subpages were (obviously unwantedly) reverted to a previous, non-updated version (see here). I'm now re-updating the whole bunch, but I think this is yet another thing that should be considered in fixing this bug. :/

Woah... Thanks.

It was a lot of manual work.

I guess that this particular page is now moved, however, the problem remains: what if somebody will want to move a long translatable page without renaming a lot of subpages manually? Can Translate do it in a way that doesn't cause a timeout?

Can this be closed, or is there something actionable left to do?

Closing as resolved - does not appear to be anything actionable left