[02:23:14] I recently installed mediawiki on a new server and migrated my database over. I'm now re-installing CirrusSearch, but my API isn't working. https://wiki.bn-mc.net/w/api.php?action=query&list=search&srprop=snippet|sectiontitle&srsearch=moderator&utf8= I checked Special:Version and it is all installed [02:24:06] Is there a way I can troubleshoot this? cause "We could not complete your search" isnt much of help [02:28:00] there's probably some debug logging that can be enabled... [02:28:24] PugaBear: try setting https://www.mediawiki.org/wiki/Manual:$wgDebugLogFile ? [02:49:51] legoktm nothing's being written to the file [03:21:34] PugaBear: did you check that your file permissions are correct? [03:24:43] hey there, i am harpreet, i am from punjab, india [04:41:55] Hello everyone, I'm Harsh Kumar from New Delhi, India. [04:42:34] I am participating in GCI. [04:45:26] Hello everyone, I'm Harsh Kumar from New Delhi, India. [04:47:55] I am participating in GCI and looking forward for working with you all. [05:55:20] It was a pleasure being a part of WikiMeida community. Thankyou. [08:24:56] can anybody help me? [08:28:37] is anybody there? [08:28:38] Hi harpreet_, I am here, if you need anything, please ask, otherwise no one is going to help you... Thank you [08:28:53] ok then [08:29:03] can you review my task? [08:54:43] ;) [10:03:52] halo everybody i´m from malaysia and iḿ new to #mediawiki [10:13:46] * hngsh says hi to everyone [10:14:36] hi hngsh, welcome :) [10:17:36] 11thanks legoktm [10:22:22] * divadsn is tired already at 11am [10:51:47] hi hngsh! [10:59:49] 12 andre__ halo XD Have a nice day~ [11:13:49] hngsh: Hmm, are you intentionally using color in your messages or is that just my client? If you do, switching it off would be welcome as it's a bit distracting (as nobody else does). :) [11:13:56] (Interesting feature, though.) [11:17:02] so sorry... [11:19:49] andre__ i´m new to this...thanks for your guidance:D [11:28:32] hngsh: No need to be sorry, it was just interesting to see so I pointed it out :) [11:29:40] hu [13:36:31] hello mentors [13:38:01] hello andre [13:40:37] I m Raghav of class 9 from india [13:41:07] I m participating in GCI-2016 [13:44:40] welcome Raghav [13:47:44] hey nemo [13:47:48] wassup [13:48:49] hello Nemo_bis [15:08:37] I wonder in which timezones all of you are living :D [15:19:14] divadsn: many :) I'm in UTC+1 [15:19:40] (regarding Google Code-in, the mentors' timezones are listed on https://www.mediawiki.org/wiki/Google_Code-in_2016 ) [15:20:21] andre__, yes I already know about that page section :) I'm in UTC+1 too :D [15:20:47] UTC+1 (Central Europe) here too [15:25:27] * divadsn high five! [15:32:01] what is missing feature of cc extractor. [15:48:30] hey guys, me again :P I'm dealing with the same issue yet, I can't clone all extensions without gerrit ask for username & pswd. Other users have same problem (https://www.mediawiki.org/wiki/Talk:Download_from_Git). I already have an account on wikitech and labs, if I use my shell username and pswd to clone gerrit returns "remote: Unauthorized" [15:48:39] anyone can help? [15:49:05] you can't use your shell password [15:49:18] you need to upload a ssh key to gerrit, and load it into an ssh agent to clone over ssh [15:49:29] How are you cloning all extensions? [15:50:04] And which ones are you getting stuck on? [15:50:09] I try this, I sent my ssh key, but I receive it when I try to clone mediawiki Cloning into 'core'... Permission denied (publickey). [15:51:15] if I cloning anonymously, I use git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions.git and git submodule update --init --recursive [15:51:32] git ask for username and pswd on Notifications extensions [15:51:50] <_TWS> Is there a way to create and use local maintenance accounts without exposing the Domain/Local option on the login screen? [15:55:23] lestaty: Is your key on https://gerrit.wikimedia.org/r/#/settings/ssh-keys ? [15:55:31] yes [15:55:50] loaded into an SSH agent [15:56:15] ? [15:56:29] yep, -> Cloning into 'core'...Permission denied (publickey).fatal: Could not read from remote repository. [15:56:41] No, that's not showing it loaded [15:57:48] well, but is supposed to be possible download all extensions without username and psdw, rigth? [15:58:33] What error do you get doing HTTPS clones? [15:59:17] Cloning into 'Notifications'... Username for 'https://gerrit.wikimedia.org': [16:01:09] on mw.org/Talk:Download_from_Git other users are dealing with this too [16:09:34] lestaty: just type in your gerrit username and you should be ok, I also did it today on another PC and I could commit my chnages [16:12:03] lestaty: I'm gonna file a bug about this [16:12:06] It really shouldn't be doing it [16:12:23] thanks a lot Reedy :) [16:12:42] lestaty: Hmm [16:12:51] There's no extension called notifications [16:13:06] yep, its a empty folder [16:13:45] Gerrit doesn't see it in https://gerrit.wikimedia.org/r/#/admin/projects/?filter=Notifications [16:13:59] I think it's been deleted [16:14:03] But not removed from the meta repo [16:15:31] moment [16:15:39] ok [16:23:26] lestaty: https://gerrit.wikimedia.org/r/#/c/325171/ [16:23:50] thnxs Reedy :) [16:36:55] lestaty: any others after you git pull and --init --recursive again? [16:38:29] nope [16:59:40] Reedy same problem with https://gerrit.wikimedia.org/r/#/admin/projects/?filter=PipVideoJs [17:01:13] https://gerrit.wikimedia.org/r/325172 [17:01:21] lets see [17:01:31] gone [17:12:13] * lestaty send a cookie box to Reedy [17:12:25] all extensions downloaded, thanks :) [17:13:40] Sweet, thanks for baring with us :P [17:13:47] :P [17:13:59] * mafk intercepts the box in customs :P [17:14:07] :O [17:14:21] Depends if they need to go via customers [17:14:22] *customs [17:47:10] I hate sundays, I am from home away the entire day and can't work on tasks and code reviews :( [17:47:44] So sad that Gerrit does not have a responsive design :/ [17:59:01] Hi, my name is Ekesh. I am participating in Google Code-In 2016. I'm a high school student from the United States and my favorite subjects are Math and Computer Science. In my free time, I like to play the piano and play chess. [18:00:32] hello ekesh [18:00:55] hi :) [18:03:45] divadsn you can edit through gerrit's online web interface [18:04:07] Plus they are creating a responsive desgn called polygerrit but it isent ready so it is not avilable in any release yet [18:04:21] i think they are expecting to complete it by next year but not sure [18:04:34] You can create and edit patches through inline edit on gerrit [18:07:28] ohai ekesh [18:07:38] we're getting a lot of code-in visitors :-) [19:04:28] andre__ Are you there? I accidently hit 'approve task' instead of more work needed ...:/ :'( [19:04:38] the student has installed AdiIRC [19:06:33] * Husun is very sleepy, that might explain it [19:10:49] paladox, I know, but it does not work on Android 7.1 (CM 14.1) with Chrome :/ [19:11:15] Oh, it should as upstream test with chrome and gerrit is a google project [19:11:28] divadsn would you be able to report this bug upstream please? [19:11:42] We are pending to update to gerrit 2.13 so that may fix something but not sure [19:12:00] https://bugs.chromium.org/p/gerrit/issues/list [19:12:21] Husun: Haha, no worries, just add a comment. I don't think that admins can revert there. [19:12:32] Husun: and thanks for all your work mentoring & reviewing! [19:12:46] paladox I will see if this hasn't be already reported ^^ [19:12:52] Ok [19:13:29] divadsn are you sure it dosen't work? WHat do you see? [19:13:31] Husun, yeah, okay, I'll just post a comment :D and ah, no worries, I just looove GCI :) [19:13:32] Any errors [19:13:35] or anything msising [19:14:19] paladox it glitches when I try to type in a comment, even when I turn on desktop view [19:14:53] And TheLounge is broken, each time I send a message it reloads the page xD [19:15:03] divadsn Oh, have you tryed https://gerrit-review.googlesource.com/Documentation/user-inline-edit.html ? [19:16:19] paladox, yes, it seems to be a issue with the unresponsiveness of Gerrit :/ [19:16:25] Oh [19:16:47] Yeh, there devloping polygerrit which is not complete and needs to have the inline edit added to it [19:16:48] <_TWS> trying to run update.php, it's complaining that my composer.lock is out of date. Ran composer update, but still getting that error. Any suggestions on what to look at? [19:17:28] divadsn could you try http://gerrit-new.wmflabs.org/ please? It uses gerrit 2.13 whereas gerrit.wikimedia.org uses gerrit 2.12 [19:17:36] so it may include a fix [19:17:48] also you can use the admin account as it is a test setup [19:17:53] no password is needed [19:32:44] whats the easiest way to get right after on every page? [19:33:19] i've looked at extensions... but i'm thinking maybe i should modify the skin [19:37:46] paladox, I will try it tomorrow at school, now I am back home on my PC ^^ [19:51:04] <_TWS> composer vs update.php anyone? I'm kinda stuck and my google-fu is failing me [19:51:12] _TWS: vs? [19:51:16] They're different things [19:51:21] For different purposes [19:51:33] <_TWS> running update says my composer.lock is out of date [19:51:54] And running composer update? [19:52:33] <_TWS> it updated the maps extension the first time. subsequent runs says nothing to install or update [19:52:44] <_TWS> update.php still complains [19:54:27] Something with conflicting constraints? [19:54:50] It should give you more info? [19:54:51] "$name: {$installed[$name]['version']} installed, $version required.\n" [19:54:56] "$name: not installed, $version required.\n" [19:54:57] <_TWS> https://dpaste.de/d9Dc [19:55:18] mediawiki/maps: 4.0.2 installed, * required. [19:55:19] So [19:55:37] Have you got mediawiki/maps in your composer-local or something? [19:57:06] <_TWS> not sure... the only thing I've done with composer is install the maps extension: composer require mediawiki/maps "*" [19:57:25] Yeah, that'll be the problem [19:57:31] <_TWS> and no composer.local... just the sample [19:57:33] try doing it with using 4.0.2 rather than * [19:58:51] The problem is MW doesn't evaluate constraints [19:58:55] (purposely) [19:59:02] It checks for exact versions to match [19:59:17] <_TWS> looks like that did it [19:59:39] <_TWS> might just add a note on the maps page with regards to that [20:03:54] This feeling when you are working on a code and Atom crashes because you lost the connection to your samba shares xD [20:04:17] atom? [20:05:22] Platonides, http://atom.io, the IDE by GitHub [20:05:35] *https://atom.io [20:05:54] oh [20:06:06] I haven't used it [20:08:23] it has a funny introducitio video :D [20:09:03] *introduction [20:11:54] PlatonidesOh, I didn't know that ^^ [20:13:00] Platonides, do mean this one: https://www.youtube.com/watch?v=Y7aEiVwBAdk ? :D [20:13:19] yes :) [20:13:59] https://atom.io/ showed me that [20:15:42] <_TWS> is there anything that can strip HTML or URL encode a string? [20:15:47] Yeah, that's funny, I like when open-source organisations make nerdy jokes in their videos :D Also JavaZone made funny videos, but last year they were not more the same :/ [20:15:54] _TWS: In PHP? [20:16:10] <_TWS> in MW [20:16:28] you mean code or wikitext? [20:16:43] <_TWS> if I provide an address with a
, i'd like to strip that out to use in the maps extension. Then I'd like to also URL encode it to generate a link to maps.google.com [20:17:08] _TWS: https://www.mediawiki.org/wiki/Help:Magic_words#urlencode [20:17:21] In PHP you would use strip_tags for this case ^^ [20:17:25] Vulpix, thanks [20:17:37] <_TWS> beautiful! [20:18:06] <_TWS> I can get around the other by using separate template macros for street and citystatezip [20:18:48] <_TWS> off to test... {{urlencode:{{{streetaddress}}} {{{citystatezip}}} }} [20:30:02] <_TWS> perfect! Thank you vulpix [20:31:30] yw :) [20:34:33] <_TWS> [https://www.google.com/maps/place/{{urlencode:{{{streetaddress}}} {{{citystatezip}}} }} {{{streetaddress}}}
{{{citystatezip}}}] [20:34:40] <_TWS> (not that anyone would care) [20:35:03] <_TWS> lots of curly braces to get lost in though [20:39:43] it's worse than lisp! [20:44:40] <_TWS> at least it's in a template and my cognitively impaired coworkers won't have to deal with it [20:45:26] * _TWS goes off to see about getting the CodeReview extension working [21:17:44] <_TWS> ok, that's enough "fun" for today. Brain hurting [22:57:05] hmm isLoggedIn seems to return true but getName returns an IP [22:57:07] :-( [22:59:01] hhm mName and mId [23:02:01] so i guess mediawiki will return isLoggedIn true if you've authenticated recently [23:02:05] even if you're logged out [23:02:24] granted i logged out via api so maybe thats different [23:05:54] ayjay_t, so here's the thing [23:06:13] yeah look at that, it has a lil cookie [23:06:31] theres a lot of nice functions in the api but it doesn't seem like its as straightforward as you would think :-) [23:06:46] ayjay_t, wait, hang on. User::getName returns an IP? [23:06:56] but isLoggedIn is true? [23:07:19] well that was the case until i cleared my cookies [23:08:38] on first try, the behavior doesn't repeat though [23:16:36] i have a real frankenstein here. my website has a git browser, wordpress, and wiki, and it uses an ajax form to log in to all 3 simutaneously [23:16:51] and the best part is, I really only know C [23:24:06] <_TWS> ayjay_t: sounds like about as much fun as I'm having... wiki, repo browser (haven't decided yet), phpipam, and a few other toys. [23:24:12] <_TWS> whatcha using wordpress for? [23:25:00] we used it in a lab to collaborate on research- posting research articles and summarizing them [23:25:36] it was really effective then so in high demand... hoping it'll be just as effective now [23:28:06] feeling greedy-- hacking apart all of these systems without really understanding them