[05:59:41] @everyone: We are in G204! [06:23:37] well - now in the seminar hall, though [06:24:16] if you are using phpstorm, plesae check out https://plugins.jetbrains.com/plugin/7439 and hack on code so that nothing screws up the indentation, etc [06:25:49] enigmaeth: for your third bug, lets try something different [06:25:56] ping me when you are done with the two, oeky [06:27:08] Okay! [06:27:12] now [06:28:46] enigmaeth: take one from https://phabricator.wikimedia.org/T107037 or https://phabricator.wikimedia.org/T122014 [06:28:56] tonythomas: I am ready! [06:30:31] enigmaeth: great! [06:42:08] What does the orange,violet and green icon besides OPEN denote ? [06:42:22] and yellow too! [06:45:59] enigmaeth: can you share a link to the phab task ? [06:46:17] https://phabricator.wikimedia.org/T107037 [06:46:27] * tonythomas clicks [06:46:52] enigmaeth: well that means its normal-, and of average importance (normal) [06:47:57] okay [07:02:51] what does 'native representation of data' mean? https://www.mediawiki.org/wiki/Manual:Content.php [07:05:29] hitesh: from what I see https://doc.wikimedia.org/mediawiki-core/master/php/interfaceContent.html#a4df7477379f397c55ec4400d8658ceb3 [07:05:36] it returns ''mixed The native representation of the content. Could be a string, a nested array structure, an object, a binary blob... anything, really. " [07:05:47] for a usual wiki page, this would mean the text which the page has. [07:05:58] might be different for different contentmodels [07:08:05] okay :) [07:59:29] Unable to upload files to my wiki. [07:59:30] Could not open lock file for mwstore://local-backend/local-public/a [07:59:34] Halp? [08:00:02] mwstore://local-backend/local-public/a/ae/imagename.jpg [08:00:34] Try this? https://www.mediawiki.org/wiki/Topic:Qlib7k3p2zvi7pkq [08:01:15] Suggests chmod 777 on your images directory. Or, in your case, files/uploads directory. [08:01:33] So basically the directly from which I'm uploading? [08:01:38] Or to which [08:01:44] To which you're uploading. [08:02:12] Basically, yesterday we did chown username /var/www/html [08:02:29] now, just do a chmod 777 on that directory, recursive. [08:05:21] Done. Same error happened again [08:08:00] have you enabled fie uploading? [08:56:20] Fixed :) [09:13:00] Amended the commit. Should I include more files in the 'fix code-style' patch or should I just do it one file a patch? [09:15:17] rohitt: you can add all those files in one single patch [09:15:23] maybe run that on all the files [09:15:28] and push in a single patch [09:15:41] Okay. [09:15:45] I think there is an easy way to do this [09:15:58] Is there a way to run the linter from terminal? [09:16:06] rohitt: checking that [09:18:52] rohitt: do take a look at https://www.mediawiki.org/wiki/Continuous_integration/PHP_CodeSniffer [09:19:07] there might be a way to execute it from the extension folder itself [09:21:40] To install Visual Editor (Setting it up is complicated, if you face some issues ping me.) : [09:21:40] 1. Set up Parsoid Service (https://www.mediawiki.org/wiki/Parsoid/Setup). For those who don't know what is parsoid, Parsoid is a service used to convert wikitext to html, and vice versa! [09:21:41] 2. And then, you can follow from here : https://www.mediawiki.org/wiki/Extension:VisualEditor#Basic_configuration_for_MediaWiki-VisualEditor [09:32:11] tonythomas: phpcs did not find any syntax errors even though there are spacing and indentation errors in the code. [09:32:40] rohitt: on a fresh clone of the repo, right ? [09:32:53] thats strange - and might be why the errors were not fixed earlier [09:33:07] output of `composer test`: Checked 150 files in 0.8 seconds. No syntax error found [09:33:24] Yes. On branch origin/master. [09:34:14] rohitt: thats sad :( [09:34:25] I am not sure what would be wrong. Thinking about asking in #wikimedia-dev [09:34:34] tis a sunday, so lean chance of getting a reply though [09:34:56] Also, you can install Visual Editor using vagrant, more info here : https://www.mediawiki.org/wiki/MediaWiki-Vagrant [09:34:56] After installing, just the 'visualeditor' role sets up a working Parsoid. [09:35:27] tonythomas: (y) [10:59:02] We are currently having the concluding sessions by the facilitator [10:59:17] About Tech opportunities at WMF - http://slides.com/tonythomas01/deck-21/ [11:04:33] About WikiToLearn - http://slides.com/srijancse/wikitolearn#/ [13:05:07] +[----->+++<]>++++. [13:50:47] tonythomas: https://phabricator.wikimedia.org/T146203