[00:04:28] hmm i ask that again tomorrow [00:04:32] * noudle_ goes to sleep [07:27:14] Hi, when using the visualeditor, one requires parsoid. This service runs on port 8142. But I'm not sure if this means that the browser (end user) will connect to parsois, or that the mediawiki's php will connect to this. [07:45:26] finalbeta: MediaWiki's PHP will connect to parsoid. [07:45:42] The browser will never connect to parsoid directly, it will go through MediaWiki [07:46:02] so the port doesn't need to be open to the world, just so that whatever host runs MW can access it [09:27:29] im trying to get mathoid and the restapi to work with my mediawiki (1.30), however the result in the wiki looks something like this: https://u.teknik.io/ujIxl.jpg [09:28:17] i can see the direct url to the generated output of mathoid in the restapi log and open that in a seperated browser window and it does look good. [09:28:26] it just seems to not integrate well in the wiki page [09:28:38] why could this happen? did i miss any configuration? [10:45:17] hmm [10:45:37] hi, anyone knows a way to query with cargo with "IN" operator like sql, like "select * from table where field IN my_list"? [11:14:22] :S or anyone have any patch to do this on cargo maybe? [11:16:09] Depends how cargo builds queries [11:16:21] MW will work out if it needs to do an IN or just an = [11:16:29] You're probably asking in the wrong place, unfortunately [11:52:25] legoktm, thanks for confirming that. [11:59:01] does anyone know where the url gets build which points to the image src of the generated output of mathoid? [11:59:23] as thats the reason why my mediawiki does not display the output correctly, it inserts a wrong host/domain [12:00:50] like in the wiki the image src is something like http://localhost:7231/localhost/v1/media/math/render/svg/hash but should be http://correct_ip_or_host_here:7231/localhost/v1/media/math/render/svg/hash [12:16:08] pls lol [12:45:12] okay.. it was actually a setting in the LocalSettings.php [12:45:17] got it now [13:02:27] Is there script that will force re-parsing of all pages? [13:03:04] I changed a template that is used on a few million pages, and only few hundred of them got re-parsed. [13:05:19] touch.py ;) [13:22:17] and now I know why: PHP Notice: unserialize(): Error at offset 65527 of 65535 bytes in /data/srv/mediawiki/tags/2018-04-27_11:17:32/includes/jobqueue/JobQueueDB.php on line 817 [13:22:55] the list of pages seems to be so long that it doesn't fit the table and is thus discarded [13:31:22] https://phabricator.wikimedia.org/T193246 [13:32:55] Nikerabbit: thanks for filing! I wonder how many wikis are affected without knowing. [13:34:16] Nemo_bis: how many wikis use templates on millions of pages? [13:40:04] Nikerabbit: less than a hundred I guess [19:36:46] Hello, anybody familiar with Vagrant? [19:38:09] I need to test something with MediaWiki mailing features [19:38:13] And thus I need to access the mails [19:38:17] And I cannot figure out how [20:12:58] Access the mails? [20:17:16] Urbanecm: you would need to vagrant ssh default, and then use the mail command [20:19:52] Sagan, and I got permission denied [20:20:14] Urbanecm: inside the vm, or where? [20:20:29] vagrant@vagrant:~$ mail [20:20:29] Cannot open mailbox /var/mail/vagrant: Permission denied [20:20:30] No mail for vagrant [20:20:47] Urbanecm: maybe sudo mail? not sure, was long time ago, I did that [20:32:11] Sagan, sudo mail nor sudo mail -u vagrant work [20:32:31] hm, then I don't know, sorry :/ [20:33:06] Thank you :) [20:33:12] The mail is in /var/log/mail.log [20:33:23] but...it seems to be the last place it is in [20:57:02] Urbanecm: that would be sudo -u vagrant mail, not sudo mail -u vagrant [20:58:07] Platonides, that command is quite useless, because it'll run the command as "vagrant" when you already are logged as "vagrant". [20:58:11] The mail command has also -u parameter [20:58:24] It allows superusers to choose what mailbox they want to open [21:00:35] Urbanecm: you should be able to see the emails with sudo cat /var/mail/vagrant [21:01:04] how is it that user vagrant cannot read /var/mail/vagrant ? [21:01:16] who owns that file? [21:01:31] Platonides, root [21:01:37] actually you are right, no need for sudo [21:01:37] dmaza, the file's empty [21:01:55] have you sent an email from mediawiki? [21:02:00] dmaza, sure [21:02:08] can try it again [21:02:22] what does /var/log/mail.log says? [21:03:32] dmaza, https://pastebin.com/c9TxchwJ [21:03:55] error: open database /etc/postfix/aliases.db: No such file or directory [21:04:37] quick dirty fix, run newaliases, cp /etc/aliases.db to /ect/postfix/aliases.db [21:04:57] then restart postfix with sudo /etc/init.d/postfix restart [21:05:32] you probably need to do all that with sudo [21:07:45] dmaza, done, working [21:07:50] Thanks! [21:07:53] sweet [21:07:55] np