[10:53:31] y0 piippölz [10:53:46] and Thank You, Thank You, Thank You for the MW [10:54:56] needs 3 things [10:55:15] #1 SUL (should be trivial since there is only one user DB atm) [10:55:52] #2 Ability to add media from Wikimedia Commons to wiki(s) [10:56:11] !instantcommons | jubo2 [10:56:11] jubo2: InstantCommons is a feature for MediaWiki 1.16+ that allows any MediaWiki installation to use media on the Wikimedia Commons. This has basically been realized via $wgForeignFileRepos. See . If you're only looking to use images from Wikimedia Commons and no other wikis, you can use the shortcut setting $wgUseInstantCommons to true. [10:56:20] !shareddb | jubo2 [10:56:21] #3 Own instance of multilingual central uploadery it is [10:56:48] p858snake: okk.. thanks.. I want the more advanced [10:57:11] Coz there is gonna be number of awesome Semantic MediaWikis that I've not yet discovered [10:57:37] So http://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos route it is then [10:57:50] !sharedlogins [10:57:50] MediaWiki can be configured to share user login data between between multiple wikis. See . [10:57:50] p858snake: any idea where I could read on the SUL [10:57:54] SUL: https://www.mediawiki.org/wiki/Manual:Wiki_family#Multiple_wikis_sharing_common_resources / https://www.mediawiki.org/wiki/Manual:Shared_database [10:58:04] I think I want the media repository to be the master database of users [10:58:51] !shareddb alias sharedlogins [10:58:51] Created new alias for this key [11:02:10] !srv193 [11:02:10] http://wikitech.wikimedia.org/view/Srv193 [11:02:15] !srv193 del [11:02:16] Successfully removed srv193 [11:27:53] hmm.. [11:28:03] did a git pull on the MW [11:28:16] should prlly set a cron job to do that.. often... [11:30:38] y0 [11:30:41] newb question [11:30:42] 'name' => 'commonswiki', // Must be a distinct name [11:31:03] must be distinct within the wiki accessing the ForeignAPIRepo ? [11:31:16] what should I choose anyways? [11:31:32] will it affect the linking to the images on Commons [11:31:56] I got some interwikis [11:32:05] so those gotta affect this, no? [11:32:24] w: is Wikipedia, m: is Meta-Wiki and wikt: is Wiktionary [11:32:36] iirc [11:33:07] so if interwiki for Commons is commons:namespace:article_name what should I name the 'commonswiki' ? [11:34:08] I just go with the default for now [11:36:09] I made the default entry into LocalSettings.php [11:36:55] now wiki went blank [11:37:03] (after 'sudo service apache2 realod') [11:37:11] something is wronk [11:37:56] looks like the slashes are not escaped [11:38:02] you probably made a typo when editing LocalSettings.php or introduced a syntax error [11:38:02] I'll escape [11:38:14] check apache error logs for the exact error message [11:38:16] Vulpix: nope. copy-paste zero alterations [11:38:40] check apache error log then [11:39:31] still blank page after escaping the slashes... that not right [11:39:34] I see the apache logs [11:41:06] apache is fine [11:42:05] mediawiki.log is fine [11:42:53] ummm... [11:43:05] you should check where your apache and PHP configuration writes error logs, or if logs are disabled enable them [11:43:08] !debug [11:43:08] 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 [11:43:20] could be something to do with the 'git pull' and not the Commons glue [11:43:32] a silent error log when a PHP page is just blank doesn't look fine to me :) [11:43:45] In mediawiki's error.log I see again and again [11:43:47] [Sat Sep 10 14:42:21.935049 2016] [:error] [pid 27429] [client 164.132.161.60:53181] PHP Fatal error: Class 'WrappedString\\WrappedStringList' not found in /var/www/consumerium.org/develop/w/includes/resourceloader/ResourceLoaderClientHtml.php on line 365 [11:43:58] good, that's an error!! [11:44:03] Ja is erro [11:44:35] I undo the ForeignREPO thingy so we see which is causing the blank [11:44:39] if you download from git, you need to run composer to get other dependencies as well [11:45:04] Vulpix: good of you to mention that [11:45:12] that class not found error is probably because you need to run composer [11:45:13] I'm not very techically oriented [11:45:28] Instructions for "safe and clean" upgrade from git plos? [11:45:45] https://www.mediawiki.org/wiki/Download_from_Git [11:45:53] Thanks. [11:47:21] I'll update this blog entry I made a little while ago http://byjuho.fi/en/2016/07/02/upgrading-mediawiki/ [11:49:12] Now running 'git pull --recurse-submodules' in skins [11:49:26] now same in extensions dir [11:50:04] stil blank.. maybe 'sudo service apache2 reload' [11:50:29] nope [11:50:48] oh yeah.. not done with the "AFTER git pull"-things [11:56:49] yes [11:56:51] now up [11:57:04] gotta record these actions quick before accessing the beer store [11:58:54] jubo2: is there any reason you are using the git version compared to the stable tarballs? [12:00:41] I could answer in many different ways [12:01:00] I've been doing the tarball thing since 2003 [12:01:20] I guess I wanted to do it the git way to not to be so clueless [12:21:34] next.. [12:21:51] Enabling Commons as "just another API based media source on the Internets" [12:22:08] it's name is now set to commonswiki [12:22:23] whatwherehuhhowdoIaccessit? [12:23:05] * jubo2 goes to sandbox [12:36:12] okk.. [12:36:17] so... [12:36:43] File:Something.png resolves now to whatevs there is in Commons by that name [12:37:15] Is Image: synonym to File: or is there a difference now that the Commons content inclusion works in mah wiki?? [12:42:12] hold on.. [12:42:24] this overrides my Image: and File: links or wuts the deal? [12:42:41] okk [12:42:43] I get it [12:43:08] "If local match for 'File:Somename' use that, if not then look in the Commons." ? [12:47:51] how do I return [[Category:Foo]] from a Lua module? it seems whether done as plain wikitext or with mw.html.create, it just returns the HTML tags escaped and the category inside regardless [12:52:39] hmm I tried frame:preprocess() but then the category is also not included on the template page that invokes the module [12:56:54] ok I figured it out [12:57:08] frame:getParent():preprocess('[[Category:Test]]') [13:04:25] except it doesn't work when I try to use it in Module:Userbox instead of a minimal test module >_> [13:14:44] Does WMF host its own wikis as https://www.mediawiki.org/wiki/Manual:Wiki_family ? [13:15:05] hmm.. [13:15:11] could be your demand is different scale [13:15:30] let me rephrase that.. I gonna host a bunch of wikis.. Should I https://www.mediawiki.org/wiki/Manual:Wiki_family them [13:15:39] is it more efficient than individual wikis? [13:16:07] I guess at least keeping the software up-to-date would be easier in a Wiki family [13:20:23] yyjlhj [13:37:49] From what I've browsed it would seem that we want https://www.mediawiki.org/wiki/Extension:CentralAuth instead of the shared databases [13:41:41] yep.. [13:43:25] I see the bad magic words [13:43:27] "However, this provides no solution to the single-sign-on feature (sign-in on one wiki, like wikipedia.org, automatically makes the user signed-in to e.g. a shared repository under a different, shared domain, like commons.wikimedia.org), nor global account locking." [13:43:43] So CentralAuth it is [13:44:11] don't use centralauth if its a new setup [13:44:26] p858snake: I got one wiki so far [13:44:35] jubo2: use shared user db then [13:44:38] no [13:44:49] Coz I want SUL [13:44:56] and shared user db does not do that [13:45:03] and when we need more servers [13:45:10] how they gonna share a DB then? [13:45:34] I've been at this for 14 yrs [13:45:42] centralauth was created because many thousands of users access many wikimedia projects already, its not the ideal or optimal way to do it [13:45:54] s/access/across/ [13:46:37] p858snake: my current understanding is that if I want a solution that will grow as the language editions come available as we figure out how to do Semantic MediaWiki and many languages at the same time [13:47:34] http://develop.consumerium.org/wiki/ is like the Meta-Wiki in the end or maybe we get clean meta.consumerium.org [13:47:42] then gonna need a Commons instance [13:48:02] and en.consumerium.org w/ Semantic MediaWiki installed and conffed to the max [14:05:13] p858snake: I hear you though that CentralAuth is heavy for many needs [14:06:31] I've been at this consumer empowerment thing for 14 yrs.. I think I can conf for couple of days to get something that'll be similar to whatevs #wikimedia-tech uses [14:06:51] and SUL is more than UL [14:33:01] are the interwiki table contents listed somewhere readily or do I need some extension installed [14:33:15] or just access the table with SQL im MariaDBshell ? [14:39:31] !interwiki [14:39:31] Interwiki links are links between wikis. For instance, on Wikibooks, [[w:Article name]] or [[wikipedia:Article name]] will link to a Wikipedia article. To set up interwiki links, see and . For easy configuration, use [14:39:47] jubo2: ^ [14:45:48] SpecialInterwiki, check [14:53:36] damn.. I'll just ssh and look in MariaDB [14:55:35] yes [15:09:40] hi All, I'm Anna- mathematician and programmer with appreciation for design. I'd love to contribute to WIkimedia within in the Outreachy framework. Any mentors around available and willing to guide possible contributions? [15:21:41] AnnaMK: hi - great to see you. Do you have some rough idea what would you like to work on? [15:24:01] Does anyone know how to split a page into two columns.? [15:26:02] Hi AnnaMK. Do you have something specific in mind about what you contribute to? [15:26:15] hi ho Niharika [15:26:24] Hey paper! [15:26:28] Saper* [15:26:34] Ugh, sorry. Autocorrect. [15:26:47] I'd love to be as wise as (Seymour) Paper(t) [15:27:17] Niharika: seem I missed outreachy round 12 completely [15:27:38] saper: You did. Where were you? :) [15:28:37] any cool projects? [15:28:54] !opw del [15:28:54] Sorry, you are not authorized to perform this [15:29:37] !opw del [15:29:37] Successfully removed opw [15:30:03] !opw is Outreach Program for Women, now called Outreachy, see https://www.mediawiki.org/wiki/Outreachy [15:30:04] Key was added [15:31:02] !pywikipediabot del [15:31:02] Successfully removed pywikipediabot [15:31:21] !pywikipediabot is pywiki(pedia)bot is a bot framework written in Python that allows for easier automated actions on a wiki. For more information, see . For alternatives, see . We're in #pywikibot if you want to chat :) [15:31:21] Key was added [15:33:03] saper: Nothing that stands out particularly. It was a little slow, compared to previous GSoC/Outreachy rounds. [15:33:24] "slow"? the project took long to complete? [15:34:26] saper: There were two failures and other projects aren't in a very "complete" state either. [15:36:02] Niharika: this is confusing https://phabricator.wikimedia.org/tag/outreachy-round-12/ <-- why the projects tagged with gsoc are there? [15:37:15] saper: This was a GSoC+Outreachy round. So we pooled applications and considered them for GSoC first. [15:37:32] We had 0 Outreachy students since we got plenty of GSoC slots. [15:38:36] Niharika: ah ok, didn't know that [15:39:45] saper: April-Aug is GSoC+Outreachy and Dec-Mar is Outreachy only since Outreachy happens twice a year. [15:40:14] I checked the dates. I was on the extended vacation, barey online [15:40:31] Not sure Outreachy+GSoC is a good idea, kind of confusing [15:42:55] saper: They happen in parallel. GSoC is organized by Google and Outreachy by GNOME. [15:43:23] Yeah, it's confusing for students, hence we decided to pool applications and spare them the trouble. [15:43:34] hello! Still finding my ways and open to suggestions for best places to start. I'm a math PhD working with data and visualization. So a mix of stats/coding/viz would be ideal. [15:44:00] AnnaMK: hi, did you have a look at the list tasks we have in Phabricator? [15:44:22] AnnaMK: That's a cool background! You can peruse projects here: https://phabricator.wikimedia.org/project/view/1042/ [15:44:39] looking now [15:45:50] AnnaMK: We also probably have projects which are not there on that board. I'll try and look some up in a while. Thanks for your interest. [15:46:35] Niharika: do the orgs know there is a termin "conflict"? [15:46:58] Very happy to help! I'll also think of some ideas that might be of interests [15:48:08] AnnaMK: did you try https://www.mediawiki.org/wiki/Extension:Graph ? [15:48:48] AnnaMK: here are some bugs and issues https://phabricator.wikimedia.org/tag/graphs/ [15:49:14] AnnaMK: what kind of coding do you like most? which progamming languages? [15:49:40] Python and JavaScript [15:50:40] HTML, Canvas and SVG is ok also [15:51:00] I mean, interesting [15:51:19] Extensions:Graph uses http://vega.github.io/ which is all-JS [15:52:05] If you like doing python, there is a nice bot framework, which can be something you might want to work on as well [15:52:09] !pywikibot | AnnaMK [15:52:09] AnnaMK: pywikibot is a bot framework written in Python that allows for easier automated actions on a wiki. For more information, see . For alternatives, see . We're in #pywikibot if you want to chat :) [15:55:50] saper, would you be available to mentor on bug fixed for the Extension:Graph? [15:55:56] *fixes [16:00:42] AnnaMK: I have never worked with that code, but I did some JavaScript work on node. [16:23:36] AnnaMK: my favourite area is PostgreSQL compatibility, if you like a bit of database work [16:24:10] AnnaMK: jesteś z Polski? [16:24:15] :) [16:25:25] yes, native Polish. ty tez? [16:32:43] DB are also interesting, somehow the Graphs + JS sound fun. [16:35:43] would the authors of Extension:graphs be available as mentors? Or should I contact a person from the list: https://www.mediawiki.org/wiki/Outreach_programs/Possible_mentors#The_bench [16:37:06] AnnaMK: tak, ja też:) [16:37:41] AnnaMK: my recommendation would be - try to install, play with it and see what would be great to improve. You need a microtask anyway to apply. [16:58:16] saper: ok, thanks! [16:59:22] People, I have a good feeling [17:09:21] jubo2: a feeling deep inside, oh yeah [19:49:11] just upgraded from 1.24 to 1.27, and I beilve I've broken my exentions. I'm running uploadwizard and mediaviewer and have upgraded both as well. [19:49:34] What sort of errors are you getting? [19:49:45] * marktraceur is pinged by the UploadWizard incantation [19:50:10] upload wizard is giving a moving progress indicator on the uploadwizard page [19:50:36] and that it, no errors from what I can see in the apache logs [19:50:47] DarkHelmet: Is there an error in the browser JS logs? [19:51:48] hmm, let me figure out where to see that, it was doing the same in ff and chrome, so I figured it was not a browser thing. [19:52:17] DarkHelmet: It could be a JS thing, is my point [19:52:31] DarkHelmet: In Chrome, Shift+Ctrl+j [19:53:28] ok [19:53:34] i have an error in chrom [19:54:29] https://bpaste.net/show/e6de0cd1c03c [19:54:29] DarkHelmet: What is it? [19:54:54] OK, DarkHelmet, here's a question, did you run composer update? [19:55:42] no, I'm not sure what that is off the top of my head [19:56:21] DarkHelmet: Since...I think somewhere between 1.24 and 1.27, MediaWiki has a bunch of dependencies that are managed by either composer, or a vendor directory in the release [19:56:28] DarkHelmet: So how did you execute your upgrade? [19:57:32] copied the wiki/ directory, extracted a 1.27, moved the config files into it and moved it to the wiki directory apache points at [19:57:43] did the upgrade.php from the comppand line [19:57:49] command* [19:58:16] DarkHelmet: OK, is there a vendor directory in the release you got? [19:58:21] and then downloaded the new versions of extentions and installed them in the extentions directory [19:58:23] I suspect yes, but I'd like to be 100% sure [19:58:42] yes [19:59:05] Hm, okay [19:59:59] * DarkHelmet reads about composer [20:00:05] DarkHelmet: You're sure you upgraded every extension? [20:00:12] DarkHelmet: No, you don't need composer, I was mistaken [20:00:26] I usually upgrade with git, so I'm a little blind to people working from tarballs sometimes [20:01:07] I have not upgraded every extention, I'm testing the major ones first to get them working and then moving onto the others [20:01:12] is that wrong? [20:01:27] DarkHelmet: Yes, upgrade them all and it should work [20:01:34] ok [20:01:41] DarkHelmet: I found reports that EventLogging in particular breaks in this particular way after 1.26 [20:02:54] DarkHelmet: Quoth Reedy, "You shouldn't expect arbitary versions of MW, extensions, skins and composer vendor repo to work together :)" [20:04:05] even if I had them disabled in localsettings? [20:04:38] DarkHelmet: Hm, if they're *disabled* they might still have code running, if they're *not included*, then they'd still break your install [20:04:50] ok [20:04:54] Like if you have include_once lines for an extension, the code loading might still break in this way. [20:05:10] I'll just remove the extentions and add them back one by one [20:05:19] is that a valid plan? [20:05:24] DarkHelmet: Or upgrade them all first. You'll have to anyway. [20:05:28] ok [20:05:43] DarkHelmet: If it's still broken after you upgrade them all, then something deeper is happening and we can investigate further. [20:05:52] ok, thanks [20:06:02] DarkHelmet: Also, note that Reedy mentioned skins as well. Make sure your skins are updated. [20:06:08] I'm not an expert on this, I use it for putting my research online [20:06:35] dont skins update with the upgraded MW version? [20:06:41] I've never touched them [20:10:19] so even having the directory of the extention under "extentions" is a bad thing. [20:21:57] ok, cool upload is working [20:21:59] http://wiki.w9cr.net/index.php/Special:Version [20:22:21] If you use the default skins, those do update with MW, yes. [20:22:50] These days you have to specifically load them tho as well, though that throws a very obvious error if you don't, so I assume you've figured that bit out :P [20:23:45] ah, thanks [20:23:52] yea, it's a very default website [20:23:59] content > form [20:24:00] Defaults are often a good thing. [20:24:26] Millions of pageviews a month and I still run Vector on my wikis :P [20:24:47] now to work on the MultimediaViewer [20:26:28] One thing I've learned today is that the footer is ridiculously difficult to majorly modify. [20:27:08] All I wanted was to stick an ad unit in it. After an hour and a half or so of trying I managed in the end a ridiculously hacky way. [20:28:24] got it going, turns out it was disabled in my preferences. [20:28:27] * DarkHelmet is tard [20:31:37] Anyway, even though my ad implementation is hacky as fuck, at least it beats modifying the Vector skin itself. [20:37:55] Meneth: hacky as fuck is still better than what passes for enterprise coding [20:38:50] True. [20:40:51] this is why I have an application which requires a deticated rpi2 for each audio stream, as 9600 bit/s requires 100% of the cpu since it was hacked up in .net running under mono [21:32:00] where am I? [21:45:29] I was gonna say "Dave, you in Jupiter orbit."