[01:39:05] Hi all, I was in here the other day asking about the LDAP plugin - decided it's too old to be any use going forward, so I have started a new one from the ground up. [01:39:36] It is still pretty sketchy, but it is currently working. I have one thing I am currently uncertain of however. [01:40:16] The account creation type. I could have create, link or none. It is obvious what create and none do - however what is the purpose of link? [01:40:44] link is intended for OAuth style login providers, when the MediaWiki account is merely linked to some external auth provider [02:01:17] legoktm: So in this case I should be using it to link to the external LDAP auth provider, is that right? [04:08:31] if I install mediawiki on XAMPP on windows 10 and use it as my staging area for hacks, how easy will it be for me to migrate it to my dreamhost (linux) server where it will be live? [04:08:52] hacks? [04:09:41] I'm going to do a wiki/MUD mashup [04:10:34] e.g. will the XAMPP database be compatible with dreamhost database [04:11:10] sorry if this is a stupid question [04:12:55] I was also thinking of writing a script that would automatically edit all the necessary files to integrate my hacks but maybe that's stupid and i should just use git or something [04:13:00] but i don't know how to use git [04:14:01] maybe i should read https://www.mediawiki.org/wiki/Reading/Web/Setting_up_a_staging_environment [04:14:07] but i'm lazy and partially retarded [04:14:27] I'd recommend reading https://www.mediawiki.org/wiki/Do_not_hack_MediaWiki_core [04:14:42] if you are going to go ahead anyways, I'd recommend using git [04:15:01] A mysql database of mediawiki on xampp should be compatible with what dreamhost uses, you'll need to dump and import it probably [04:15:30] And we'd appreciate it if you didn't use language like "retarded". [04:16:54] sorry about that. my fault entirely because i am aware of the fact that it is not a good word nowadays [04:17:40] i really do have schizophrenia though [04:18:07] Oh, I thought you just self-identified as retarded. [04:18:39] Which I personally don't find problematic! [04:19:30] kind of like how some people tell racist jokes about their own ethnicity? [04:20:08] no one can figure out my location from my connection to this channel right? [04:24:26] we can see your IP address [04:25:14] (https://freenode.net/kb/answer/cloaks) [04:27:45] thank you for all the help so far legoktm! [04:28:06] anytime :) [06:20:15] what's the best way to get a page diff and run some code on it right after a user edits? [06:36:14] also is it a security risk to install mediawiki by uploading it to a publicly accessible domain and running the install process? [06:41:30] mwasteland: no, the installer can't really do anything unless you give it database passwords [07:13:55] legoktm: k [07:14:19] legoktm: what's the craziest thing you've built out of legos [14:01:00] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @subbu & @tgr - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:51:00] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @subbu & @tgr - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:28:43] Suggestion: I think it would be useful that you advertise the technical meeting a little earlier than 60 minutes. Hope this feedback helps you [15:29:13] harmaahylje: Isn't it advertised on mailing lists etc? [15:29:28] I don't know, I am not on those mailing lists [15:29:34] lol [15:30:27] Birgit_WMDE: Not sure who is the best placed person... :) [15:30:30] See above [15:31:02] One day beforehand and targeting times so that people from multiple regions see the message [15:31:14] Here on IRC, as the meetings seem to be held here [15:35:10] It is awesome that some of you held meetings like that [15:35:23] It is best everybody are aware of them! [15:45:22] Is there a correct way to do rollback'able database transactions in MediaWiki? I am hitting this issue with the absolute need to call $db->rollback(), but since the entire web request is in a transaction this causes obvious issues. [15:53:00] Trela, you should be able to begin and rollback? [15:54:18] According to this documentation page if it is inside the context of MediaWiki::run() the only way to be able to use begin/commit is to purposely throw an exception, catch it, and basically trick the MediaWiki core into letting one use it. https://www.mediawiki.org/wiki/Database_transactions [15:57:40] hm [15:57:43] ok [16:10:15] harmaahylje: if that helps, another meeting is coming up in 5 hours [16:11:02] do you have any ideas where / when it should be announced? [16:11:25] there are mailing list announcements a day before, there was a facebook announcement this time [16:11:43] sometimes there are on-wiki announcements although apparently not this time [16:15:17] Trela: you can use startAtomic() / doAtomicSection() with ATOMIC_CANCELABLE I believe [16:16:23] Ah, that looks like a MW 1.31 thing. [16:16:53] never seen it used in any MediaWiki code though, there might be a reason for that [16:19:38] Trela: seems like cancelable was the default before 1.31 [16:20:00] That constant does not exist in MW 1.29. [16:21:34] Unhelpfully, MW has no @since tag on it [16:23:09] We are in the process of readying out MW 1.31 upgrade on Gamepedia this week and next so I can just hold off on this bug until then. Thank you for pointing that out, tgr. :D [16:23:26] tgr: I'm not looking for a meeting, but someone else might! so it is good that you announced it. I think that since the meeting is advertised here on IRC, it could be advertised a day earlier too. [16:24:05] harmaahylje: thanks, I'll forward that to the bot ops [16:24:34] Trela: what I mean is, pre 1.31 atomic sections were always cancelable [16:24:49] tgr: great stuff! And if there is a calendar of the meetings, maybe post an url to it too? [16:25:08] tgr: No cancelAtomic() function though. [16:25:10] https://gerrit.wikimedia.org/r/c/mediawiki/core/+/420752 [16:27:01] oh, right. You are correct. The whole savepoint thing seems to be 1.31. [16:28:14] harmaahylje: that's in the URL at the end of the text the bot posted [16:28:26] unless you mean something like a public Google Calender entry [16:28:46] which would indeed be nice [16:29:24] tgr: honestly it seems that I did not notice the link. It might be useful to show the dates in a calendar format though, rather than a list of dates [18:03:32] "No working replica DB server: Unknown error" - That basically just means that getReaderIndex() could not return a non-lagged replica, correct? [22:01:07] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @bawolff - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [22:51:10] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @bawolff - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting