[09:16:58] Hello how is it I am speaking to [09:18:25] Danni are u in the room [10:45:28] Hello! Anyone here a MediaWiki Expert and a freelancer? Looking to get a quote... [10:57:39] Hi, [11:00:30] my mediawiki is placed in w/ and my .htaccess is http://dpaste.com/0B29Q0W.txt [11:00:45] but still getting 404 not found [11:05:06] any idea? [11:22:22] laurahilliger: https://www.mediawiki.org/wiki/Professional_development_and_consulting [11:22:30] plus "don't ask to ask", I guess. :) [11:22:41] thanks [11:22:43] andre__: [11:22:47] ^^ helpful :) [14:41:44] Hiya and thanks for the awesome wiki software [14:42:21] I'm trying to set up a wiki family. Been following these instructions: https://www.mediawiki.org/wiki/Manual:Wiki_family#Basic_principles [14:43:10] Now the original wiki is up but missing all images (both from local images and from instant commons too) [14:43:27] and the new wiki in the family seems to just redirect to the old wiki [14:52:55] https://phabricator.wikimedia.org/T95504#3946215, I understood that I have to change some class name but I don't found "Flow\Block" [14:58:20] Now progress.. test wiki shows up as a wiki but I get a database error when trying to access http://test.consumerium.org/wiki/Special:RecentChanges [14:59:29] oh yeah.. the rewrites in the apache2 conf must be made to match that images/ has moved to /images_developwiki [15:14:23] It seems the wikis are slightly confusing their identity with the other wiki [15:38:36] Ok.. commenting out $wgUploadDirectory and $wgUploadPath on the main wiki and the images start showing up [15:40:09] Now the issue with the database connection .. how do I debug this -> http://test.consumerium.org/wiki/Special:RecentChanges [15:45:39] ok progress.. I turned backtrace displaying on. It is the extension AbuseFilter firing but not finding its tables [15:47:47] Yeah.. needed to run 'php maintenance/update.php --wiki=testwiki' and now the Recent Changes work just fine [16:10:24] Now that those are solved next up is installing Wikibase repository and client [17:21:38] Can I get a little help with https://pastebin.com/KR3542xj -- currently all I get back is "Promise: { : "Pending" }" and I don't know how to fix it to actually get the page content back. I know I suck at Promises and async/await - I don't know how they actually work internally and the documentation hasn't been able to help me figure it out. [17:21:54] I could really use a tutor to help me understand how it all works. Thanks. [17:24:00] hello, I have a question about my wordfast anywhere account. Can you help me? [17:25:36] pablo_, what is "wordfast anywhere"? [17:25:44] is that related to MediaWiki somehow? [17:28:37] Wordfast anywhere is an translation tool platform. If you click "help" here: https://www.wordfast.net/wiki/Main_Page it takes you to mediawiki [17:32:36] pablo_: so Wordfast uses MediaWiki to host Wordfast's website. [17:33:21] not sure how the MediaWiki community can help on account issues on third party websites? [17:36:28] It is the only communication channel they are showing [17:38:45] pablo_: you will need to contact the administrators of that website; we are unable to provide assistance for arbitrary third-party sites [17:38:59] never mind. thanks anyway [17:44:09] Is there a better channel to get help with my question? [17:48:36] ShoeMaker, see the channel topic :) [17:48:38] "No answer? Try https://discourse-mediawiki.wmflabs.org " [17:49:00] ShoeMaker: #wikimedia-tech maybe? but it's mostly the same people in both places [17:49:47] I'm in -tech too, but I'd thought that was specific to labs stuff? [17:50:51] ShoeMaker: honestly, the async/await use there confuses me. why do you need them at all? [17:53:12] To keep the function from returning before it has the value from the API query that I want it to return? [17:54:34] I want to take the value returned from the function and strip out a line of text if it exists. [17:55:31] getUserSkinJSContent().replace( /(this text)/, '//$1' ); [17:55:40] That's what I'm hoping to do. [18:06:19] ShoeMaker: you need to await any calls to the async function [18:06:26] e.g. (await getUserSkinJSContent()).replace(...) [18:07:24] async functions return a Promise unless you await them [18:07:33] and you made getUserSkinJSContent an async function [18:08:21] Hey guys, does anyolne know of a wiki that has the cirrus search extension implemented? I'd like to give it a try before I go ahead installing all those dependencies [18:09:08] wikipedia? [18:09:09] flying_sausages: en.wikipedia.org is using CirrusSearch [18:09:14] oh for real? [18:09:25] yes [18:11:17] nice, in what way exactly is it different? [18:11:43] it has the "did you mean" thing [18:11:45] elasticsearch doesn't suck [18:11:49] hahaha [18:11:53] whereas mysql fulltext search is terrible [18:12:00] es has stemming, for one thing [18:12:11] supports much shorter search terms [18:12:41] stemming = you can search for a word and it finds that word in different forms, e.g. a search for "run" gets you "running", "ran", etc. [18:12:54] oh that's super handy [18:13:02] ok i'm sold [18:15:24] whereas in mysql's default settings for fulltext search, a search for "run" gets you absolutely nothing because mysql only supports search terms that are 4+ characters long by default :P [18:16:08] you can configure it to allow shorter search terms, but the shorter you go the more it bloats the fulltext index (disk space wise) [18:24:56] yeah makes sense [20:17:43] has anyone here set up the cirrussearch before? [20:19:54] I installed elasticsearch using apt after importing the key but it seems like it's boeked [21:00:43] Skizzerz, you around still? [21:01:46] I'm getting this when I'm trying to make a search after installing cirrussearch and all its dependencies [21:01:48] https://i.imgur.com/xlBQWlv.png [21:02:03] I can curl localhost:9200 for elastic so [21:03:04] flying_sausages: I've installed elastic+cirrus [21:03:19] hexmode, succesfully? :p [21:03:41] in production on two different wikis [21:03:55] maybe soon a third [21:04:17] ah that's good to hear. Besides installing dependencies and the wiki extensions, was there any other config you had to do to get this running? [21:04:34] DOes the log in the picture above mean I'm crashing against some other extension seeing as it's the hooks? [21:05:51] I don't know. First, are you sure ElasticSearch is running? [21:06:14] curl localhost:9200 gives me a json [21:06:20] :) [21:06:21] or something that looks like one [21:06:57] looks like I'm running 6.1.3 [21:07:28] ooo... I know there was a bit of a thing about matching versions [21:07:39] flying_sausages: if running MW 1.30 you need elastic 5.3.x or 5.4.x [21:07:52] ono :( [21:07:55] 6.x is defenitely not supported yes [21:07:59] time to nuke [21:08:01] there you go [21:08:01] s/yes/yet [21:08:07] :) [21:09:42] 5.4.3 good enough? [21:10:16] screw it I'll give it a shot [21:10:20] flying_sausages: should be good yes (not tested personally bu I think it's fine) [21:10:53] sudo dpkg -i Elite-Epochs [21:11:03] oops [21:44:48] well now I can't get elastic to run :( [21:46:46] wrong channel [21:46:48] :P [21:48:36] nvm fixed it [21:48:38] BUT [21:48:51] still getting a similar backtrace on search [21:49:27] https://i.imgur.com/GJ1P8uT.png [21:50:09] I can curl localhost:9200 and get version 5.4.3 [21:50:57] and I got the mediawiki extensions installed too [21:51:50] hexmode, after getting a fresh install of elastic, is there any other configuration (other than the extension inclusion in LocalSettings.php) that needs to be done? [22:19:22] oh there's a readme wheeeeeey [22:36:39] well I got it working... [23:11:01] \o/ [23:11:35] sometimes it is good to RTFM :P