[05:22:14] https://commons.wikimedia.org/wiki/Category:Asaf_Bartov [05:53:52] i have a lab test till 4:00 on 24th [05:53:59] can i join after 4 [05:56:02] Sure, no problem [05:56:36] codered: What's your wikimedia username ? [05:56:52] codered [05:57:55] codered: Did you register for the hackathon yet? [05:58:09] i registered [05:59:32] I dont see any codered. What's your ID number? [05:59:49] 20147PS118H [05:59:58] 2014A7PS118H [06:00:57] Cool. [06:00:58] (y) found you [06:01:07] Although your wikimedia username seems to be "redamith" [06:01:33] i had to redo everything, when my ports were not working [08:38:36] did we start yet ? [08:43:11] query [08:47:21] hey nischay. [09:00:14] Hello [09:00:29] We started the introduction session. [09:01:06] Introduction to Wikimedia Projects - https://slides.com/soni-1/deck-22/live [09:15:02] http://slides.com/tonythomas01/deck-22/live [09:15:13] Introduction to the Hackathon [09:32:41] How to contribute - http://slides.com/tonythomas01/wikimedia#/11 [09:40:28] Everyone, please make sure to join https://etherpad.wikimedia.org/p/WMHBPHC where we'll store everything about the hackathon [10:03:52] hitting the url localhost/core/ returns "run();" [10:04:23] rajat: Are you following the MediaWiki Hackathon or the Pywikibot one [10:04:51] MediaWiki [10:05:59] hitting the url localhost/core/ returns "run();" .... is this right ? [10:08:54] Hey rajat. when you go to 'localhost/core' it shows only 'run();' right? [10:09:14] right [10:10:26] Okay. So, can you check whether a localsettings.php file exist? [10:11:38] should it be in the core directory ? [10:16:20] rajat: in your browser ? [10:16:52] rajat: where have you cloned your mediawiki-core to ? [10:17:13] I cloned it to ~/workspace/core [10:17:17] adn then copied to [10:17:21] DocumentRoot [10:18:52] apparently I do not have permission to perform git operations in the DocumentRoot [10:19:16] rajat: okey - so you can just create a folder over there, give it 777 permissions, and then later move your core to that folder [10:19:21] so that you can do git operations inside there [10:19:41] or better - clone the core directly to that 777 [10:19:46] 'ed folder [10:20:09] 777 >_> so insecure [10:20:29] AbdealiJK: :/ [10:21:19] Yo Tony so insecure he uses 777 permissions? :) [10:21:49] SoniWP: I am not running en.wp in it :P [10:23:02] sudo chmod 777 /var/www/html/workspace/core [10:23:02] git pull [10:23:02] error: cannot open .git/FETCH_HEAD: Permission denied [10:24:43] sudo chmod 777 /var/www/html/workspace/core/* [10:25:04] How do I clone this repo from Phabricator : https://phabricator.wikimedia.org/diffusion/EOST/browse/master/ ? [10:25:16] enigmaeth: you need not clone it from phabricator [10:25:20] get it from gerrit ? [10:26:18] sudo chmod 777 /var/www/html/workspace/core/* >>>> does not work either.. . [10:26:25] enigmaeth: you can find the command here - https://www.mediawiki.org/wiki/Gerrit/Tutorial#How_to_submit_a_patch [10:26:32] replace the extension name with that one [10:26:40] I dont think permissions are being set... [10:27:05] sudo chmod -R -v 777 var/www/html/workspace/core/* [10:27:07] err [10:27:16] sudo chmod -R -v 777 /var/www/html/workspace/core/* [10:28:19] beautiful log :) [10:28:52] rajat: did it work ? [10:29:02] permission are set 777 [10:29:10] still getting the same error [10:29:34] rajat: in that case go to [10:29:40] cd /var/www/html/workspace/core/ [10:29:50] chmod -R -v 777 .git/ [10:29:53] :D [10:29:58] hahahaa [10:37:51] So. [10:37:59] It has come to this. [10:43:33] ssh -p 29418 soni@gerrit.wikimedia.org [10:43:33] Permission denied (publickey). [10:43:40] Any idea why this problem might be? [10:49:04] Solved, thanks [10:49:08] SoniWP: you need to add the ssh keys following https://www.mediawiki.org/wiki/Gerrit/Tutorial#Set_Up_SSH_Keys_in_Gerrit [10:49:10] SoniWP: wow. [10:56:21] what does the ContentHandler do ? [10:56:30] why is it deprecated ? [10:58:09] Which file am I supposed to open in phpstorm? [10:58:23] open the complete project [10:58:39] edit whichever file you wish to [11:00:04] rajat: its not the ContentHandler which is depreacted [11:00:09] the task says - "The ContentHandler project deprecated a bunch of stuff." [11:00:16] right.. my bad.. [11:00:22] i understand that [11:00:24] @rajat do you mean the core folder? [11:00:35] the one you cloned [11:00:44] hooks [11:00:47] functions [11:00:55] are deprecated [11:00:56] right ? [11:01:47] that could have many reason though .. hmm... [11:01:54] ContentHanlder allow wiki pages to hold other kind of data in a JSON serialized format - like say - a newsletter [11:01:55] more at https://www.mediawiki.org/wiki/Manual:ContentHandler [11:02:49] oh great! [11:03:05] next query.. https://phabricator.wikimedia.org/T145730 .. lets say I want to work on this branch .. [11:03:23] how do I get that task assigned to me ? [11:04:00] rajat: Right now we're not assigning tasks on phabricator. [11:04:13] Currently we're just claiming relevant bugs on the etherpad [11:04:17] And then fix it. [11:04:36] Once they are fixed, then you can assign them to yourself and mark them as resolved [11:04:44] Etherpad - https://etherpad.wikimedia.org/p/WMHBPHC [11:04:56] sounds good. [11:08:43] is there a manual for getting a local instance of mediawiki ? [11:08:49] up and running .. [11:11:28] rajat: you can find it in the Gerrit tutorial ? [11:12:20] I have my git repo all set. [11:12:27] but getting run(); [11:12:33] in my browser [11:12:41] is that supposed to happen ? [11:19:04] what did you exactly gave in the browser? what was the link? [11:20:06] @tonythomas I am having an issue with git commit [11:20:23] what enigmaeth okey - what's happening [11:20:23] ? [11:24:19] how do I change the permissions for gedit in var/www; specifically, after LAMP has been set up, gedit is unable to save any of my php files. [11:31:05] Before you create a commit message - see this one - https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines [11:31:28] hitesh: A bad fix could be 'sudo gedit'. [11:31:51] hitesh: better run this: sudo chown hitesh /var/www/html -R [11:41:54] it worked! [11:58:34] Snacks break :) [11:58:42] Getting back by 6:10 [12:10:46] I have posted the review.. some bot verified the review .. what next ? [12:44:05] rajat: can you share the link ? [12:44:34] https://gerrit.wikimedia.org/r/#/c/312637/ [12:51:02] I have pushed my commit to gerrit . Do I have to add reviewers or something like that? [13:00:51] tonythomas asked me to add two reviewers. [13:02:03] 1. Legoktm [13:02:10] 2. Reedy [13:24:37] hello [13:32:43] is #pywikibot also on freenode ? [13:33:01] dont' know [13:33:14] it is [13:53:55] SoniWP: heck out https://www.mediawiki.org/wiki/Manual:Skin_configuration [13:58:22] @rajat Could you explain the changes made in your patch https://gerrit.wikimedia.org/r/#/c/312637/ ? [13:59:14] what exactly ? [13:59:35] We had to remove the getContent method. [13:59:54] Your patch still uses it [14:01:16] it had some purpose before right ? so there should be a replace for it ... [14:01:22] yes [14:01:43] namespace for the previos getContent was .. Activity [14:01:51] now it is WikiPage [14:02:19] I found this in the doc for Activity::getContent() [14:02:21] okay! [14:02:26] nice [14:02:34] thnks [14:04:50] Snippet for throwing a 'deprecated' error on use: ContentHandler::deprecated( __METHOD__, '1.21' ); [14:17:57] Anyone working on subtasks of https://phabricator.wikimedia.org/T145734? [14:19:09] Tony is working on 200 [14:25:42] https://www.mediawiki.org/wiki/Gerrit/Troubleshooting#git-review_complains_about_.22missing_Change-id_in_commit_message.22 -- in case git complains on there is no Change Id [14:32:54] @tonythomas pushed my second patch! [14:33:08] enigmaeth: great. share it on the etherpad [14:36:39] can anyone share a nice and clean way to setup up my LAMP [14:45:17] What is the general way to replace fetchContent() issues? [14:45:45] And is the Article namespace deprecated? [14:48:55] The docu answered my question : ) [14:50:19] shortstheory: The answer? :3 [14:50:51] https://doc.wikimedia.org/mediawiki-core/master/php/classArticle.html#affd3b52d2544cc334d7805ae9e5aba98 [15:15:01] Fixed one [16:45:02] enigmaeth: you gotta review here https://gerrit.wikimedia.org/r/#/c/312636/