[01:18:18] this isn't a translation: https://www.mediawiki.org/wiki/Translations:Category:WMF_Projects/3/ru [01:24:27] same IP, same page, same problem - again [01:45:49] Anyone want to give me a quick +2 of https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/580554/ so I can fix a template ;) [08:55:10] i'm trying to create a wiki link using [[ ]] but it doesn't turn into a link nor it's color red [09:27:28] Hello! Somehow the spammer get around my "confirmAccount" settings on mediawiki. I have confirmaccount set up but they still manage to register and edit without my permission [09:33:13] SSH is set up to only accept my IP. I don't really see how they can create accounts. Any ideas? [10:00:59] Marekatt: Try to create an account yourself using private browsing. If you can't, then check if you have a leftover and unprotected installation that uses the same database (for example in /wiki2, /mediawiki-1.27/ or similar) that bots may have get into [10:04:23] Vulpix Thank you. I tried making a user with private browsing earlier and it worked as I expected (couldn't do anything until it was approved by my admin account). I will check the other thing you mentioned, that seems very plausible. I have several old versions that might be connected [12:50:24] Hi :] a question for the experienced mw users: Is there a quick and easy way to get a search bar for the FAQ page? That searches ohne the FAQ? [12:54:12] What do you actually mean? [12:54:18] Searches just one specific page? [13:03:26] Reedy I want a search box only for the FAQ page inside the FAQ page [13:09:06] The problem is that the "Questions" are collapsible and with cmd + f you can't search the content of the collapsible divs when they are collapsed [14:40:32] hihi [14:41:18] Can't quite debug, but the wiki seems to be sending email from: blank or from: apache@ip.add.re.ss [14:41:32] How do I configure the 'from' address for the wiki's email? [14:41:47] I dont' see it here: https://www.mediawiki.org/wiki/Manual:Configuration_settings#Email_settings [14:43:03] I'm seeing this error, "Bad sender address syntax (in reply to MAIL FROM command)", and I assume that I need to configure the 'from' address correctly in the wiki [14:43:38] https://www.mediawiki.org/wiki/Manual:$wgPasswordSender looks relevent [14:44:58] ah, wgEmergencyContact is wrong [14:48:00] Hmm... now I'm seeing, "Recipient address rejected" [14:48:09] Greylisted [19:18:30] Nikerabbit: I'm looking at T248003, but it's not clear to me how to reproduce it. [19:18:31] T248003: Wikimedia\\Rdbms\\DBTransactionError(code: 0): A database transaction round is pending. - https://phabricator.wikimedia.org/T248003 [19:19:27] anomie: while testing I was making edit to a translatable message in MediaWiki namespace... I am not sure if it because it is a translatable message in Translate, or the namespace [19:20:09] https://translatewiki.net/wiki/Special:Contributions/Nike [19:25:04] Nikerabbit: Hmm. No reproduction on a Wikimedia site? [19:30:41] Nikerabbit: As far as I can tell $ticket can be falsey in two ways: the random number it uses for the "ticket" is 0, or some DB connection has an open transaction which will result in $ticket === null. The latter seems more likely. [19:33:15] anomie: test.wikipedia.org is only one running that patch right now, and Translate is broken there, and I don't have permissions to make edits in NS_MEDIAWIKI there [19:33:33] Nikerabbit: what user are you using? [19:33:44] Nemo_bis: Nikerabbit [19:34:15] Nikerabbit: try now [19:34:44] hey but you're crat too :) [19:36:25] Nemo_bis: maybe I just looked wrong... pretty exhausted after a long day [19:36:43] in any case, editing in NS_MEDIAWIKI there did not make that error show up in Logstash [19:39:34] I saved three edits on https://meta.wikimedia.beta.wmflabs.org/wiki/Special:Contributions/Nemo_bis without seeing any error, no idea of course what the logs might say [19:41:43] anomie: I did try random NS_MEDIAWIKI page (that is not known message in any way) and the error showed up [19:44:35] so doesn't seem to be Translate related [19:45:26] Nikerabbit: I'm not seeing the log message? [19:46:23] anomie: in translatewiki.net it happens, on testwiki not [19:46:42] so just commented on the task, maybe it won't happen on WMF production, if testwiki is to be trusted [19:46:53] Nikerabbit: Oh, I misunderstood. I thought you meant the error showed up on testwiki. [19:48:43] anomie: is there some nice way to debug what would hold an open transaction? [19:50:53] Nikerabbit: I don't know of a *nice* way, but if you turn on logging of DB queries you can read through all the queries to look for a BEGIN without a matching COMMIT or ROLLBACK. Or you could hack in some wfDebugLog() calls in Database.php at the places where $this->trxShortId gets set. [20:02:55] [method] => Wikimedia\Rdbms\Database::beginIfImplied (Title::loadFieldFromDB) [20:02:58] [db_host] => 127.0.0.1:3306 [20:03:01] [sql] => BEGIN [20:03:22] the last non-select before ROLLBACK that precedes the exception [20:03:44] anomie: would you like to see the full log? [20:04:24] Nikerabbit: Yes, I would [20:06:49] anomie: https://phabricator.wikimedia.org/P10724 [20:08:36] sorry for the horrible format, just hacked something quickly [20:09:04] * anomie looks [20:10:30] the exception is there in the middle, line 701 [20:14:26] Nikerabbit: Hmm. Nothing obvious there, the transactions all seem balanced. [20:15:02] anomie: ok, so I should debug log the trxShortId? [20:16:54] Nikerabbit: If you want, although I'm not confident it'll tell us anything different [20:17:45] ok, then I'm going to postpone further debugging [20:24:59] Nikerabbit: So we know $ticket is falsey. That probably means LBFactory::getEmptyTransactionTicket() is hitting the return null case, i.e. hasMasterChanges() returned true. Which means LoadBalancer::hasMasterChanges() returned true for some instance. Which means Database::writesOrCallbacksPending() returned true, and there are a bunch of things that could lead to that. It looks like you have at least two Database instances open there, one for the [20:24:59] "main" DB and one for SqlBagOStuff. The latter shouldn't have any transactions though. It might be worth inserting some debugging logs into Database::writesOrCallbacksPending() to see the values of all those different fields. [20:40:20] Nikerabbit: FYI, I summarized what we discussed here on the task. I'm out of ideas for the moment. [20:41:25] anomie: thanks a lot, I appreciate the help