[12:14:08] Hello, could anyone update the documentation? https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mandriva [13:18:58] About every 5mn my connection is disconnected. I am on Ubuntu 20.04 is there anything I can do to stop this? thx [13:21:26] With that said, MW 1.35 Extension Page Forms: I have 2 forms that both use Company Name to assign the page. Does this mean that both forms data then appear there or do I have to set other code? thx [13:30:41] Hello, I'm still trying to install mw on a local computer… I get some progress, I can now access the media wiki installer on my browser… Now I'm blocked. For the DB choice, it proposes only PostgreSQL… Even if MariaDB is installed… How to correct that? [13:32:12] giby: you have php-mysql installed? [13:37:46] Majavah[2], normally yes, I check [13:39:04] if the installer isn't offering it, you either haven't, or haven't restarted your webserver/similar after installing it [13:40:58] Majavah[2], I have php-mysqlnd installed [13:41:29] Reedy, Ok, I restart the computer [13:41:47] There's a difference between php-mysql and php-mysqlnd on most distros [13:44:38] In the packages, I get only php-mysqlnd and php-mysqli [13:48:24] Reedy, restarted, still the same [14:08:54] How to get the "Unit file mariadb.service" ? [14:11:44] get? Do you mean create? [14:12:24] You probably want to install mariadb from your package manager and not create that file (and all the related software) itself [14:14:38] Vulpix, I installed mariadb from my package manager, is there a command to launch in order to create that file? (sorry, first time…) [14:15:37] you probably don't have to create that file yourself. That's the entire point of using package managers to handle software installs [14:16:12] I assume the OS you're using is compatible with systemd [14:17:13] it is installed [14:18:11] Vulpix, I'm on linux, … mageia [14:18:45] is the service named "mariadb"? have you tried mysqld? [14:20:14] It answered "created symlink /etc… [15:38:44] hey, I'm wondering if someone who knows php better than me can confirm something about this code: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/627938/11/tests/parser/ParserTestRunner.php#1068 [15:39:13] regarding the "use ( $setup )" bit, is it definitely true that because $setup doesn't appear in the following block, the "use" isn't needed? [15:39:28] or could a function that's called potentially access the variable (I don't think so)? [15:48:27] ningu: yes, you're right. it isn't needed there [15:53:39] ok cool, thanks [18:47:35] It answered "created symlink /etc… "mysqld" but the install system of media wiki still does not find it… Any clue? [19:02:04] MediaWiki doesn't care about the systemd unit [19:18:12] Reedy, Can you tell me what media wiki cares about? [19:21:25] Did you try installing that php-mysqli extension? [21:06:53] giby: MediaWiki cares about you, very much ❤️ [21:08:34] !cookie > Krinkle [21:08:34] To enable cookies for popular browsers, see [21:08:44] nah, wrong bot. [21:08:53] * DennisRoczek handles a cookie to Krinkle [21:09:24] * Krinkle *chomp* *chomp* *chomp* [21:09:26] thx :) [21:11:08] yw [21:11:20] Reedy, Urpmi told me it was conflicting with php-mysqlnb [21:11:42] uninstall it then? [22:25:25] Hi everyone, I'm having issues with the new built-in VisualEditor in 1.35. I'm getting "Error contacting the Parsoid/RESTBase server: http-bad-status". [22:26:23] It's a private wiki, but when I try to browse to https://my.domain/wiki/rest.php/my.domain/v3/page/html/Main%20Page in my browser it works fine. [22:33:08] Ah I see rest.php is returning 403 Forbidden since the wiki is private and VisualEditor isn't authenticated [22:36:02] I'm assuming I need to use $wgVirtualRestConfig ... 'forwardCookies' but the instructions say changing this won't work when using the bundled VisualEditor. [22:42:09] hi divx [22:42:36] to clarify, you mean these instructions? or is there some other page? https://www.mediawiki.org/wiki/Extension:VisualEditor#Forwarding_cookies_to_Parsoid [22:42:50] Yes, these instructions. [22:45:03] I tried adding the code from this since it said I must do this in order to be able to override the forwardCookies: https://www.mediawiki.org/wiki/Parsoid#Linking_a_developer_checkout_of_Parsoid [22:45:32] That didn't seem to help... [22:47:21] give me a few minutes, i'm trying to remember how that is supposed to work [22:48:24] Thanks MatmaRex, I appreciate the help [22:49:59] divx: i think it's supposed to work the way you did it - but make sure to delete the last line ($wgVirtualRestConfig['modules']['parsoid'] = [];), otherwise it overrides the forwardCookies config [22:51:58] Hmm that didn't seem to do it. This is what I added to the end of my LocalSettings.php: https://dpaste.org/dUTk [22:52:26] is it still failing in the same way as before? [22:55:46] Yes it seems to be. Checked the log to make sure it was still 403 and the error message is the same. [22:59:04] divx: and the rest.php URL is displaying the page if you visit it in your browser while logged in? [22:59:30] i don't understand why it wouldn't work. i just tried adding similar config to my local testing wiki, and it worked fine [22:59:45] Yes that works I tried https://my.domain/wiki/rest.php/my.domain/v3/page/html/Main%20Page [23:00:16] (https://dpaste.org/9GLG) [23:00:32] and i'm using a developer checkout of parsoid as described on that page [23:01:06] i have no idea what else could be the problem [23:01:46] Oh perhaps I need to run the Parsoid loading code before VisualEditor!? Perhaps it's just ignoring my extra lines because Parsoid is already loaded? [23:02:24] if you get it to work, ping me and i'll update the docs ;) [23:04:48] Reedy wondering if you could review https://gerrit.wikimedia.org/r/c/mediawiki/extensions/LocalisationUpdate/+/634263 please? :) [23:05:43] paladox: Does that work? o_0 [23:06:41] oh nope [23:06:50] I see numerous namespacing issues in update.php [23:09:37] https://gerrit.wikimedia.org/r/634375 [23:12:15] works! Reedy [23:32:55] hey bubs [23:33:07] i was hoping to use this tool to export all contents of this wiki https://wiki.voidlinux.org/Special:Export [23:33:53] is there something i can put in the "category" field to do this? [23:34:32] or do i have to put the name of every page in the "add pages manually" box? [23:35:03] As far as I know, you need a complete list of pages. (I could be wrong.) [23:35:44] is there a special page name that would provide that? [23:36:11] Sadly, I don't think so. This is something I've also been wondering about. [23:36:28] Best I can come up with is maybe there's a relatively simple way to get a list from the API. [23:36:48] (...aside from going all-out and writing an extension, which is what I was planning to do.) [23:38:23] ah there is a Special:AllPages page [23:38:43] so i can copy, do s/ /_/g, and paste into the export tool [23:38:47] i think... we'll see [23:40:04] bleb: there's an allpages API module [23:40:36] if you have server access there's a script to create an XML dump [23:41:19] https://www.mediawiki.org/wiki/Manual:Grabbers might also be useful, they're in various states of working though [23:44:21] the method i mentioned seems to have worked [23:44:25] thanks for the suggestions though