[07:58:55] Hi [07:59:10] Anyone there for as chat [09:22:12] !bikeshed is https://people.wikimedia.org/~gwicke/bikeshed.svg [09:22:13] Key was added [09:22:17] !bikeshed [09:22:17] https://people.wikimedia.org/~gwicke/bikeshed.svg [09:22:21] :D [13:30:12] morning [13:43:33] o/ [13:57:37] !bikeshed | !log [13:57:37] !log: https://people.wikimedia.org/~gwicke/bikeshed.svg [13:57:46] ;-( [14:00:55] hello [14:02:01] I got an extension that remotely authenticates user and optionally creates a user in mediawiki. Everything works well, with small exception. If such created user is added to group 'sysop' or 'bureaucrat', then I cannot login on this account. [14:02:09] Any ideas what might be wrong? [15:14:02] Belliash: Try asking in ~2 hours. Not many people around yet. [15:16:33] fuck [15:33:27] I just create a cookiecutter project to bootstrap a MediaWiki extension: https://github.com/JonasGroeger/cookiecutter-mediawiki-extension [15:33:41] Contributions welcome :) [15:41:05] Hi [15:41:06] "jscss_prefix" : "extensionName", [15:41:07] "composer_vendor_name" : "vendorname", [15:41:31] You could maybe make the placeholder value more coherent between camelCase or not [15:41:37] pullreq welcome :P [15:41:39] But yeah [15:42:48] There is a blog post by one of a former WMF Engineer: http://ryandlane.com/blog/2014/08/04/moving-away-from-puppet-saltstack-or-ansible/ [15:43:15] Now they work at Lyft, and were looking to implement something else than Puppet as a configuration management solution. [15:43:30] They compared SaltStack and Ansible, and when it were about community relationship: [15:43:41] "Friendliness [15:43:49] Ansible has a somewhat bad reputation here. I’ve heard anecdotal stories of people being kicked out of the Ansible community. While originally researching Ansible I had found some examples of rude behavior to well meaning contributors. I did get a “pull request welcome” response on a legitimate bug, which is an anti-pattern in the open source world. That said, the IRC channel was incredibly frie [15:43:55] ndly and all of the mailing list posts I read during this project were friendly as well." [15:44:31] Dereckson, composer / packagist has all lowercase [15:44:40] Dereckson, adaik [15:44:44] Dereckson, afaik [15:45:10] I guess a sensible compromise is to 1. offer way to report issues (you already have that, with the GitHub tracker) 2. offer way to contribute code (same here, through GitHub PR) 3. don't press too much people with a "contribute code" when they comment something [15:46:14] That's a nice idea a boilerplate generator. [15:53:54] Can I assign task to myself in phabricator ? [17:31:57] I'm trying to get the GlobalUsage extension by following-https://www.mediawiki.org/wiki/Extension:GlobalUsage. The second step gives me this- [17:31:57] Error: You are missing some external dependencies. [17:31:58] MediaWiki now also has some external dependencies that need to be installed [17:31:58] via composer or from a separate git repo. Do I need composer for this? [17:45:19] sayli_: do "composer update" in the extension directory [17:45:25] as well as in mediawiki core [17:45:51] or "composer install" if doing for the first time [18:12:09] hi all! Anybody know where the expansion of '[[git:foo]]' links on mw.org to gerrit/gitweb is configured? [18:12:29] I'm hoping to update some ancient svn links [18:24:14] ejegg: it's an interwiki (although the target is not a wiki) [18:24:25] Yeah I did composer update and ran the second step again, it says this- DB connection error: Access denied for user 'wikiadmin'@'localhost' (using password :YES) () [18:24:48] sayli_: you must be referring to update.php I suppose? [18:24:53] Vulpix: aha, thanks! [18:25:58] I'm referring to: php Users/Sayli/vagrant/core/maintenance/sql.php extensions/GlobalUsage/GlobalUsage.sql [18:29:18] Which is I guess an alternative to update.php? [18:30:27] sayli_: yes it is, paste your localsettings, on a side note, try running "update.php" in core [18:37:25] Running update.php in core gives me command not found, here's my localsettings file- [18:37:37] https://www.irccloud.com/pastebin/EqJn7OjS [18:39:29] sayli_: btw, update.php is in core/maintenance, also simply doing "vagrant git-update" would update everything and update database as well [18:39:45] so you wouldn't need to worry about a manual db upgrade [18:43:07] Oh okay! [19:46:38] sayli_: One should not paste their localsettings file without removing the secret key that comes with it publicly. [20:19:06] the API move function doesn't take a bot parameter, is it possible to suppress the moves from recent changes? [20:19:15] does flood flag do it? [21:00:34] Hi everyone! I have a quick question. For some reason, this link is not displaying:[[En:{{{En}}}| English]]a The a is displaying, but not the link. [21:00:42] Any ideas? [21:01:44] Choco31415, the {{{En}}} parameter is not set so link destination is not a valid page title [21:03:41] I checked {{{En}}} gives a reasonable value, and it does. [21:04:19] is it being parsed as an interwiki link? I don't recall if those are case sensitive [21:05:15] Huh, you might be correct. I'll look into it/ [21:05:27] It is. Thank you! [21:29:25] How can I have a list of pages with File: links? [21:29:31] A list of illustrated pages? [22:05:53] PMZ_: You can get the inverse, but I don't think you can (easily) get a list of pages with File: links [22:06:06] Besides, you'll get pages with, like, cleanup templates or maintenance images [22:06:30] PMZ_: Do you want it from the API, or on a Special page? [22:08:36] PMZ_: Actually, I might be wrong, you might be stuck parsing a dump. [22:09:10] I'd like a Special: page. [22:09:24] Yeah, no dice there [22:09:35] Well, if there exists a special category with broken links... [22:09:36] PMZ_: You could potentially *write* such a special page, but it would be ugly [22:09:53] Why cannot be a category with non-broken links? [22:10:35] Hmm [22:11:08] PMZ_: There is a database of all links, but it is not accessible via a special page, at least not in the direction you want [22:12:03] So, there is no way to see what pages are illustrated? [22:14:48] PMZ_: There is a way, but it is not a good way. :) [22:15:04] Which one is so bad? [22:15:08] does "Special:PagesWithProp?propname=page_image" do what you want? [22:15:16] Let me value its weakness. [22:15:27] PMZ_: Essentially it involves getting each page's text (which is already bad), parsing it (which is worse), and checking for links to the file namespace (which is terrible) [22:15:47] Yeah. Takes time. [22:15:49] PMZ_: That's how we (hi, I'm from the WMF Multimedia team) are currently measuring it [22:16:05] And it took...I think a full 24 hours to generate the stats for the enwiki dump. [22:16:32] PMZ_: You could instead use the database, and query for links...ooh, let me look at the API a sec, hold on [22:16:35] Is there any reason that MW provides a special page for broken file links, and does not provide the same for correct file links? [22:18:25] PMZ_: Because correct file links aren't a glaring content problem, they're a glaring benefit to the content [22:18:48] And thus the task had neved appeared, right? [22:19:10] PMZ_: A lot of the special pages, especially in that category, are built for helping enwiki editors fix issues they have to deal with frequently [22:19:20] PMZ_ are you sure that "Special:PagesWithProp?propname=page_image" isn't what you want? [22:19:40] TheDaveRoss_: page_image is added by an extension, and may or may not work super well IIRC [22:19:52] I open Special:PagesWithProp, and then I see a field to choose the option, [22:20:12] and then I put in the text page_image, and press a button. [22:20:18] No result returned. [22:20:27] I use Russian locale. [22:20:45] 1.26 MW [22:21:21] well, MarkTraceur would know better than I, but it seems to be working on the two wikis I tried [22:21:41] TheDaveRoss_: They probably have the extension installed :) [22:22:07] PMZ_ has the extension as well if he has that special page, no? [22:22:29] I may add any extension, pals! [22:22:43] Which one to look at? [22:23:04] PMZ_: https://en.wikipedia.org/w/api.php?action=query&generator=allpages&prop=links for example [22:23:26] You want to look for links to ns...6, I think [22:23:58] Yeah, 6 [22:24:10] If you just do that, and keep continuing the query, you should be set [22:26:00] Thanks, exploring... [22:27:57] I see cyrillics in \u041a\u0430 encoding. [23:56:31] I would like to promote my cookiecutter template for MediaWiki extensions somehow. Where can I do that? Somewhere in the Wiki? Its available at https://github.com/JonasGroeger/cookiecutter-mediawiki-extension [23:56:57] Its not really an extension, so I didn't want to put in in the Extension: category. [23:57:13] Its more like an extension generator template