[00:18:25] q about wiki email on ubuntu 14.04: do i need to apt-get install sendmail AND pear install mail net-smtp ... or just the latter? [00:19:36] Pickle-san, are you running a wiki farm? [00:20:32] Pickle-san, you may get a good response over ate #mediawiki-parsoid [00:26:50] still no luck on committing to gerrit: http://pastebin.com/uXB5EPVz getting a different error now [00:27:33] what command was that running? [00:28:19] and from what directory? [00:29:02] git review [00:29:11] from an extension directory [00:29:18] ContentTranslation [00:30:37] does .git exist? [00:31:04] The directory? [00:31:10] yes [00:31:42] q about wiki email on ubuntu 14.04: do i need to apt-get install sendmail AND pear install mail net-smtp ... or just the latter? [00:32:04] is it core/extensions/ContentTranslation/.git or is it really core/.git/modules/extensions/ContentTranslation instead? [00:32:16] yup, and I see my commit message as COMMIT_EDITMSG [00:32:25] what about .git/hooks? [00:32:31] that's there too [00:32:36] all sample files [00:32:41] ok... [00:32:55] it's like it isn't moving my commit message or something [00:33:04] so what if you run `scp gerrit.wikimedia.org:hooks/commit-msg .git/hooks/commit-msg` ? [00:33:18] from the ContentTranslation directory, of course [00:35:06] mgooley? [00:35:15] Sorry, running it now [00:35:23] still waiting for results [00:35:28] k [00:35:47] should it take a while? [00:36:03] commit-msg 100% 4376 4.3KB/s 00:00 [00:36:07] that's my one [00:36:07] so no [00:36:31] mgooley, this is all assuming you have ssh set up to connect to the right port and username [00:36:46] ya, i can connect to ssh fine [00:36:57] otherwise, you'll need to make the obvious modifications to gerrit.wikimedia.org [00:37:00] ok [00:37:22] ssh -p 29418 mgooley@gerrit.wikimedia.org gives me a congratulations message [00:38:13] scp gerrit.wikimedia.org:hooks/commit-msg .git/hooks/commit-msg [00:38:23] that's the command i'm running... is that right? [00:39:51] Sorry, rebooted my server that znc is installed on [00:42:23] Krenair: still no luck running scp [00:42:44] mgooley, oh [00:42:55] so if you run `ssh gerrit.wikimedia.org` [00:42:57] does that work as well? [00:48:40] you may need to create the file if it doesn't already exist. those lines I pasted would be the entire contents, but obviously with your username [00:48:42] I don't even have a .ssh/config file [00:50:02] ok, see my message above then :) [00:50:26] ah, didn't even see it :) [00:51:36] anyway if you add that, then `ssh gerrit.wikimeda.org`, it should tell you off with the normal banner [00:52:03] Yup, that's it [00:52:19] thanks a ton! [00:52:33] you're very welcome [00:53:16] alright... new problem [00:53:19] :/ [00:53:38] ok... [00:53:41] Now when I do a git diff, I get no diffs, even though my file is changes [00:53:45] *changed [00:53:54] what do you see at `git status`? [00:54:10] On branch new-sql nothing to commit, working directory clean [00:54:14] is your file listed? is it shown as staged? [00:54:27] nope, nothing is listed :( [00:54:39] what file did you change? [00:54:59] contenttranslation.sql [00:55:14] ok well that's not going to be an ignored file [00:55:29] what does `git diff sql/contenttranslation.sql` show? [00:55:46] Nothing [00:55:54] just returns straight away? [00:55:57] ya [00:56:03] but you definitely saved changes to the file? [00:56:19] definitely, I even checked and the changes are there [00:56:35] hm [00:56:45] strange, huh? [00:56:55] very [00:57:10] I always have weird problems like this [00:57:30] `git status sql/contenttranslation.sql` ? [00:58:10] you're running the git diff from the ContentTranslation directory, right? not core or higher up? [00:58:25] On branch new-sql nothing to commit, working directory clean [00:58:37] Ya, running from content translation [00:58:46] ContentTranslation* [00:58:57] ok, open up the file in your favourite command line text editor and add a newline to the top of the file [00:58:59] then try git diff [00:59:30] shows the new line on top only [00:59:52] you should make sure the editor you were using earlier is editing the file you think it is [00:59:55] let me preface: I have already committed... [01:00:11] you already committed the change? [01:00:13] is that why is isn't showing the diff? [01:00:14] ya [01:00:17] ... [01:00:18] :| [01:00:24] Yes, that is exactly why it isn't showing the diff. [01:00:36] ah... I thought it showed from master [01:00:41] git diff shows changes since last commit [01:00:48] master is the branch you committed to [01:01:16] even though I'm in the branch? [01:02:52] I don't understand what you mean [01:03:19] you're on a given branch and you commit, your commit is now the latest commit to said branch [01:03:42] I take it you've used another VCS before, but not git? [01:03:53] I use svn at work [01:04:15] right [01:05:01] http://git-scm.com/course/svn.html has some useful information [01:05:08] although it's quite long [01:05:30] nice, thank you [01:06:30] This happens all the time: what if I make a change and forget to make a branch first? [01:07:06] your commit will be on the wrong branch [01:07:23] even if I haven't committed yet? [01:07:54] oh, right [01:07:56] sorry [01:08:17] that's fine, you can make the changes and then change branch [01:08:32] good, because I always forget to make a branch [01:08:35] then you commit the changes against the new branch [01:09:07] when simply checking out a branch you can usually keep your working directory changes [01:09:25] definitely if you've created a branch based on the current one [01:09:51] if you commit to the wrong branch, there's a couple of ways to fix it [01:11:34] you can `git reset HEAD^` to undo the commit and your changes will go back to being unstaged [01:13:08] Okay... good to know [01:13:22] Got my patch pushed to gerrit... thanks for all your help! [01:13:42] there's some other things I've used in the past but they're potentially scary and not exactly necessary [01:14:28] (like.. checking out the new branch, and using rebase to write the commits I didn't want out of the history of the branch) [01:14:54] np [01:17:45] Ya, I like easier for now... just getting started [01:19:52] I was lucky, I had learnt git basics long before I joined mediawiki [01:20:26] and I started just a month or two before the svn->git migration, which was just over 3 years ago now [01:20:35] so I never had to properly learn svn [01:21:07] that was when newbies had to put their patches up for review in bugzilla anyway [01:25:04] it's a lot to learn [09:33:40] hello, one of my wiki's users has notified me that trying to reset their password results in “Error sending mail: Unknown error in PHP's mail() function.” [09:36:12] I followed the instructions at https://www.mediawiki.org/wiki/Manual:$wgSMTP, including installing the PEAR packages mail and net_smtp, same error [09:36:17] any ideas? [10:13:49] hi guys [10:14:27] does mediawiki has any user management interface? [13:16:37] Hi there, I'm trying to create an environment to add code into a page. The standard code/source/... environments are not sufficient for me since they all use
 tags which strip any find of formatting (colors, bold, etc). I'm able to make things work, except lines starting with a space are not displayed properly. see here https://dpaste.de/i1N6 Any ideas how to solve this?
[13:26:22] 	 Thubos: Wrap it all in a ... and that will fix your space-prefixed lines I think.
[13:26:29] 	 It might also remove the HTML.
[13:26:34] 	 I'm not sure. Let's find out together.
[13:26:47] 	 If it does, though, you can just wrap the text with it.
[13:27:09] 	 It prints the html as plain text - I tried that ;)
[13:27:22] 	 Thubos: But I feel like your answer here may be to change the styling of existing code highlighting instead of trying to write your own solution.
[13:27:51] 	 Thubos: I assume you downloaded geshi - why not use that, and re-style their elements in your global.css page.
[13:27:55] 	 Christ
[13:28:27] 	 sorry, for disconneting :(
[13:29:06] 	 Yeah, it feels like the media wiki syntax is winning over the html code - idk if this working as intendet or not ;)
[13:30:28] 	 What does work is     x         x however this feels not so nice, since it makes creating/formating the code quite a lot of work. Idealy I would like to simple 'drop' code im some tags and get's displayed properly...
[13:31:24] 	 Thubos: I assume you downloaded geshi - why not use that, and re-style their elements in your global.css page.
[13:32:35] 	 I don't have access the the config/backend of the server. Idk if/how soon that will change... :(
[13:34:07] 	 Btw: Is there a way to highlight single letters/words/lines in geshi - that's what I'm trying to achieve here in the end
[13:48:59] 	 Thubos: Go to [[MediaWiki:common.css]] on your wiki. Put in CSS. Profit.
[13:50:41] 	 marktraceur: Awesome :) That looks a lot like the solution  - Thanks a lot for the hing
[13:50:42] 	 hint
[15:26:52] 	 are there any gosoc basic tasks for beginners. I would love to submit mediawiki as my organisation
[15:40:40] 	 i take it we're missing another maintenance release today?
[15:43:08] <^d>	 I haven't made any plans to do those maintenance releases
[15:59:07] 	 is that just because of waiting for the security releases, or are we only going to get security releases going forward?
[16:24:05] 	 Yesterday, I ran maintenance/update.php on an installation. Now, when certain pages are invoked with "Edit," an entirely different page is invoked -- it is almost as if an index in the database were skewed. It is now possible to save the page and stomp over whatever was there before. Has this been observed before? I'm not even sure how to debug this -- suggestions will be appreciated!
[16:24:44] 	 FYI, here is some git version identification.  MediaWiki: 5a3173d06b605a8c86ace08efc9e9c290f7f171a, VisualEditor: b6ad119f153cdd0f88e3152c5961785c3d46e72a
[16:47:22] 	 Good afternoon everyone, could someone tell me what the visualeditor channel is?
[16:49:24] 	 #mediawiki-visualeditor
[16:49:45] 	 codezee: Thanks!
[17:11:17] 	 Hi, "wgUserName" is null for non-logged-in users, is there a variable with ip ?
[17:49:16] 	 aharoni : did you get a chance to decide upon more tasks? In the mean time I have been working on a VisualEditor related bug. A part of it remains to be done. 
[17:49:43] 	 ankita-ks: not yet, but which one have you been working on?
[17:50:10] 	 aharoni : this :https://phabricator.wikimedia.org/T52281
[17:50:18] 	 sorry, https://phabricator.wikimedia.org/T52281
[17:50:51] 	 i am hoping to finish it by tonight.
[17:51:12] 	 I needed some info so I am waiting for TrevorP to ping me back. 
[17:51:16] 	 is their a good events plugin for Media wiki
[17:57:43] 	 satdav: what would you want it to do?
[17:59:23] 	 satdav, what does an Events plugin do?
[19:16:35] 	 Hallo everyone, I'm hoping you folks can direct me to an extension that simulates behavior we currently get with the FamilyTree template, which gives everything fits. I need something that looks like the decision trees here: http://www.wikidoc.org/index.php/Aortic_dissection_resident_survival_guide
[19:16:52] 	 But doesn't produce code that MS Frontpage would shudder at
[19:21:09] 	 Hello. I updated MediaWiki to version 1.24.1 and now I fail to make the Vector skin show up. I uploaded a screenshot of Special:Version here: https://unsee.cc/zinomesu/
[19:23:25] 	 alimula: Click the link your lack of skin directs you to
[19:23:34] 	 it has instructions on enabling the Vector skin
[19:23:54] 	 Ulfr, I found this http://www.mediawiki.org/wiki/Manual:Skin_autodiscovery
[19:25:26] 	 Hmm, Vector is set as skin on the wiki
[19:25:30] 	 alimula: http://www.mediawiki.org/wiki/Manual:Upgrading#Files_remaining_that_may_cause_errors
[19:25:37] 	 it's just that the wiki doesn't look the way it's supposed to
[19:25:40] 	 yea, just reading that
[21:41:17] 	 I wonder if I can write something like 'not patrol' in "rights" https://www.mediawiki.org/wiki/Extension:Gadgets#Options
[21:45:52] 	 I guess that's not too hard to implement in the extension's code - provided you are able to tweak your mw installation
[21:48:26] 	 Ok (it was for wp.fr, to enable some gadget only for all 'newbies')
[21:52:25] 	 We have a similar issue at Commons, Frakir, we would need a gadget for people who are not file movers ...
[21:52:35] 	 *a gadget enabled
[21:53:07] 	 so there is at least a use case we could prove - would you open a phabricator task?
[21:58:32] 	 I don't know if it is very useful : I have enabled Sandbox gadget but autopatrolled don't need to have this