[15:30:50] Hi - I have an issue/question about Translatewiki.net - I tried posting it on #mediawik-i18n, but it said "Cannot send to nick/channel". Where's a good place to ask about it - here? [15:36:01] Yaron: -i18n prevents logged-out users from speaking. If you log into a NickServ account, you'll be able to talk there [15:44:35] Skizzerz: what if I... can't figure out how to do that? [15:44:50] Is there another place I can ask? [15:45:26] well if you want to try to figure it out, see "/msg nickserv help register" for information on how to create a freenode account, or ask for specific help [15:45:37] otherwise Nikerabbit and other translatewiki admins are on this channel as well, so... ask here and ping them? [15:45:55] latter is probably easier if you don't plan on being on IRC all that much [15:46:07] I'd recommend the former if you want to stick around [15:46:51] Asking here is fine [15:47:30] Skizzerz: alright... I've tried before to register and log in, and for some reason I can't figure it out. [15:47:37] Alright, I'll ask here. [15:47:59] So - there was a recent commit from Translatewiki that removed a lot of messages from my Cargo extension: https://phabricator.wikimedia.org/rECRGce4a4e8943b0ad2a3900ce134547a727d931b661 [15:48:00] yeah, IRC is not exactly user friendly when it comes to figuring out how to do things :( [15:48:19] (Look for "cargo-query-missingformat".) [15:48:45] There have been a bunch of recent changes to the i18n messages in Cargo (due to a GSoC project, actually), but those specific messages were not affected. [15:48:55] Does anyone know why these messages got removed, in some languages? [15:49:21] probably for the usual reasons: translation out of date or original message got removed [15:50:28] I don't think any of these messages got removed from en.json or qqq.json. [15:50:52] you can search in https://translatewiki.net/wiki/Special:SearchTranslations too [15:52:25] Okay, thanks. I just looked for the first one, "cargo-query-missingformat", and it looks like it's still there: https://translatewiki.net/wiki/MediaWiki:Cargo-query-missingformat/en [15:52:43] And the qqq is still there too: https://translatewiki.net/wiki/MediaWiki:Cargo-query-missingformat/qqq [15:53:25] it was renamed https://translatewiki.net/w/i.php?title=MediaWiki:Cargo-viewdata-missingformat/en&action=history [15:53:48] Ah... [15:53:54] presumably you changed something on the repository for this to happen, we don't do it motu proprio [15:54:06] (Looks up Latin :) ) [15:54:08] renames are generally disruptive things to do [15:54:56] the translators will confirm or update the translations and they will be exported again, nothing to worry about AFAICS [15:55:03] It looks to me like Raymond/Raimond got confused about the changes that were made - no offense to him; I'm very grateful for the services that Translatewiki provides. [15:55:27] possible: renames are often confusing on twn side [15:55:41] There were indeed a bunch of i18n messages in Cargo that got changed from "cargo-viewdata" to "cargo-query", and then back again a day or two later. [15:55:51] ugh [15:55:56] However, these specific error messages (like "cargo-query-missingformat") were never touched. [15:56:58] Yeah, a big part of it is my fault for making those unnecessary changes. [15:57:03] sounds like something a regex replacement is not going to fix [15:57:08] Right. :( [15:57:15] I could give you the rights to move the messages back [15:57:25] Sure, okay - whatever is easiest. [15:57:33] however it seems to be a relatively small amount of messages so maybe you can just re-add them to JSON files [15:57:40] Can those deleted translations be brought back? [15:57:41] assuming the original strings are the same [15:57:44] Oh, okay. [15:57:46] Yes. [15:57:59] They were removed in about 15 languages. [15:58:05] attribution will be lost for the translations left stranded under a wrong title (if that's what happened) [15:58:33] That I don't know. [15:58:50] but that seems to affect just one translator, Joetaras, who is mentioned in other files anyway [15:59:01] Alright. [15:59:23] so no big deal if you just fix it your side, AFAIK (just add Raymond to cc of the change before you merge it, ideally) [15:59:48] By "fix it", do you mean restore those deleted translations? [16:02:20] yes [16:03:22] I can do that. But what about Translatewiki.net? There are (I think) 8 messages that were wrongly renamed from "cargo-query-*" to "cargo-viewdata-*". [16:05:39] missingformat, badsqlfunction, badalias, unknowndbtable, unknownfieldfortable, unknownfield, missingparam, specifiedfieldmissing (all should be preceded by "cargo-query-"). [16:10:54] renamed on twn or restored on the files, the result is the same; only difference the attribution to translators (from page history) [16:14:18] Nemo_bis: I'm confused - you're saying that, once I restore the translations, the problem will go away? [16:24:49] Don't the messages have to be (re-)renamed on TWN? [16:27:42] Not if they get reimported [16:27:50] I'm trying the re-rename now [16:28:01] It's too late anyway because half of them were re-translated https://translatewiki.net/w/i.php?title=MediaWiki:Cargo-query-badsqlfunction/fr&action=history [16:28:56] rename going on with your list https://translatewiki.net/wiki/Special:Contributions/Nemo_bis [16:29:10] should be re-exported tonight [16:29:31] Nemo_bis: thanks a lot. [16:29:54] The fact that you're using my Replace Text extension makes me feel like I'm helping in some way. :) [16:30:06] But let me know if I need to do anything. [16:30:28] We rely heavily on it... [16:30:34] (Congrats for having it bundled now!) [16:31:12] We're trying to move away from this process https://phabricator.wikimedia.org/T196601 (we didn't succeed in ten years to convince people not to rename messages ever :P) [16:33:23] Oh yeah, thanks. [16:33:58] Oh, I didn't know about that project. A more automated approach for you guys would definitely be useful. [16:38:38] Yes, thanks to abijeet a few things are being documented and refreshed https://phabricator.wikimedia.org/T222577#5294982 [20:28:54] Hello and BIG thanks for the awesome software. I got a wiki that is reporting "Mailer returned: Unknown error in PHP's mail() function." when trying to mail the email-address verification email. What could be wrong? [20:30:21] It's unknown [20:30:22] ;P [21:02:52] I gotta check the mail subsystem [21:03:00] but that is a not-yet-active wiki [21:03:11] got another problem updating a wiki actually in use [21:03:52] Query: SELECT ar_id,ar_comment FROM `archive` WHERE ar_comment_id = '0' AND (1=1) ORDER BY ar_id LIMIT 100 [21:03:54] Function: MigrateComments::migrate [21:03:55] Error: 1054 Unknown column 'ar_comment_id' in 'where clause' (localhost) [21:04:09] this when running the upgrade from 1.32.2 (iirc) [21:04:41] 1.32.1 [21:05:50] Reedy: can you help? [21:06:25] I can go into mysql and look [21:10:19] Yeah.. no column called 'ar_comment_id' so no wonder the update.php breaks when I try to run it [21:12:49] I don't get it.. I just upgraded 2 pcs 1.32.1 mediawikis, but only when trying to upgrade wiki.study I run into this error that the updater is trying to run SQL that doesn't match the database structure [21:14:59] Here is all the info that the updater gives about what it is trying and failing to do: https://paste.debian.net/1098067/ [21:20:17] Tried running 'migrateComments.php'. Fails in identical way [21:40:06] Here is the full printout from 'php maintenance/update.php' https://paste.debian.net/1098070/ [21:42:19] jubo2: looks like https://phabricator.wikimedia.org/T227662 ? has a patch pending, but not merged yet