[07:01:49] I'm new to installaing mediawiki. I have installed all the packages on Ubuntu and am ready to configure. I go to URL/mediawiki/index.php and all I see is run(); [07:01:56] what am I doing wrong? [07:06:47] I am new to wiki and have installed it on a Ubuntu server. I am trying to configure and go to URL/mediawiki/index.php and all the page shows is run();. What am I doing wrong? [07:09:34] resnicke_: ... php doesn't work? [07:10:37] php - vesion gives me version 7.0.32 [07:13:20] how do I enable error checking to see what is failing? [07:17:59] ? [10:12:51] When I try http://termbin.com/mmv0 on query.wikidata.org, I get java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: there can be only one "run last" join in any group [10:12:55] is it me or the server that's wrong? [10:13:03] this query worked a year or two ago … [17:06:55] hi [17:07:12] https://www.mediawiki.org/wiki/Snippets/Open_external_sidebar_links_in_new_window <- added this code it works on 1 wiki and the other doesnt [17:07:15] weird [17:11:36] biberao: same skin? another JS/CSS snipplets already in which does modify the href? [17:13:18] DennisRoczek|afk: same skin [17:13:30] but i should pay attention to second part [17:13:59] a lot of other scripts [17:14:03] messing with href [17:14:47] * DennisRoczek|afk afk again [17:18:00] DennisRoczek|afk: i even tried another one [17:20:25] DennisRoczek|afk: ideas? [17:24:54] biberao: do you have public links? I would check after the walk with the dog... (So now really afk ) [18:00:26] DennisRoczek|afk: ok thanks [18:04:22] Fighting with parsoid about opening arbitraty UDP ports on 0.0.0.0 (all interfaces) which is suspicious in my opinion... [18:04:38] it seems to be the service-runner: /usr/bin/node /usr/lib/parsoid/node_modules/service-runner/service-runner.js -c /etc/mediawiki/parsoid/config.yaml [18:04:41] yeah, that does sound suspicious [18:04:48] Why would it use udp at all? [18:05:13] how can i restrict it to localhost or disallow udp ports? [18:05:40] I don't actually know anything about parsoid [18:05:49] something in https://github.com/wikimedia/service-runner/blob/master/config.yaml maybe? [18:05:53] But i can't think of what it would need udp for other then potentially logging [18:06:20] yes somethiung like that, its my first encounter with parsoid [18:06:30] it'd be parsoid's config.yaml, not service-runner [18:06:47] There's also a channel especially for parsoid at #mediawiki-parsoid [18:06:47] i checked out the deploy and made a debian package out of it which i run on nodejs v10.x [18:07:06] oh nice thx [18:09:53] Skizzerz, not sure but i think config.yaml is service runner syntax [18:10:35] "/usr/bin/node /usr/lib/parsoid/node_modules/service-runner/service-runner.js -c /etc/mediawiki/parsoid/config.yaml" [18:10:46] so it's loading /etc/mediawiki/parsoid/config.yaml as the config file [18:10:47] so check there [18:11:56] yes exactly thats the cmdline of the PID in question and /etc/mediawiki/parsoid/config.yaml is parsed as something like https://github.com/wikimedia/service-runner/blob/master/config.yaml I guess [18:12:08] hence my hope was to disable some logging or such [18:12:11] out of curiousity, is it always the same udp ports (and if so, which ones), or is it random? [18:12:27] I mean, what is the contents of that config.yaml file in the parsoid directory [18:14:36] doesnt seem to be always the same udp ports: 0 0.0.0.0:{46461,48672,56093,38700} and different on restart [18:14:59] its not in the yaml [18:15:10] and not the parsoid api [18:15:17] and you're sure it's listening on those ports, and not trying to establish a connection from them instead? [18:15:46] I see it from "sudo netstat -tulpn | grep node" [18:17:17] its udp, so i guess its not in State: LISTEN [18:17:42] eg "udp 0 0 0.0.0.0:38700 0.0.0.0:* 22904/node" [18:20:00] it works, i just dont want it to open those udp ports publicly [18:22:25] what i tried is set INTERFACE="127.0.0.1" in /etc/default/parsoid as well as in /etc/mediawiki/parsoid/config.yaml serverInterface: '127.0.0.1' but thats the tcp api and not those udp ports [18:58:08] Hey all. Is there a way I could show version information on a wiki page (about the wiki page). Like Edit version 16. (not a number I place on it myself, but a magic word) [18:58:30] ^^ and I should have added a question mark somewhere in that ;) [18:59:52] finalbeta: {{REVISIONID}}, but that shows the global rev id, not that it's the 16th revision of that particular page [19:00:24] Ok seems to be solved, i had to set metrics > type: log in the config.yaml [19:10:35] Thanks Skizzerz, I found that one, but that's no good for me. I need it for the page. [19:29:34] i have thesame code in 2 different wikis -> https://www.mediawiki.org/wiki/Snippets/Open_external_sidebar_links_in_new_window <- oneworks the other doesnt [19:29:37] weird [19:29:40] :| [20:02:47] Darn, have not found an extention or anything that gives me a true page version. [20:53:42] * revansx[m] sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/EoXtHTgBhIIMqqjHBecFFFWg > [20:55:10] The reason there is no "currently viewed revsion" magic word is that it would break the whole point of page caching. But it is completely fair game with javascript [21:54:07] revansx[m]: it wouldn't need to break page caching [21:55:02] oh, ok. then why isn't it a magic word? [21:55:19] you mean, the {{REVISIONID}} magic word? [21:57:22] it's slightly different, as it returns the revision ID of the latest revision [21:57:32] no.. that always returns the "latest" revision id.. iiuc, Finalbeta is looking to show the revision that is currently being viewed. [21:57:39] right [21:58:19] there's no reason it couldn't show the current REVISIONID, though [21:58:37] (when the page is saved :P) [22:02:14] fair enough.. but at present.. the only way to do this is a I have outlined. If you develop a magic word that does this.. I would be eager to use it. Please let me know. thanks! [22:04:29] it's unlikely to appear in core mediawiki, but someone could write an extension that does it [22:05:23] I would love that.