[00:04:42] Depends what you're trying to do [00:51:49] anyone available [00:53:51] having a thumbs issue and i'm totally stumped [00:54:56] Hi Heku. [00:55:07] You can just ask your question and someone will answer in the next day or two if they know and are available. [00:57:24] i have imagemagick setup and running, mediaviewer works and loads the image, but thumbnails are broken. i get the error "Error creating thumbnail: convert: unable to load module" and it points to where imagemagick is located but says the directory doesn't exist, even though it does. the directory also has the correct permissions but it just seems that the thumb.php is breaking [00:58:05] max shell memory is high enough, everything in the localsettings looks to be in order [01:02:29] imagemagick format codecs are stored as loadable modules, that error means it can't load the one it needs [01:02:55] can you paste the full error and the output of `ls -Al` for the file/directory it gives? [01:03:08] to pastebin/gist/whatever, obv [01:08:43] the error - https://pastebin.com/DxPuYybt [01:10:38] and the ls-Al for the directory - https://pastebin.com/9Cmrfjx7 [01:19:45] hmm [01:20:10] something about lib search path ? [01:20:21] or paths [01:20:35] 'file not found' is apparently a generic error that libtool returns when it can't load any dependency for any reason [01:20:47] maybe jpeg.la has another dependency that needs installed [01:20:59] or the path yeah [01:22:29] what does that mean [01:24:50] for example maybe you are missing libjpeg [01:25:11] or it can't find it because it doesn't know where to look for it [01:28:03] https://pastebin.com/993jf1kw [01:31:02] it looks like your imagemagick comes from bitnami tho [01:31:08] not sure how that works with the system libraries [01:31:13] i've never used bitnami [01:32:55] can i switch paths then? install imagemagick on its own and point it do that [01:36:31] the path to the imagemagick command is $wgImageMagickConvertCommand, what's that set to? [01:41:14] usr/bin/convert [01:42:41] maybe it's trying to use the bitnami libraries with the debian imagemagick then [01:42:49] try setting it to the bitnami convert [01:42:55] /opt/bitnami/common/bin/convert apparently [01:46:29] hey that fixed it lmao [01:47:46] it's always the small things [01:48:22] cool [01:48:29] thanks [01:48:53] np [02:58:52] do you know why i am getting this in terminal [02:58:53] https://i.imgur.com/NrD6vKi.png [03:10:03] Heku: https://github.com/nodejs/node-gyp/issues/454 [03:33:40] okay last thing, is there a way to have the show preview button appear at the top of the page instead of the bottom [03:41:09] I think so. [03:41:17] Heku: I think that's a user preference that you can set by default/globally? [03:41:27] It's called "preview above the edit window" or something. [03:41:41] It'll move the whole editing window above the preview instead of below, as I recall. [03:41:47] yeah [03:41:58] > Show preview before edit box [03:42:02] > Show previews without reloading the page [03:42:07] > Show preview on first edit [03:42:14] Are three options you can toggle per-user or for all users. [03:43:34] [21:42] /opt/bitnami/common/bin/convert apparently [03:43:35] Nice! [03:48:13] toggling those settings changes nothing for me [03:55:11] oh [03:55:16] looks like they removed it entirely [03:55:30] Removed what? [03:56:13] https://www.mediawiki.org/wiki/Special:Preferences#mw-prefsection-editing [03:56:22] If you have an account there, you can see the user preferences I'm talking about. [03:56:30] They should ship with core MediaWiki, as far as I know. [03:57:40] not that. in older mediawiki versions, wikieditor had the preview button sidebyside in the editor itself, in the current version the preview button is at the bottom of the page itself and i wanted to have it back in the editor [03:58:16] https://phabricator.wikimedia.org/rEWED77cea2697cc44c276a1d6d740c5885dcac9ffdc1 [03:59:18] setting up visualeditor is a pain in my ass on this system but i guess i have to do it [04:00:28] oh like this? http://sites.middlebury.edu/lis/files/2012/02/WikiEditor.png [04:00:37] yes [04:06:11] rip [04:07:37] i agree [04:08:36] Shrug. [04:11:24] oh well, wish me luck on configuring visualeditor [04:17:15] gl [04:18:20] it's weird/irritating how inconsistently worded some of the mw interface elements are [04:19:00] Organic growth. [04:19:17] If we'd known all the interface elements we needed at the same time, we'd probably have named them better. [04:19:20] some of them are verbs or verb phrases like 'edit' and 'block user', some of them are just nouns like 'history' and 'logs', some of them are qualified like 'user contributions' (instead of 'contributions'), &c. [04:19:33] Oh, in that sense. [04:19:36] I thought you meant in the code. [04:19:48] no, just the wording [04:20:01] Those labels are often constrained by physical size limitations. [04:20:15] yeah, i'm finding that out [04:20:19] We could have "View history" instead of "History" (and we do in some places, I think?), but it's often wider. [04:20:26] And people don't like the extra text. [04:21:41] also some of the links share interface wording with other things, and some of them don't [04:22:14] there are like five different interface settings for different contexts of 'e-mail this user', but 'logs' is shared between the link and the page [04:22:16] how can i test to verify parsoid is installed correctly [04:23:22] visualeditor won't work without it, will it [04:23:45] Parsoid runs on some other port and is accessible over HTTP I think. [04:24:31] well VE is throwing errors at me so i'm trying to figure out what's not working correctly lol [04:24:49] o [04:24:55] You're following https://www.mediawiki.org/wiki/Parsoid/Setup ? [04:25:13] yes [04:25:37] but me running off of bitnami has already caused issues with other things so i have to take that into consideration [04:25:51] https://www.mediawiki.org/wiki/Extension:VisualEditor [04:26:10] Those two links should get you there, but there are probably snags. [04:26:27] Heku: Why Bitnami, out of curiosity? [04:26:56] It seems like Bitnami should be doing this for you, if that's the point of it. [04:27:10] i don't know, i'm coming off of a shared hosting platform and wanted greater control (and to install visualeditor) and bitnami popped up so i went with it [04:27:18] Otherwise you could probably just get a more regular Ubuntu/Debian virtual machine and save yourself a bunch of headache. [04:27:24] Oh, okay. [04:27:37] and i've sunk too many hours into this to switch now lol [04:27:45] Ah, the sunk cost fallacy. :-) [04:27:49] You may want to investigate Linode or Digital Ocean or similar at some point. [04:27:50] shared hosting is rough [04:27:59] Sure, but the choice isn't shared hosting or Bitnami. [04:28:11] i'm very happy with linode, i think they even have a 5$ option now [04:28:16] Yeah. [04:28:49] https://bitnami.com/stacks seems like they should be able to stand up MediaWiki for you with one click or whatever. [04:29:06] If you're going to stick with Bitnami, maybe this should be their problem if it isn't installing correctly. [04:29:10] Idk. [04:29:43] i used the one click and it worked perfectly up until i needed to configure things because apparently bitnami pre-bundles its own stuff [04:30:01] that tends to be the way it works out [04:30:04] I gotta think that Bitnami doesn't ship with a broken thumbnailer. [04:30:06] But maybe. [04:30:19] That still seems like an issue that Bitnami should address, if that's the case. [04:31:44] Ursula: if i think i've found a bug, i should report it via phabricator, right? [04:32:13] Yep! [04:32:37] We took out the goddamn bug link, but have a link to Discourse? [04:32:38] is there something special i need to do to open an account? it says an admin has to approve me [04:32:43] is it just slow because it's the week end? [04:33:05] Someone re-enabled the account approval queue. [04:33:10] Due to abuse or something. [04:33:22] i see [04:33:51] mode #mediawiki [04:33:53] Hello. [04:35:39] https://i.imgur.com/2n5LtMU.png this all looks right, right [04:36:53] okdana: https://phabricator.wikimedia.org/T197550 [04:37:00] You'll need to use an incognito window to view that. [04:37:04] Because of this stupidity. [04:37:12] Just layers of dumb. [04:39:16] ah [04:39:45] yeah i picked up that i needed to log back out pretty quickly [04:40:04] The behavior makes no sense, but we're a bit unusual in our Phabricator usage. [04:41:00] what kind of vandalism prompted that? just spam? [04:41:12] or people deliberately messing with tickets and stuff [04:42:10] The latter. [04:42:29] huh [04:42:37] "Error loading data from server: oldidnotfound: There is no revision with ID 0.." [04:45:36] that looks right if the examples on mw.org are accurate [04:45:43] never messed with visualeditor though [04:53:15] fucking https [04:53:47] oh, mixed content? [04:53:56] it looks like it [04:58:04] just getting an "Error loading data from server: Could not connect to the server. " [06:23:50] what is the common method to add multi language support for mediawiki content? [08:48:36] the popups extension is really unreliable without that extra service that wikipedia uses :/ [11:05:51] Hi, Anyone here uses Extension:FlowchartWiki? Could you recommend it? (it's beta, but in practice it's reasonable stable?) [11:06:23] Or would you recommend any other extention to produced (perhaps page relations) flowchart? [11:12:05] Never heard of that extension before [11:49:04] Hi and thank you thank you for the most awesome wiki engine in the Laniakea Supercluster [11:49:24] I'm trying to install Extension:LinkedWiki and the instructions contain an error [11:50:59] The instructions say to install 'yarn' and to run 'yarn install' but that ain't a valid command / doesn't work as described in the instructions .. if there is no directory called 'install' it complains that "no directory" and if I add a directory called "install" the 'yarn install' complains that "install is a directory" [11:51:31] This is not a core Mediawiki problem but I thought I could ask here in case somebody knows somebody in here who knows about LinkedWiki [11:52:09] Currently I guess that the command 'yarn install' is meant to be run in some subdir or with some config in the directory 'install' [11:53:25] yarn is a package maanger [11:53:30] Maybe the 'yarn isntall' isn't required anymore since nobody's been complaining about it in the talk page. [11:54:07] Where do you see those instructions? [11:54:15] Reedy: actually it is a "scenario testing of Unix command line tools" (from man page) [11:54:26] Reedy: in https://www.mediawiki.org/wiki/Extension:LinkedWiki [11:54:31] https://yarnpkg.com/lang/en/ [11:55:27] The readme in the extension doesn't mention yarn at all [11:56:05] https://www.mediawiki.org/wiki/Extension:LinkedWiki#Installation also says... [11:56:11] yarn install (or npm install). [11:57:00] 'yarn install' does not work .. it is expecting something to be done before running that command [11:57:14] Presumably installing yarn first [11:57:25] yeah I did install it [11:57:55] If you installed a yarn that's "scenario testing of Unix command line tools" [11:57:58] You installed the wrong tool [11:58:08] Reedy: Aha. Big thanks for your help [11:58:24] I uninstall the wrong yarn and install the right yarn [11:59:14] Hmmm... this is weird [11:59:36] 'sudo apt purge yarn' said "Note, selecting 'cmdtest' instead of 'yarn'" .. I've never seen a message like this [12:00:09] https://yarnpkg.com/en/docs/install#debian-stable [12:00:16] "Note: Ubuntu 17.04 comes with cmdtest installed by default. If you’re getting errors from installing yarn, you may want to run sudo apt remove cmdtest first. Refer to this for more information." [12:00:49] ok.. I hope this breaks nothing [12:01:32] still cannot remove the wrong 'yarn' with 'sudo apt remove yarn' [12:01:46] slightly troubling [12:01:54] cmdtest provides yarn [12:01:57] Just run npm install [12:02:01] Rather than having to use yarn [12:02:08] I don't have npm [12:02:19] and 'sudo apt show npm' shows no candidates [12:02:37] I can google for installation instructions [12:03:15] Probably this https://yarnpkg.com/en/docs/install#debian-stable .. [12:03:17] What version of debian/ubuntu are you using? [12:03:25] Debian 9.5 [12:03:41] I'm not sure why, but "stable" doesn't seem to have npm packaged [12:03:41] https://packages.debian.org/search?keywords=npm [12:06:20] I cannot really understand that page.. Should I enable .. uhh .. what's it called .. repositories so I can get stuff from jessie packages [12:07:22] https://yarnpkg.com/en/docs/install#debian-stablePro says 'npm' is distributed with Node.js [12:07:33] So I should install Node.js ? [12:08:29] Should I go for the LTS or Current ? [12:10:08] Can't you install node from debian? [12:10:23] Reedy: is that the same as Node.js [12:10:30] this JavaScript stuff always confuses me [12:10:32] Probably? [12:10:47] Ok I 'apt show node' [12:12:13] that says it is a virtual package [12:12:15] the debian 'yarn' package is not the same as the javascript yarn tool [12:12:37] okdana: thanks for the info. Reedy over there already pointed this information out [12:12:58] 'apt show node.js' prints info about a few packages [12:13:06] so they did [12:13:21] don't understand much of it but I cross my fingers and run 'sudo apt install node.js' [12:13:29] the node package in debian is called nodejs [12:13:38] it's probably an old version though [12:14:24] every 6 months or so they break node and none of your shit works any more [12:14:29] okdana: ain't they all in the Debian Stable repos (old software) [12:14:59] that sounds right yeah [12:15:12] So how about I 'sudo apt install nodejs' and hope it doesn't break at some point in time [12:15:21] *Kaffezeit* ! [12:15:26] You probably don't need to keep running node [12:15:30] You're just using it to install some packages [12:15:42] Yeah.. [12:16:08] if debian stable doesn't have npm your trouble will be finding a version of npm that actually works with their version of node [12:16:33] that's why they tell you to install that ppa or whatever [12:17:23] jubo2: I filed https://phabricator.wikimedia.org/T200194 btw [12:18:33] * jubo2 bows to Reedy and thanks him for filing a ticket [12:19:54] Off-topic note: I wish Kubuntu had a 'raise all shells to top of the stack'-command .. that'd be really useful [12:20:32] Maybe I should file a feature request at where-ever they keep their bugzilla or similar [12:20:43] it's not clear to me at all why an extension for database queries requires you to install bootstrap and font awesome [12:21:37] fancy JS editors? [12:22:16] The other funny one [12:22:21] It says to run composer install too... [12:22:28] But there's only dev dependancies [12:23:16] so there are, lol [12:23:18] The difference between professional corporate operations and volunteer based ones is that in the volunteer ones you don't get fired / demoted for slacking on the quality [12:23:25] *often [12:23:56] It's entirely possible yarn install is only needed for dev work [12:24:00] But if so, the docs are poop [12:24:10] I've questioned/commented that on the task too [12:24:19] jubo2: Have you tried just using the extension without this extra stuff? :P [12:24:48] Reedy: No. I've just began today on the quest to install LinkedWiki on test.consumerium.org [12:25:09] Maybe try that :P [12:25:33] It is really good you filed a Phabricator ticket on this .. for the sake of new people coming to install LinkedWiki [12:25:48] Oh, wait [12:25:49] I just noticed [12:25:50] "require": { [12:25:50] "bordercloud/sparql": "dev-master" [12:25:51] }, [12:25:53] composer install is neede [12:25:56] d [12:26:19] ah, i missed that too, they put it in a weird place lol [12:26:45] yup [12:27:25] I've been banging my head on the keyboard till bleeding to get twitter.com to release a child-lock that I accidentally set off by entering the start date of Consumerium.org to the birthday field of it's twitter account. They have a logical loop in their ticket system that gives false hope of clearing the child-lock in case you don't have a child you can blame it on [12:27:39] ... so this is small problems compared to that [12:27:51] they have over-automated in a non-thinking way [12:28:16] Making it use dev-master is odd [12:29:42] 'sudo apt install nodejs' did not install 'npm' [12:29:53] or maybe it put it somewhere not in the paths [12:31:37] Ok. 25 minute Break for Dr. Yussef on Albanian Jesus Radio [12:32:20] "Station unreachable" .. cancel the jesus radio break [12:32:32] maybe they use dev-master because the packageg has only had like three releases in 4 years [12:32:33] There is a rerun at like 10 pm [12:32:56] package* [12:33:57] https://github.com/BorderCloud/SPARQL/releases [12:34:00] So.. I should skip the 'yarn install' and the 'npm install' and see if the thing works when I add 'wfLoadExtension( 'LinkedWiki' );' to LocalSettings.php ? [12:34:02] Release v2.0.5 for PHP 7.1 [12:34:02] @BorderCloud BorderCloud released this on 10 Sep 2017 · 10 commits to master since this release [12:34:09] jubo2: Yeah, I would [12:34:22] Okays Reedy. Big thanks for your time and effort :D :D [12:37:15] Yep.. The special pages show up now. Next thing .. uhh .. I don't know the next thing to do .. randomly try stuff? [12:39:16] What I'm trying to do (in the big pi cture) is to use Wikibase Repository to store information and to use LinkedWiki to embed that information .. I'm doing it this way because LinkedWiki supports multiple SPARQL endpoints whereas Wikibase Client does not [12:40:00] There approach probably has a murderous overhead but I gonna see if it works [12:40:27] never heard of wikibase or sparql until today [12:44:07] okdana: Wikibase is the underlying system of Wikidata [12:44:34] It is free to install on non-WMF wikis but the problem is that the non-WMF wikis cannot accesss the Wikidata [12:45:18] .. thus creating a BIG disincentive for adding info to Wikidata for anyone who runs a non-WMF wiki and would like to use the data for their wiki [12:46:04] Well.. there are _plans_ to implement Wikibase federation but there are many challenging non-trivial issues that someone would need to solve to make it happen [12:47:16] okdana: You can read more about the federation stuff in here if you are interested -> https://phabricator.wikimedia.org/T196997 [12:52:25] oic [13:47:30] hi [13:48:31] any intrsrisr [14:27:44] DPL3 can "probably" do "substitute the original template by a different one and show the output of that template", but I can't find an example to this. Anyone know how to take a template on a page and put it thorugh another template? [16:05:15] I'm not sure what is going on ... in https://develop.consumerium.org/w/index.php?title=Special:ChangeCredentials/MediaWiki%5CAuth%5CPasswordAuthenticationRequest&returnto=Special%3APreferences I get warning that the password is sent over unencrypted [16:05:31] I thought I have all of the site protected by TLS/SSL [16:08:12] Sure there are some images coming from unencrypted connections but that shouldn't affect the password change form [16:09:05] check your brwoser console? [16:17:33] uhh.. how do I do that Reedy (Chromium in this case) [16:18:52] the password was not changed .. at least I cannot log in with it .. something very wrong with my wiki [16:38:20] All of Mediawiki should be within https-encrypted.. I think the warning about the password being sent over unencrypted could be to do with that some of the images are not sent over encrypted .. maybe. [16:40:33] hitting crtl+u and searching for 'http://' I get 3 hits [16:40:40] the api.php is one [16:47:50] Ok. Issue sorted.. I had some hardcoded 'http://'-strings in the LocalSettings.php for wiki family.. Amateurs.. *goes to get a mirror*