[01:28:35] is there a magic word that outputs the age of an article ( how many hours passed after its creation ) [01:32:56] Sveta, presumably that would break caching [01:33:51] i wouldn't mind it being cached, and it having an 'update' button next to it [04:07:56] Hello, does anyone here have experience writing modules? [05:16:02] Hi. Sure. [07:04:02] Reedy, yes, it was REL_32 for me [07:04:08] I've just tried to download REL_31 [07:04:10] it contains vendor... [07:04:20] so it is indeed an issue specific for REL_32 [09:06:20] Hi everyone! I'm having trouble getting MediaWiki with Bluespice Free to run with VisualEditor. Maybe someone here can help me? [09:07:30] So, I got VisualEditor to be loaded when I edit an existing page or create a new one. Existing pages appear completely empty though. [09:09:45] When I then make edits and try to save them, I get a "HTTP 500" error. I also couldn't get the wiki to log more errors by adding the error_reporting and ini_set lines to the beginning of LocalSettings.php. [09:10:17] I spent some time googling, but to no avail so far. Anyone got an idea? [09:14:14] Oh, some more info that might relevant: I'm running the wiki on Windows Server 2016, IIS. Gave all users full access to the wiki directory, so there should be no problem with missing permissions. (I'm aware this is not a good idea for a live system, but I'm only evaluating at this stage.) [09:21:57] Okay, it seems there is currently nobody available. I'll be afk for a while, but check back in later. I'd really appreciate it if someone could point me in the right direction! [10:58:17] Hello? Anyone reading this? [11:19:40] Huh. Am I here at the wrong time of day? [11:20:05] Jay-Dev: what do you need help with? [11:20:52] Ah, hey! I explained my problem above. Would you like me to repeat it, or can you look at the log? [11:21:15] Jay-Dev: can you repeat it please? [11:21:26] Sure. Here we go: [11:21:37] I'm having trouble getting MediaWiki with Bluespice Free to run with VisualEditor. [11:21:44] So, I got VisualEditor to be loaded when I edit an existing page or create a new one. Existing pages appear completely empty though. [11:21:52] When I then make edits and try to save them, I get a "HTTP 500" error. I also couldn't get the wiki to log more errors by adding the error_reporting and ini_set lines to the beginning of LocalSettings.php. [11:22:00] I spent some time googling, but to no avail so far. Anyone got an idea? [11:22:11] Oh, some more info that might relevant: I'm running the wiki on Windows Server 2016, IIS. Gave all users full access to the wiki directory, so there should be no problem with missing permissions. (I'm aware this is not a good idea for a live system, but I'm only evaluating at this stage.) [11:22:33] Jay-Dev: you have the dependencies installed and configured right for VisualEditor? [11:23:12] I'm pretty sure I do. I followed the instructions for the installation of all prerequisites for Bluespice. [11:24:12] Jay-Dev: is your wiki public if so can i have a link (you can pm me the link if you feel uncomfortable sharing here) [11:24:32] Unfortunately no. [11:25:09] I installed it in a VM inside my company's network for the purpose of evaluating its features against other wikis. [11:25:13] Jay-Dev: what version of mediawiki are you on? [11:26:14] Uh, let's see ... [11:27:09] Mediawiki 1.31 [11:27:19] Bluespice 3.0.1 [11:27:43] Jay-Dev: so just to make sure im understanding the issue your unable to edit properly with visualeditor [11:29:07] Yes, correct. Plus, I am not able to switch to the regular source text editor. [11:29:33] Jay-Dev: when trying to edit do you get any errors in the F12 browser console? [11:31:10] Uh, I'm not familiar with that console, but I just opened it, and it says "unreachable code after return statement [More information]" [11:31:36] What did you do when that appeared Jay-Dev ? [11:32:29] (Btw, my MediaWiki and Bluespice language is German, so I have to translate some of the error messages, which means they might not be verbatim what they read in the English version.) [11:32:50] I had created a new page and am now in editing mode. [11:33:11] Jay-Dev: have you tried disabling bluespice? [11:34:17] I have not. How do I do that? Simply remove the line "require_once "$IP/LocalSettings.BlueSpice.php";" from the LocalSettings.php? [11:35:09] Jay-Dev: you can add # to any lines you added when installing bluespice [11:35:17] Add # to the beginning of the line [11:36:11] Yeah, sorry, that's what I would have done anyway. :) I'll try. Do I have to restart the IIS page everytime I change something in LocalSettings.php, or are changes there effective immediately? [11:36:47] Yes you have to restart it iirc [11:38:52] It says it couldn't find the standard user interface 'bluespicecalumma'. Same when I change it to 'vector'. [11:39:27] Changed it to 'chameleon', that works. [11:39:31] Jay-Dev: let me make sure theres nothing else that you need to do [11:40:14] Jay-Dev: so does editing work now? [11:40:32] Now I got a pretty ugly looking user interface, but the MediaWiki works. ;) Yeah, editing seems to work, but only source text. [11:40:52] With ugly buttons for bold, italic, hyperlinks etc. [11:41:43] Getting coffee, brb … [11:43:02] Jay-Dev: what do you mean ugly user interface? [11:44:15] Compared to the Bluespice interface, it looks pretty naked. [11:44:41] And the buttons in editing mode look very old-school. [11:44:42] Jay-Dev: i think you were missing bluespice [11:44:51] dependencies [11:45:19] Huh. How can I figure out what I'm missing? [11:48:11] (Side note: Restarting IIS seems unnecessary after making changes to LocalSettings.php. [11:48:18] ) [11:50:03] Jay-Dev: you have ElasticSearch 6+ [11:50:03] Java 8+ [11:50:04] NodeJS 6+ right? [11:51:14] Yeah I think so. [11:51:27] I definitely installed Java and NodeJS. [11:51:42] Also Parsoid. [11:51:57] Make sure you have elasticsearch Jay-Dev [11:52:13] I do. [11:52:44] Elasticsearch 6.3.1 [11:53:21] After adding that line back into localsettings.php you ran update.php right? [11:53:29] Parsoid web service is running and available on port 8000. [11:53:32] I did not. [11:53:53] Jay-Dev: remove that # to the line you did earlier and run that and see what halpens [11:53:55] Happens [11:54:13] Okay, will do. [11:56:56] I did. Same error as before. [11:58:29] Hmm sorry but i dont know how to help further Jay-Dev [11:59:20] :-/ Thank you so much for your efforts. [11:59:34] Any way I can output more debug info? [12:01:00] I tried setting $wgShowSQLErrors, $wgDebugDumpSql, $wgShowExceptionDetails all to true, and setting $wgDebugLogFile to a file name in the LocalSettings.php. [12:01:39] I also did "error_reporting( -1 );" and "ini_set( 'display_errors', 1 );" at the beginning of the file. [12:01:54] It doesn't create the log file though. [12:10:29] Is anyone here experienced with installing Bluespice? [13:24:54] Can anyone help me with a problem with VisualEditor in Bluespice? [14:08:34] Can anyone help me with a problem with VisualEditor in Bluespice? [14:37:03] Which wiki is better: MediaWiki or Microsoft SharePoint Wiki? [14:56:48] MediaWiki! [14:56:53] We're biased though [14:57:12] Lots of people say MediaWiki is more collaborative, but share point is more for different silos [14:57:23] and has better forums/1:1 interaction [14:57:27] or at least that's what i heard [14:57:30] Jay-Dev: --^ [14:57:58] There's some people who present on sharepoint vs mw at emwcon (there's videos on youtube) [14:58:18] Thank you. Yeah, I expected you to be biased. ^^ [14:58:38] But your arguments may be helpful nonetheless. [15:00:21] Can you give me some support with getting VisualEditor to work with MW and Bluespice Free? [15:03:43] bawolff: ? [15:04:27] I'll say for wikis in particular, the "check out" process to edit a wiki page in SharePoint is notoriously unfriendly if you have more than a small handful of people who are going to be editing pages. It's easy for someone to lock a page, forget about it, go on vacation, etc. and then nobody else can edit that page until either they come back to unlock it, or you get a site admin to unlock it [15:05:06] MediaWiki more gracefully handles multiple people editing the same page at roughly the same time (although the "edit conflict" UI is not great, it still at least lets both parties edit the page) [15:05:14] * bawolff doesn't know much about visualeditor [15:05:46] for VE, the most important bit is you grab the version that corresponds to your mediawiki version. I recommend installing parsoid from the apt repo if that's an option for you as well [15:10:11] (I can't comment much on SharePoint beyond that; I'm a site collection admin at work for our sharepoint online tenant, but my responsibilities there are mostly limited to assisting the business units my team supports with their requests instead of actually managing content and using the platform on a day-to-day basis) [15:11:24] I've set up VisualEditor a couple of times though, so I can field help requests for that :) [15:11:52] just ask specific questions, because "give some support" doesn't give enough info to let us know where you're having difficulties [15:12:00] Jay-Dev: ^ [15:12:35] Yes, of course! I wrote down the description of my problem here: [15:12:42] https://dpaste.de/dzXB [15:13:24] awesome [15:13:26] I scrolled up too [15:13:37] but that's heplful [15:14:10] ok, you have parsoid set up right? [15:14:44] parsoid is a node.js service that is a required component of VisualEditor so that you can edit existing pages [15:16:39] Jay-Dev: install instructions are here in case you don't have that set up yet: https://www.mediawiki.org/wiki/Parsoid/Setup#Windows [15:16:45] if you do, please confirm that you have it installed :) [15:17:09] (and configured correctly, scroll down a bit on that linked page for the configuration info) [15:17:32] I have it installed, and I can reach it on port 8000. [15:17:49] ok, and you modified its config.yaml to point to your wiki's api.php? [15:18:06] Yes, I did. [15:19:20] ok [15:19:28] To be precise, the config.yaml points to localsettings.js, which then points to my wiki's api.php. I'm not completely sure that works though. [15:20:06] I would not recommend doing that [15:20:43] Okay. So how do I set up the config.yaml without the localsettings.js? [15:20:48] I would put the configs directly in config.yaml, and remove the localsettings.js reference [15:21:15] https://www.mediawiki.org/wiki/Extension:VisualEditor#Linking_with_Parsoid [15:21:30] top block in that link is for LocalSettings.php on your wiki, second is parsoid's config.yaml [15:22:47] if you pastebin your config.yaml file (removing any secrets first, obscuring domain names if desired, etc.) perhaps I or someone else could provide more concrete guidance [15:22:56] that said, I need to run off for a meeting in a few minutes [15:23:56] Thank you very much! I'll try using the instructions you linked to. [15:39:58] are there any groups dedicated to wikimedia data dumps beside the mailing lists? thanks [15:45:31] Guest14096: What sort of group? [15:48:02] technical discussions / research group [16:56:05] Guest14096: discussion groups tend to be mailing lists, what other kind of group would you expect? [16:57:30] there's a dedicated mailing list: https://lists.wikimedia.org/pipermail/xmldatadumps-l/ [19:04:43] James_F: re https://gerrit.wikimedia.org/r/#/c/mediawiki/tools/phan/SecurityCheckPlugin/+/462206/ - we accidentally broke ci for that project, we know what's wrong though [19:05:19] bawolff: Yes, see discussion in -releng.