[06:34:17] legoktm: hey. you around ? [06:34:25] had something with the contenthandler stuff again! [06:34:29] hey [06:34:31] what's up? [06:35:09] legoktm: great. so addshore was asking me why we are not storing the publishers list as an array, and then a json list - as currently we are storing it as a string, then imploding with "\n" [06:35:18] I think I copied that logic from MassMessage ? [06:35:31] is there any specific reason why the JSON list might not work ? [06:35:38] heh [06:35:40] don't think so [06:36:02] legoktm: alright. I think that would make the code look more clean [06:36:04] changing it then. [06:37:17] ah. I think massmessage is storing it as a list too https://github.com/wikimedia/mediawiki-extensions-MassMessage/blob/master/includes/SpecialCreateMassMessageList.php#L134 [06:37:24] hmm. dont know where I got the other thing one :\ [06:38:01] also, one of the cool things is that you don't have to make the format perfect immediately [06:38:10] you can (kind of) change it as you move forward [06:38:21] legoktm: oh. that is true [06:38:25] there's a function called Content::preSaveTransform() [06:38:42] before something is saved, it is called, and you can change the internal strucutre of the content before it is saved [06:38:52] oh. that is nice. [06:39:01] you just have to make sure that when you read from the database, you are always compatible with the old way (string or array) [06:39:12] anyway, I think the current saving as string and later implode is ineffecient [06:39:20] legoktm: true. [06:40:07] let me try changing it anyway. Our patch has been in gerrit for so looooong [07:35:57] :D [07:36:12] tonythomas: if you were in Berlin now we could just sit down and get it all merged ;) [07:52:12] addshore: argh. I miss the hackathon days :( Hope this one gets merged before I hit berlin. [08:01:51] :D [08:02:10] I dont think I asked, or maybe I did and I forgot, where are you staying in berlin? [08:03:15] addshore: landing there on Oct 11th! [08:03:47] I might be around on the 29th of oct [08:03:58] / that weekend ish [08:05:15] addshore: yay - there is some FOSS event happening over there, I guess ? [08:05:20] yup [08:05:21] https://gerrit.wikimedia.org/r/#/c/304692 is updated too. [08:05:49] addshore: thats going to be great. Oct 29th is the same day when the Google Mentor summit too happens :\ [08:05:56] oh.. :P [08:06:01] so I would be leaving the city (if everything goes like this) [08:15:41] ahh [08:15:42] okay! [09:19:26] addshore: and that patch would want one more review :D [09:19:33] (in case that got missed) [09:52:35] :D [09:52:39] I'll see if I can look today! [12:25:15] andre__: hey. I found something more [12:25:53] in https://www.mediawiki.org/wiki/Gerrit/Tutorial#How_to_submit_a_patch -- it is said just to clone the Mediawiki core, and I see people just execute that command straightaway, while it should be actually done from the webserver DocumentRoot [12:26:02] this can be like /var/www/html/ in most apache installs [12:26:31] all my attendees (I guess), gets stuck here, and just clone the thing from where the terminal is at that point, and then wonders [12:26:55] but its an expected knowledge for someone who have done something with php, apache etc, that the app should rest in the documentroot, though [12:30:55] tonythomas: thanks! could you add an additional comment to the task so I don't forget? [12:31:03] IRC stuff gets lost too easily... [12:31:08] andre__: adding in now [12:32:38] thx [12:32:42] done