[04:54:38] Hello! [04:59:13] So I installed bluespice stable branch on top of a mediawiki 1.27 install. When I try and save a page edit, it returns a red mwexception error message. Often the page saves regardless, though sometimes not. I find if I click the disk 'save' icon in the editor - it often works, however [04:59:21] any ideas where to start looking? [05:01:11] diffparser.php in error logs is mentioned, as well as failing 'to the left' or something. I'm sorry, working off memory here [05:37:41] hi tiddlywinks [05:37:43] !debug [05:37:43] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [09:53:35] Is there a simple way to export all the pages of a wiki? Im about to shut down one but I want to save the info on it [12:42:27] hello guys [12:42:37] $wgWhitelistRead = array ("Main Page", "Special:Userlogin", "Help:Contents", "-"); [12:42:45] My main page still says i need to log in [12:48:41] what's $wgGroupPermissions set to? which MediaWiki version is this about? [12:51:05] latest one i believe [12:51:23] just a sec [12:51:33] Special:Version tells you [12:51:46] $wgGroupPermissions['*']['read'] = false; [12:52:28] where do i check special:version [12:53:27] MediaWiki 1.27.1 [13:30:37] mediawiki 1.27.1 fails at 17% during extraction. Have re-downloaded multiple times with same error [13:31:24] kernalism: WFM [13:31:31] Where are you downloading it from? How are you downloading it? [13:32:28] https://www.mediawiki.org/wiki/Download [13:32:34] Firefox [13:32:50] Which url? [13:32:54] https://releases.wikimedia.org/mediawiki/1.27/mediawiki-1.27.1.tar.gz worked fine for me [13:33:06] https://releases.wikimedia.org/mediawiki/1.27/mediawiki-1.27.1.tar.gz [13:33:44] Yeah it doesn't make much sense to me why its not working [13:33:46] https://releases.wikimedia.org/mediawiki/1.27/mediawiki-1.27.1.tar.gz.sig [13:33:52] You can confirm it against it's signature [13:34:03] I'd suggest downloading via another method... curl/wget or another browser [13:37:11] andre__ any thoughts [13:41:22] Qwertie: If you want only the HTML representation of your pages, you can run https://www.mediawiki.org/wiki/Manual:RebuildFileCache.php [13:41:57] Id prefer to have all the pages exported to markdown or similar [13:42:49] MediaWiki does not support markdown, you can get either plain wikitext or HTML [13:51:20] HTML is pretty versatile. [13:55:26] Vulpix: How would I export to the wiki formatting text? [13:55:37] I can convert that to markdown easy [13:57:34] Qwertie: you can get a list of page titles to export and iterate over all of them with https://www.mediawiki.org/wiki/Manual:GetText.php [13:58:17] Downloaded with chromium, but same error occurred while extracting - stops at file: wiki.phtml [13:59:39] hmm, I remember another person complaining about failing to extract tarball because it contained symlinks [14:00:05] kernalism: try a download manager? [14:00:17] https://www.mediawiki.org/wiki/Topic:T768oroqpsw8bi68 [14:00:25] Tried to verify with Kleopatra: "Could not determine whether this is an S/MIME or an OpenPGP signature - maybe it is not a signature at all" - what am I doing wrong? [14:01:06] I don't know why are we including wiki.phtml, even as a symlink... [14:01:49] Vulpix: You may be interested in https://gerrit.wikimedia.org/r/#/c/270948/ [14:04:26] kernalism: what are you using to extract the tarball? [14:05:34] apparently the problem with symlinks is not new... https://www.mediawiki.org/wiki/Topic:Rxfdyp4rjb2xk0pt [14:10:55] I was using PeaZip. Just used 7zip - different error this time but seems non-fatal. 'Can not create symbolic link : Access is denied' this time for README.rst [14:11:28] Guess I'll find out if everythings okay when I upload it to my webserver [14:11:56] windows? [14:12:14] most probably, windows can't handle them [14:12:26] Yep [14:14:41] Thanks for help [14:29:59] Vulpix Reedy the error decribed by kernalism can be ignored [14:30:05] Just a warnning but is still unzipped [14:31:04] paladox: He described many before [14:31:35] Yep, but this one "I was using PeaZip. Just used 7zip - different error this time but seems non-fatal. 'Can not create symbolic link : Access is denied' this time for README.rst" [14:31:48] README.rst doint know what that is [14:31:49] though [14:33:54] a symlink to README? same as README.mediawiki [14:34:43] Oh [14:34:53] Reedy im wondering for apcu do we want to do https://github.com/wikimedia/mediawiki/blob/aeedfb8526e9d221553e430437a7572a6da2ba65/includes/cache/localisation/LocalisationCache.php#L525 that too? [14:34:56] and the one below too [14:35:31] They don't rename the config variables I think [14:35:32] so no [14:36:08] Oh [14:36:13] Reedy what about https://github.com/wikimedia/mediawiki/blob/25047f8dd0a818fc8cb089f216914ba342c78287/includes/Defines.php#L97 ? [14:36:19] Do we increase that to 4? [14:36:27] No? [14:36:30] To say theres apc, apcu, wincache, xcache [14:36:30] Why would we? [14:36:44] The number isn't the number of things it supports [14:36:51] Oh [14:40:43] Reedy would you be able to review https://gerrit.wikimedia.org/r/315513 please? [14:42:14] Does it change anything? [14:42:36] Reedy updates a test [14:42:41] Yes, I can see that [14:42:41] to support apcu [14:42:46] But does it actually make any difference [14:42:55] It might, but not sure [14:43:00] Just following apc path [14:43:04] I don't think it maks the test support apcu [14:43:09] Oh [14:43:57] I don't think it's wrong, I just don't know if it gives any benefit [14:45:23] Ok [14:46:32] Reedy would you be able to merge https://gerrit.wikimedia.org/r/#/c/315110/ and https://gerrit.wikimedia.org/r/#/c/315112/ and https://gerrit.wikimedia.org/r/#/c/315124/ and https://gerrit.wikimedia.org/r/#/c/315125/ and https://gerrit.wikimedia.org/r/#/c/315188/ please? [14:46:37] It replaces the deprecated hooks [15:02:11] hi! [15:02:23] anyone? [15:02:52] anyone what? [15:07:18] hi! I have a cuestion [15:07:24] question sorry [15:08:10] Is there a plugin to automate the old page warning? I have a wiki that I want to fix a little [15:09:23] maniat1k: What is there to "automate"? [15:10:00] maniat1k, or rather: could you describe which problem you would like to solve? [15:12:02] hi [15:12:09] anyone here? [15:12:10] Hi GB1609, I am here, if you need anything, please ask, otherwise no one is going to help you... Thank you [15:14:08] what if there's a section link and someone is about to remove/rename that section without knowing it's linked somewhere else? any countermeasures? [15:16:27] No. https://phabricator.wikimedia.org/T147857 [15:17:52] good to know it's a known issue at least [15:37:41] having an issue with bluespice install if anyone has a moment to spare. Every time I try to save a page, it results in an internal error (diffparser positional error:right) and a 25 line backtrace. The page successfully save [15:38:08] t4nk448: You may be best just filing a task in phabricator with that backtrace [15:38:29] Here's a screenshot of the error msg I get http://prntscr.com/csz4xg [15:41:09] t4nk448: bug report in Phabricator with stacktrace as text and version information for MediaWiki, BlueSpice and Echo welcome [15:42:26] hmmm, phabricator, looking [15:43:36] !bugreport [15:43:43] !reportbug [15:43:43] https://phabricator.wikimedia.org/maniphest/task/create/ [15:43:59] damn, using windows [15:48:08] nevermind, phabricator will not accept my wikimedia login info [15:48:38] t4nk448: you need to create an account for Phabricator [15:48:45] Yeah, noticed it [15:49:02] thanks, read too many damn manuals today [15:52:10] !debug [15:52:10] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [15:52:41] how do i get stack trace - or do you mean the verbose error message with backtrace? [15:54:54] t4nk448: That photo is oyur stack trace [15:55:05] You could just attach the screenshot [15:55:10] Though, giving it in text form is more useful [15:55:42] gotcha. Thanks [16:00:30] OK, done: T147936 [16:00:30] T147936: Internal Error :Diffparser positional left when saving page edits or creating new pages - https://phabricator.wikimedia.org/T147936 [16:05:07] Thanks t4nk448 [16:05:23] Wonder if that's actually a bluespice error, or Echo itself [16:05:36] I dont have echo [16:05:38] t4nk448: Does it say on Special:Version a version for Echo? [16:05:42] you mean the extension? [16:05:47] Yeah [16:05:55] Well, you clearly do.. there's an error in there :) [16:06:20] Oh, look at that. I didnt install that [16:06:58] http://prntscr.com/cszisz [16:07:08] I'll try and do a formal install of it [16:07:26] Probably no need [16:07:34] I guess it came part of the BlueSpice extension bundle [16:08:03] I suspect the problem will be BlueSpice missing some fixes... [16:09:44] Do you think I'll break something if I install echo manually and perform the update script? [16:10:58] Honeslty have no idea how it'll behave [16:12:21] I don't think it's updated related though [16:21:42] well, visual editor is disabled now [16:21:46] so... that didnt go well [16:27:15] How do you get system message page names that an extension uses/generate [16:27:35] Mlpearc: Look in the source generally [16:27:41] or, the extensions localisation files [16:28:16] Ok, thanx Reedy [16:28:35] !qqx [16:28:35] If you want to find a particular system message being used on a page, you can append the uselang=qqx parameter to the URL. That will replace all system messages used on the page by their message names. See https://www.mediawiki.org/wiki/Qqx [16:29:00] I've seen extensions list them in the infobox, but not all do that [16:30:06] ?&uselang=qqx shows all messages on a specific page [16:31:07] I'm looking for a way to get extension specific ones [16:31:28] I'll looo0k through the code :) [16:35:11] Mlpearc: Newer extensions have an i18n folder [16:35:16] And then files per language [16:35:44] Cool thanx [16:48:10] I dont think bluespice supports the newest wiki version [16:48:15] despite them saying they do [16:50:53] Bluespice uninstalled [16:51:21] anyone recommend another wysiwyg editor that works with mediawiki 1.27? [16:52:41] VisualEditor? :) [16:53:10] that caused huge install issues for me :/ [16:53:17] cant remember specifics of course [16:55:16] VE is a pain to set up [16:55:30] but that's probably your only other option that will work somewhat well [16:56:49] gonna try wikied [16:58:23] WikiEd isn't WYSIWYG [17:00:06] it may be "good enough" for your purposes though, I don't really know your specifics [17:25:27] oh yeah thats why i couldnt get visual editor working [17:25:29] parsoid. [17:33:18] http://prntscr.com/ct0pfb [17:33:23] WTF does that mean?! [17:33:39] why on EARTh would cmd.exe be anywhere BUT system32? [17:34:15] lol [17:38:10] hi, anyonone figure out TLS + php ldap? [17:38:53] trying to get my mediawiki setup to use TLS + ldap to jumpcloud.com's ldap server and mediawiki ldap debug is not helping much with msgs like these [17:39:02] Using TLS or not using encryption. [17:39:11] PHP's LDAP connect method returned true (note, this does not imply it connected to the server). [17:39:25] but then i get failed to bind [17:39:35] now if i change to Clear and port 389 everything works [17:48:45] t4nk448: that instruction probably should say "If your current directory is in system32, change directories" [17:49:11] npm install will create subdirectories in whatever directory you are currently in [17:49:21] and you don't really want to do that in the system dir [17:56:37] yeah [17:56:44] that would have been horrifically useful, skizzerz [17:56:56] since I just installed parsoid in the wrong dir [18:00:05] the instructions are completely fucked. I typically despise touching public wikis as trolls immediately revert changes because of the most arbitrary reason - but I gotta fix this,. [18:00:10] pardon my language [18:00:41] anomie: I need your help [18:00:50] huji: ? [18:01:30] anomie: http://pastebin.com/eCbv37mj [18:01:31] yes, the windows part of parsoid is very bad explained, using wrong slashes and unix commands... [18:01:42] somehow the "default" value doesn't take effect and the dropdown always shows "1" as default [18:01:47] what am I doing wrong? [18:03:06] anomie: I even copy-pasted another dropdown that works (the language dropdown) so we have two of it; the first time it defaults correctly but the second time it doesn't [18:03:08] any idea? [18:05:14] anomie: http://pastebin.com/PPu9kU0P here the first dropdown defaults to 'en', but the third one doesn't [18:05:20] * huji feels like he is going crazy [18:05:52] huji: Your first paste works fine when I try it. [18:06:19] it doesn't in my environment [18:07:05] huji: Is the HTML being output for the