[01:35:26] Hi Blackwire. [01:35:28] What do you mean? [01:45:37] Blackwire: a tag can include almost anything that can normally be included on a wikipage, its up the indiuvial wiki to decided what they want [04:42:27] hello. looking for user support... [04:46:02] never mind... [05:14:49] poor mgs [08:25:03] hello [08:26:13] hi Bardack_ [08:26:24] I succeed to install mediawiki 1.29 with VisualEditor and Parsoid 0.8.0 [08:26:41] but now I want to do it with latest stable mediawiki, and I'm having issues I can't understand … [08:26:59] mediawiki 1.32, VisualEditor REL 1_32, Parsoid (tried 0.8, 0.9, 0.10) … aj [08:27:11] always fail. Anybody has some experience with it ? [08:32:46] at least, which Parsoid version should be used with mediawiki 1.32 + VisualEditor 1_32 ? [08:34:43] Bardack_: can you be a bit more detailed than "always fail"? [08:44:41] well of course p858snake, but since I tried 3 different versions of Parsoid, maybe better to start with the correct version of Parsoid to use then I'll provide output ? [08:44:57] tbh, it's not really clear which version should/could/must be used with version 1.32 :( [08:50:00] so, currently using Parsoid 0.8.0, correctly started, click on "Edit", web browser says: Error loading data from server: Could not connect to the server. Would you like to retry? [08:50:20] I guess that 1.32 includes a VE which is after Dec2017: https://www.mediawiki.org/wiki/Parsoid/Releases [08:51:13] (and in general, https://www.mediawiki.org/wiki/Parsoid/Debugging might have some hints) [08:51:59] logs parsoid when clicking the button: https://pastebin.com/ssZLDQzj [08:52:50] yeah duesen , so Parsoid version could be 0.8, 0.9 or 0.10 :( [08:57:00] same issue with 0.10, but smaller logs on Parsoid: https://pastebin.com/k1TCK9Zq :( [08:57:57] so basically it doesn't complain … parsoid and mediawiki are on the same host, config.yaml points to http://localhost/wiki/api.php (tried with elinks and api.php works well) … [08:58:22] domain localhost, same config on LocalSetting.php . [09:04:55] Bardack_: if the browser cannot connect to parsoid that probably does not have much to do with your parsoid version [09:05:25] mmm [09:05:26] IIRC the request flow is browser -> MediaWiki API -> Parsoid -> MediaWiki API [09:05:37] well it can since I see logs in Parsoid when clicking on the browser [09:05:41] the first step presumably works, otherwise all else would be broken too [09:06:22] are those logs from the browser request? [09:06:46] do they match the timing? [09:07:05] although I guess nothing else would use parsoid unless you installed other node services [09:07:16] the logs from pastebin comes from /usr/bin/node /opt/parsoid/bin/server.js on my server [09:07:20] so parsoid logs [09:07:58] yeah, but are they produced the same time as VE doing something? [09:08:38] yes yes [09:08:42] anyway if your browser complains of not being able to connect but actually the request executes fine on the server, that's usually some kind of CORS issue [09:08:52] maybe a different port or scheme? [09:09:06] or something using localhost and something else using 127.0.0.1 [09:09:51] if it's indeed CORS you should see the error message in your browser's developer console [09:10:06] oh ok, lemme check that [09:13:05] GET http://llb-wiki01/wiki/api.php?action=visualeditor&format=json&paction=parse&page=Main_Page&uselang=en net::ERR_EMPTY_RESPONSE [09:14:36] thats with version 0.9.0 [09:15:01] now tried with 0.10.0, and in parsoid logs I can see: completed wt2html in 669.0730949998833ms [09:15:13] so I guess parsoid receives info and does its job correctly [09:19:41] oh [09:19:56] parsoid seems to contact https://en.wikipedia.org/w/api.php [09:20:53] well, maybe default api.php with node parse, nevermind :( [10:05:26] Bardack___: so chances are that's a CORS problem. Make sure your browser always sees the same domain (so if you are visiting the llb-wiki01/... URL in your browser, the API endpoint should also be llb-wiki01 and not e.g. localhost) [10:07:06] just to be sure you can check the action=visualeditor URL with curl and make sure it's not actually an empty response, although that shouldn't be possible in theory [13:32:41] damn, disconnected …( [13:33:07] so, normally Parsoid 0.10.0 with VE and Mediawiki 1.32, should work ? [15:06:43] Robert Vogel @Osnard posted in Writing a bot that gives CR+2 on gerrit - https://discourse-mediawiki.wmflabs.org/t/writing-a-bot-that-gives-cr-2-on-gerrit/1055/1 [17:59:40] Hello [18:00:36] DMI ?? [18:00:42] ping ?? [18:07:16] Bilal: ask a real question? [18:07:48] How to be a tech, Ambassador ? [18:08:14] I want to serve Wikipedia [18:34:33] Bilal: https://meta.wikimedia.org/wiki/Tech/Ambassadors [18:35:05] Andre__: Thanks dear [21:45:40] Hello guys, I'm in trouble, my mediawiki "main slot of revision XX not found in database", could you tell me how I recover from that ? [21:53:02] did you upgrade the files without running the upgrade script? [21:53:50] I basically ran an arch update, then I don't think so. [21:56:46] Yes, sounds like you need to run update.php [21:57:16] It's a CLI maintenance script that updates your DB structure etc. to use the new schemata. [22:00:11] Nice call, thank you very much.