[02:20:07] So, I've upgraded from 1.25.1 to 1.26.0 and have a couple of random wiki pages that are generating database errors, but no other pages out of thousands. I've run php update.php to update structure. Any idea what may be happening or at least where to start to debug? [02:22:17] Error: 1271 Illegal mix of collations for operation ' IN ' (localhost) [02:26:39] ScarredSun: what database server are you using? mysql? postgres? [02:26:54] MySQL 5.0.11 [02:26:55] !debug [02:26:55] 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 [02:27:32] ScarredSun: there are a few settings listed on ^ which should provide some more information about what's going wrong [02:27:33] specifically if you can find the full query that's causing problems [02:28:28] Yeah, I've got the full query now (I stumbled on the debug page a few minutes before you posted it) but I'm honestly not sure why the query would be causing issues [02:29:26] Only thing I can think of is an encoding mismatch, which would be odd as it didn't do this on 1.25.1. [03:40:13] Hi! can somebody help at https://meta.wikimedia.org/wiki/Wikimedia_Forum#meta_BiDi_gadget_and_BiDi_editing_for_global_accounts ? [05:22:31] What happens when a person starts editing page X and then another person starts editing page X and saves, and then the first person saves, which edit is now displaying? [05:23:17] And is there any thought put into merging these two edits or does one of the edits just get forgotten? [05:40:26] Hello Everyone! i've given the task to join #mediawiki channel in GCI [05:40:38] i think i've completed it [05:44:20] please evaluate my work on GCI asap [05:46:37] Huh this can be a task! [05:49:56] q1q1: I don't have access to task evaluation [05:50:07] But I think you didn't complete it correctly [05:50:22] Task description states an exclusion of using web interface [05:50:28] why do you think so ? [05:51:10] oh.. :O [05:59:07] i think now i have completed my task properly [05:59:50] logged in from nettalk IRC [06:07:33] q1q1: ya wait for one hour then [06:07:44] q1q1: in meantime you can try to talk a bit more :) [06:07:58] but again I can do nothing on the GCI site [06:08:10] okay:) [06:08:28] but thanks for guiding [07:41:40] Hey there! wassup everyone? I am participating in gci this year. :P [07:41:57] PS: They asked me to say something xD [07:49:34] awz: welcome! [07:53:24] awz: feel free to ask questions here... [07:53:54] ok codezee [09:06:59] hey...someone please aproove my task in GCI [09:07:15] i've submitted it about 3 hours ago [09:08:29] please review it....so that i can move on to another one [09:37:36] https://gerrit.wikimedia.org/r/259219. Mentors, please help here? legoktm, Reedy, ori [12:27:04] anyone here ? to review my task so that i can move to another one ? [12:27:10] :\ [12:36:18] q1q1: Hey there. [12:37:02] q1q1: Not everyone is around all the time here. Maybe your mentor is in a timezone where it's the middle of the night. :) So, patience. Move on to another task meanwhile? [12:38:02] q1q1: Did you setup your MediaWiki install yet? Most of the tasks need you to have it. [12:40:15] it's over 24 hours...he didn't replied a single comment at GCI [12:40:34] q1q1: 36 hours is the limit. [12:40:49] i can't join another task till this one approved or rejected [12:41:11] q1q1: Did you setup your MediaWiki install yet? Most of the tasks need you to have it. [12:41:52] nope [12:41:56] i didn't [12:42:41] q1q1: So you should do that while waiting for a review. It takes a while, usually. [12:42:51] ok [12:43:11] !hacker | q1q1 [12:43:11] q1q1: http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [12:43:38] This link gives you the details. Go with 'vagrant installation' to install it. [12:44:05] okay [12:44:11] thanks for info [12:44:39] q1q1: I consider "learning to be patient" also an important lesson. :) As said already, mentors have 36 hours to review. [12:45:11] :) [12:45:12] q1q1, and while you can't join another task, that is exactly the GCI rules that you read before you registered GCI. Hence no surprises I hope :) [12:45:34] We're all humans. Sometimes things are faster, sometimes they take a bit longer. [12:45:47] are students paired one one with a mentor ? [12:45:53] or any mentor can ack a task ? [12:46:34] GCI mentors and admins can ack a task [12:46:53] (and the task says to be around on IRC for a bit, if I remember correctly) [13:02:31] andre__: Shouldn't we have a GCI task for setting up vagrant successfully? [13:05:20] I use a locally installed wiki, but I seem to have forgotten the admin username, is there a way to get the admin username back? [13:05:41] codezee: SQL query? :P [13:06:36] Niharika: I would've done that, but the values are stored in binary :P [13:07:09] I must've checked that option during installation [13:07:37] codezee: Ah. Do you have another user that's admin? [13:08:29] no [13:09:50] The default created user during vagrant setup is 'Admin'/'vagrant'. Do you have access to that? [13:11:27] I don't use vagrant :P but I tried 'Admin' here, it says, no such user [13:13:15] Oh, well. There's probably some hacky way to do it. [13:13:23] Wait, did you try converting the binary? :P [13:14:27] Niharika: found it https://www.mediawiki.org/wiki/Manual:CreateAndPromote.php :) [13:14:59] that'll atleast give me admin access [13:15:08] :) [13:17:49] Niharika: having such a GCI task would be great but requires mentors. We do have https://codein.withgoogle.com/tasks/6068619473584128/ though [13:19:05] andre__: That's very different. I would love to be a mentor for it but I'm useless if someone runs into vagrant troubles. [13:21:09] I guess something like vagrant would require all our experiences combined :D [13:23:22] Niharika: yeah, very same here :-/ [13:38:49] who is Grind24? i noticed that the is hidding log entryes. such as https://www.mediawiki.org/wiki/Special:Block/Ochilov and other logs as well. [13:53:03] unrelated to the MediaWiki software? [14:08:02] review my task on gci? My nick is 9at8. [14:12:57] awz: Who's the mentor? Which task? Context is important. [14:14:01] Niharika, task - "Beginner: get on Internet Relay Chat (IRC)" Mentor - "Nemo_bis" [14:15:01] awz: Then Nemo_bis will review it when he's around. Or maybe andre__ will. Be patient. :) [14:15:24] ok Niharika :) [14:15:31] awz, Hi! Mentors have up to 36 hours to review tasks. [14:15:43] Just saying. Patience is also one important thing in GCI :) [14:15:59] awz: have you been on IRC before, or just joined 10 minutes ago? [14:16:08] curious for which IRC software you went [14:16:38] andre__, Hi! I use Nettalk. [14:17:35] andre__ I joined before too. At around 1315 IST. [14:18:01] ah, alright then! :) Nettalk, interesting. [14:18:05] * andre__ reads about that one [14:21:06] andre__, you saying Nettalk like that has me confused. Either it's very good or very bad. Anyway, I am new to IRC and all. But it's really nice though. You get a community of experts to talk to. [14:24:20] awz: Don't worry about it. It's the first time I've heard of that client, and I'm guessing that goes for andre__ too. :) [14:24:20] That's true. :) [14:24:31] yes, that's what I meant. I didn't know that client. [14:24:43] Sorry if I didn't express too clearly :-/ [14:24:50] haha I am not worrying. It was just a joke xD [14:24:55] chill. [14:28:22] :) [15:56:29] Hey Guys.. Does someone know the cause of the HTTP 500 Error with VisualEditor and Parsoid [16:02:48] Hello all - I've got an issue with templates, the #switch ParserFunction, and parameters which start with a colon (like ":Category:CategoryName"). I've got it summarized here: http://fpaste.org/301156/14501951/ [16:03:38] Though it might help to actually see it on a wiki; I've got the template at http://borderlands.wikia.com/wiki/User:Apocalyptech/Raritytest?action=edit and a demonstration at http://borderlands.wikia.com/wiki/User:Apocalyptech/Testing [16:04:13] Though basically, what's happening is that I'm calling a template with a parameter of :Category:CategoryName, and the template ends up turning that into a link with [[ ]] [16:04:45] But {{{1}}} gets referenced inside a #switch statement, and when that happens, the initial colon gets interpreted as if it were an indent mark, so the link gets broken [16:05:07] I'm basically looking for a way to tell the switch statement not to do that initial interpretation of : [16:06:43] I'm assuming it's cause each case of the #switch statement is being interpreted as if it was the beginning of the line [16:22:34] == Thitiwat [656cb888@gateway/web/freenode/ip.101.108.184.136] has joined #mediawiki [16:35:42] hi, i'm trying to add WikEd as a gadget and the instructions don't make any sense to me [16:37:21] Hi Skywise. Point me to the instructions please? [16:38:11] Niharika, https://en.wikipedia.org/wiki/User:Cacycle/wikEd_installation [16:38:44] Ahhhhh, okay. A fix for my issue is to move the link brackets to inside each #switch case. Not totally ideal, but I can cope. [16:38:53] the 2nd step adding the code to MediaWiki:Gadget-wikEd.js is a step i'm not clear on [16:39:18] Skywise: What's unclear about that? (I hope you're following https://en.wikipedia.org/wiki/User:Cacycle/wikEd_installation#Creating_a_gadget) [16:40:02] i don't use this, i maintain the server, so i'm unfamiliar with the software [16:40:20] i don't know where to access that page [16:41:11] sekhmet: Do you use some line braks between [[ and ]] ? [16:41:14] Skywise: Just go to /wiki/MediaWiki:Gadget-wikEd.js [16:41:27] Skywise: Much like all other urls on the wiki. [16:42:21] MGChecker: The only whitespace in the template is inside the {{#switch}} construct itself, and I'd tried removing all of it as a test, to no avail. [16:42:55] MGChecker: It's basically just that each case in the #switch gets parsed as if it were the beginning of a new line; when the first char happens to be a ":" that means that it was showing up as an indent. [16:43:22] Still, bringing the link brackets inside each case works well enough for this particular case, so I'm happy enough with that. [16:43:43] Hm, than I have no idea. [16:46:31] Yeah, I suspect there's probably no way around it, really. [16:55:44] sekhmet: Possibly anything with nowiki, or something is written at https://mediawiki.org/wiki/Help:Extension:ParserFucntions [16:59:48] MGChecker: Yeah, I'd played around with , but the content has to otherwise be interpreted as wiki markup. :) [17:00:57] hm. Do Links like [[ :foo]] work the same as [[:foo]] ? [17:11:16] MGChecker: I'd been curious about that too, but the #switch syntax gets in the way again, 'cause it seems to automatically trim whitespace around its cases. [17:20:28] Welp, confluence is absolute trash [17:33:28] hey all, can someone direct me to the parsoid channel? I can't recall where it's at [17:35:04] nevermind, found it. Thanks! [17:59:25] Ulfr: https://meta.wikimedia.org/wiki/IRC/Channels#MediaWiki :) [18:00:02] legoktm: Thanks! [18:17:46] Anyone have any idea what percentage of extensions got ported into composer? [18:17:57] Playing around with just relying on that instead of the old fashioned way [18:32:40] Cannot add tags to templates.. Could anyone help? [18:46:16] anmol_wassan: how? :) [18:46:32] "cannot add" isn't really a good description of a problem that allows someone else to help [18:50:40] I simply cannot edit templates in a page. Any idea? [18:50:59] Does it swat you on the nose with a news paper and say no? does an error appear? [18:51:08] does your browser just lock up? [18:55:17] Ulfr: No errors. It just selects the text as a whole and does not let me edit [19:02:09] I cannot get thumbnails, how to solve this issue [19:03:12] anyone to help me? assist me? [19:03:59] https://www.mediawiki.org/wiki/Manual:Image_administration [19:04:52] I have tried everything there, nothing happened [19:05:18] what's "everything"? [19:05:28] maybe start with a problem description. [19:05:35] "cannot get" is a bit vague. [19:05:53] which MediaWiki version? [19:05:53] which thumbnailing backend? [19:07:46] MediaWiki 1.26.0, ImageMagick 6.9.28 [19:08:46] Imagemagick works on pc, if I upload images i cannot get thumbnails only [19:09:32] If i click on thumbnail it goes to next page were are some options of previews only the original works rest do not work [19:09:46] greyBoss: do you get any error message? [19:10:36] "If i click on thumbnail it goes to next page were are some options of previews" - what is "next page" here? File:Imagename.xyz ? Please be specific. [19:12:06] yes File:Imagename.xyz .... no I do not get any error message anywhere [19:14:08] what does $wgImageMagickConvertCommand point to? [19:14:21] "If rendering fails silently, check and increase $wgMaxShellMemory." - what is that set to? [19:15:28] it is set to 524288 [19:16:02] greyBoss: you could get an error message by accessing thumb.php URL directly (as explained in https://www.mediawiki.org/wiki/Manual:Thumb.php ) for a given image, and setting https://www.mediawiki.org/wiki/Manual:$wgShowExceptionDetails to true [19:17:07] https://dpaste.de/XHpy if you want to see LocalSettings.php [19:21:22] greyBoss: uhhh, you should have deleted the wgSecretKey before posting it... well, don't tell us where's your wiki. See https://www.mediawiki.org/wiki/Manual:$wgSecretKey [19:21:42] secret is changed [19:22:02] It is not real one [19:22:09] ah, reading the man page again, it doesn't seem to matter now [19:29:34] . [19:30:01] . [19:31:25] I've got new PhpStorm licenses if anyone is in need [19:32:30] greyBoss: have you tried what I've said about thumb.php? there's nothing we can do without an error message [19:33:43] Reading it man! [19:34:50] Vulpix: When are you planning on evolving anyway? I've been picking your pokemon brain for too long for you to not have picked a final form [19:36:06] Ulfr: There's time to evolve! I only need a fire stone [19:46:48] Alright, I'm probably going to regret asking this question, but how do I update an older version of a skin that's been modified a fair bit so my error log isn't filled with notices that I'm doing it wrong? [19:49:18] Ulfr: you should download a recent version and port your modifications to it [19:52:19] Vulpix: I cannot understand the file, can you help [19:53:29] what is unclear? [19:54:20] I think everything, as it is my first day with Wiki [19:54:58] Need to learn everything [19:57:44] greyBoss: Word to the wise, nobody's gonna lecture you on how wiki works. my advice would be to do your best on your own and if you get stumped come with a specific concern. might yield positive results [19:58:11] other pro tip is, if you pose a question and nobody responds after an hour or so, the question is probably nonsensical or stupid :D [19:58:18] * Ulfr learned that second one the hard way [20:05:14] Vulpix: You know not what you ask. *shudders* [20:05:38] I'll probably wind up doing that though. Thanks :) [20:10:00] i got this error now https://dpaste.de/qRwD [20:10:50] well, that error is self-explanatory [20:10:52] enable proc_open then [20:17:00] I joined from Google Code-In. My task was to join the #mediawiki chat and wait for responses. \ [20:17:21] gj [20:17:22] :D [20:17:31] GG lol [20:18:18] Oh Thanks btw [20:18:20] Do you win? [20:18:32] Not yet, This is my first task. [20:18:42] XenoAxis, welcome to IRC :) [20:18:52] Glad to be here! [20:18:58] <_atg> welcome [20:19:20] [20:21:30] XenoAxis: out of curiosity: which IRC client did you decide for? and have you already checked other available tasks and found something interesting? [20:22:56] Yes actually I wanted to sign up for Copyleft Games but it required basic Python experience which I lacked. So I decided Wikimedia was worth a try because I am pretty decent at Documentary and Research. [20:26:36] Python is the language of evil. [20:26:45] Tab delimeters are the devil [20:27:34] Haha. [21:14:40] legoktm, Reedy: https://gerrit.wikimedia.org/r/#/c/259219/ fixed :D [21:14:59] ananayarora: you've still a really long commit summary :) [21:15:15] You don't have to put your changelog between patchsets in the commit summary either [21:15:22] Reedy: Okay. [21:15:25] A commit summary of "All errors fixed." isn't helpful either [21:15:41] Use the title of the task [21:15:41] https://phabricator.wikimedia.org/T87970 [21:16:01] Okay! [21:17:04] My wiki only has content in English, and it takes a really long time to update the localisation cache with the script in maintenance, is there any way to rebuild it whilst limiting scope? [21:17:39] ananayarora: people normally look at the list of all changes, so if all changes had "All errors fixed" the log wouldn't be too helpful :) [21:18:19] I seriously need a tutorial for writing helpful commit messages. [21:18:21] :O [21:18:23] ananayarora, https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines [21:18:58] Ulfr: pass parameters [21:19:08] Where's the manual for dem params? [21:19:14] --help [21:19:18] :( [21:19:20] Really [21:19:26] * Ulfr feels like a noob [21:20:44] I swear to god, last time I tried to do that --help didn't display anything! [21:21:20] Unless your MW/php is broken... [21:21:24] it'll have worked for ages [21:21:37] ... [21:22:19] Well, at least I can shave five minutes off launch time now. I'm going to go lurk in the noob corner. Thanks! [23:55:44] when should we use $baseRevId param in doEditContent ? [23:57:04] Presumably when you're starting with that revisions content