[00:08:04] ardnet5: I haven't, but I'm pretty sure others have. tgr might be somebody in particular to poke. [00:11:55] thx bd808 [00:12:20] i've kinda pulling my hair already just to solve this :) [00:13:09] but lemme try my luck again for this, and will try to give some update of that if there's any... thx! [00:13:20] I assume you have seen https://www.mediawiki.org/wiki/MediaWiki-Vagrant/Advanced_usage#MediaWiki_debugging_using_Xdebug_and_an_IDE_in_your_host ? [00:13:30] yeah, i did... [00:14:00] *nod* those instructions may be out of date [00:14:16] one thing i've noticed is from the vagrant is, if i put a custom file, say 'test.php', i need to add that in /var/www/ [00:14:28] correct [00:14:32] which it doesn't reflect on my host directory [00:14:38] also correct [00:15:09] there is a bug about that somewhere I think, but we never decided if it was important enough to change [00:15:17] phpstorm is like need to define configuration like the directory on the host, and also on the vagrant to sync up [00:15:40] i was trying to do this one actually: https://confluence.jetbrains.com/display/PhpStorm/Validating+Your+Debugging+Configuration [00:16:41] T88149 is the docroot one [00:16:41] T88149: MW-Vagrant's docroot should be available from the host machine - https://phabricator.wikimedia.org/T88149 [00:16:51] which what probably what causing the message of 'Waiting for incoming connection with ide key '1234' keep coming, and never see the variables and object on the phpstorm console [00:17:36] It looks like that ticket ^^ has some config snippet for phpstorm [00:18:06] oh it's extra stuff to go with the patch [00:18:34] oh, u talking abt this one, right? https://phabricator.wikimedia.org/T88149 [00:18:42] yeah [00:19:00] lemme take a look, i've just noticed that [00:20:14] ah, that's definitely a problem that i encounter [00:21:16] i did create a symlink also, but still doesn't seems to work [00:23:49] I found some advice from tgr in old irc logs. One bit that is different from the notes on mw.org is that he recommends *not* setting xdebug.remote_host. [00:24:06] * bd808 looks for a public link to this same log [00:24:53] ardnet5: there may be something useful to you in http://bots.wmflabs.org/~wm-bot/logs/%23mediawiki-core/20160502.txt [00:25:18] oh... lemme take a look. thx a lot bd808! [00:26:06] ardnet5: you can see in that log that I was just as clueless about xdebug then too :) [00:26:48] If you do manage to get something working, please take a few minutes to update https://www.mediawiki.org/wiki/MediaWiki-Vagrant/Advanced_usage#MediaWiki_debugging_using_Xdebug_and_an_IDE_in_your_host [00:27:06] bd808: ha... ok :) [00:27:23] oh sure, certainly i will update that page once i found some work around for that [00:27:42] perfect. Good luck [00:27:49] thx a lot for the respond bd808! [00:27:57] yw [01:41:34] hi [01:41:45] 4 yyears no IRC [01:41:52] forgot my login [01:52:43] I got a response from one of the maintainers of the wikia code base, the actual code is Mediawiki 1.19, with a lot of custom stuff. Its not currently possible to easily run it outside of their environment, but they're working on fixing that [01:57:00] CZauX: They have been working on it for years, don't hold your breath [01:57:44] I'm not, but I thought it was interesting to get a response [01:57:55] Not to mention I don't want to base my wiki's around 1.19 [05:34:51] hey in Gerrit tutorial I am getting following [05:34:52] As given in the tutorial. I was trying to Add SSH key to use with Git. But when I run this command(ssh -p 29418 @gerrit.wikimedia.org) I am getting "permission denied(publickey)" error. [05:35:04] can anyone help me [06:25:11] Anyone can help me with this? How to link an external JS in a mediawiki extension? [06:25:11] I have a JS. I want to make a mediawiki extension so that it works when user enables the extension. [07:54:16] anyone familiar with parsing pagecounts raw? I see it is very common where there are 2 similar pages appearing one with normal encoding and one with some crapped encoding [07:54:46] For example zcat /public/dumps/pagecounts-all-sites/2016/2016-05/pagecounts-20160531-220000.gz | grep Birstonas_COA.svg [09:15:17] srijan_: You can look at other mediawiki extensions and see how they load JS files. A basic load would be to add your JS in the 'extension.json' along with the hook 'OnBeforePageDisplay'. You can then do $out->addModules('ext.yourjsnamespace'); [09:15:28] *reference your JS in extension.json [09:16:11] Okay thanks! I'll try doing that. [09:19:25] srijan_: https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay that would be the hook. [09:20:10] $out is the variable for the 'OutputPage' object. You can read more on that object in the Mediawiki docs if you're doing some fun stuff with it [13:43:59] hi [13:55:17] Anarchopedia has a problem with the characterset in the database. Is there someone who can help us? Please, send a mail to volodya@whengendarmesleep.org many thanks. [15:17:09] when gend arme sleep ? [15:35:20] Debra: when the cop sleeps [15:40:08] Ah, all right. [21:07:12] Hello, I'm trying to use VisualEditor. Setup is done, edidation working fine, but I have 2 problems which I can't solve by myslef: [21:07:26] 1) I've disabled all cache, it's internal wiki, not too much load there. However, my edits are not visible until I clear my browsers cache [21:07:38] 2) if I set category in VE, save it.. everything looks fine.. until next edit - category is deleted, no idea why [21:07:54] Not sure, if this is proper channel for such questions :)