[00:03:36] 03(mod) Jenkins: Set up PHPUnit testing on MySQL backend - 10https://bugzilla.wikimedia.org/35912 +comment (10mflaschen) [00:04:00] 03(mod) VisualEditor: Cursor position should account for padding in alien inline blocks - 10https://bugzilla.wikimedia.org/48680 normal->minor (10Krinkle) [00:14:24] 03(NEW) Please upgrade the Bugzilla version - 10https://bugzilla.wikimedia.org/48736 normal; Wikimedia: Bugzilla; () [00:42:09] Is this the mediawiki support channel? [00:42:15] I have a question. [00:43:29] Now first, please note that I'm running mediawiki on wikinet. [00:43:48] My Wiki URL : http://mylittleponyfriendshipismagicwiki.wikinet.org/wiki/Main_Page [00:44:20] The question is... I tried to change the image above "Navigation" but it it didn't work. [00:44:20] It uploaded fine [00:44:26] but it didn't work. [00:46:51] I'm gonna find support elsewhere. [00:57:51] hey I am writting a mediawiki extension and the ajax seems to be blocked in it .. I am using MW 1.19 [00:58:33] I have checked with the logs and the ajax request was not there. I have check all the settings in default settings and local settings the ajax is perfectly allowed there .. [01:00:02] 03(NEW) Define rules for using Ganglia for individual tool statistics - 10https://bugzilla.wikimedia.org/48737 normal; Wikimedia Labs: tools; () [01:20:09] Anyone knows how to get ajax working for mediawiki Extensions (mw 1.19) [01:39:58] AdityaSastry__: What do you mean? [01:41:56] Thanks for responding susan [01:42:33] https://dpaste.de/Y1zPn/ -> code [01:43:06] I am trying to send data from my extension to a local php script.. but its not getting executed [01:43:34] I know this cause I have checked the easyPHP log and there is not mention of a post request there. [01:45:45] * Susan peeks. [01:46:03] Where are you putting this code? [01:46:39] In a javascript file which is loaded as a resource to my special page [01:47:30] Is the file being loaded? [01:47:36] Does alert(); work? [01:47:47] Yup .. I tried putting an alert before this [01:47:54] and that fires properly .. [01:48:16] I also tried putting a alert after this fragment of code but that is not fired [01:48:21] Did you make up method? [01:48:22] and the page is reloaded. [01:48:36] umm .. I didnt get you .. [01:49:02] https://dpaste.de/Y1zPn/ [01:49:06] Line 3 should be type:, I think. [01:49:11] Not method:. [01:49:58] Ohh yeah .. its type .. [01:50:08] But hey I copy pasted the code a while ago .. from the manual [01:50:23] Which page? :-) [01:50:26] So the one I am trying out is with type not method. [01:50:37] http://www.mediawiki.org/wiki/Manual:Ajax [01:50:57] That uses type. [01:51:17] Yup .. I pasted that exact code just a while ago .. and even that didnt work [01:51:19] Does that fix your issue? [01:51:34] :( no.. [01:52:04] this code runs fine when ran outside mw .. [01:52:38] Try jQuery.ajax({? [01:53:43] umm actually I am running this method from inside .. (function($){ .... })(jQuery); [01:54:00] That isn't what you pasted. [01:54:38] yeah that code that I pasted runs inside a function which runs inside this .. [01:54:53] Do you want me to paste the whole page code ? [01:56:11] If you'd like. [01:56:16] I don't really have the energy to debug this. [01:58:09] i dont think this needs debuging .. cause the server script that am trying to run works independently of mediawiki as of for now.. and hence I was able to test the client sided script outside MW as well. but now i started to integrate things and I started off with client sided script and this is not working [01:58:34] I actually remember reading somewhere in the manual once that ajax needs to be turned on .. [01:58:42] But i am unable to find that functionality [01:59:21] https://www.mediawiki.org/wiki/Manual:$wgUseAjax I guess. [02:00:31] ohh yes :D but its on by default :( [02:02:19] 03(mod) No language name for "no" code in "languages" tag - 10https://bugzilla.wikimedia.org/48424 +comment (10hazard_sj) [02:20:26] Hey could u tell me .. why no matter what I pass as the URL, the page is posted on itself using GET method ? [02:22:39] Hi, is it a good idea to follow this when extension writing? https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript [02:23:08] RAN1: yes, we have coding conventions for a reason [02:23:33] Kk, just double-checking. [02:24:13] odder: yes, otu of beta :) [02:24:25] odder: though no, those won't be the icons. Not Androidy enough [02:25:40] Ahah! [02:27:18] YuviPanda: Gareth supporting review branches may make you happy. But I just thought about something that might make you not so happy. [02:27:48] expensive flight tickets? :P [02:27:51] those make me pretty sad :P [02:28:08] DanielFriesen: did you run out of booze again? [02:28:09] YuviPanda: lol... Comments. [02:28:16] ? [02:28:19] on Gareth? [02:28:55] possible 1.21 will go release tonight? [02:29:36] I can't wait to get some Scribunto going on. :-) [02:31:06] YuviPanda: I don't intend to follow the same flat single level of comments that GitHub and Gerrit use. Gareth is going to record metadata on what comment is being replied to, support quoting, and have some smart handling of groups of comments. So GitHub/Gareth comments won't map to each other easily. [02:31:47] DanielFriesen: well, they won't 1:1 map, yeah [02:31:51] DanielFriesen: but... close enough? [02:32:01] DanielFriesen: plus the bot can record metadata of its own, no? [02:32:38] YuviPanda: Well the real issue is that a GitHub reply will break from what it's being replied to. [02:32:47] hmm? [02:33:00] the 'canonical' source for the code will still be GitHub [02:33:13] code updates in Gerrit won't go back... [02:33:18] Huh? [02:33:20] so people *shouldn't* update code in Gerrit... [02:33:30] if it started in GitHub [02:33:36] Ah... [02:33:37] hmm [02:33:48] Hmmm... [02:34:09] DanielFriesen: so that's technically impossible, since you can't push to the source branch on github if you aren't the owner [02:34:37] DanielFriesen: so my plan is to figure out a way to simply apply the gerrit patchset difference alone into github, and make that available as a one liner for people to copy paste [02:34:42] Talking about comments. [02:34:55] But that to does make me think. [02:35:24] or you could just stop using github >.> [02:35:33] Heh [02:36:27] why do people have opinions against using GitHub? [02:36:38] like, in additon to Gerrit, with Gerrit being canonical source of code? [02:36:46] DanielFriesen: also how is Gareth work coming along? [02:37:03] YuviPanda: You just came up with a pretty strong disadvantage. [02:37:13] Gerrit -> GitHub issue? [02:37:48] DanielFriesen: it's not an unsolveable issue [02:37:49] GitHub eliminates the collaboration from patchsets not allowing other people to update the review branch. [02:38:42] DanielFriesen: yeah, but we're not 'moving' to GitHub [02:39:07] DanielFriesen: people who are used to how GitHub works can use GitHub [02:39:14] and if they contribute enough, start using Gerrit [02:39:18] We're not, but it still means "Use GitHub and there's no collab" [02:39:30] DanielFriesen: well, Gerrit -> GitHub doesn't work right now [02:39:34] doesn't mean it won't ever [02:39:46] and besides, it's been like that for everything on GitHub ever [02:40:00] and it seems to be doing Okay for a lot of other open source projects [02:40:17] I can see it also disabling Gerrit features. [02:40:22] ? [02:41:45] Well first of all the merge commit message editing. I suppose not disable. But that's a critical feature that wouldn't be available. [02:41:57] Not in GitHub at least. [02:42:20] DanielFriesen: I think that can be fixed. [02:42:56] DanielFriesen: Other people can't push new 'code' but can edit contents of PRs [02:43:27] I can think of two ways of handling GitHub in Gareth. [02:45:59] A) On review sets disable making comments and set it up to mirror GitHub comments (with some extra style to draw attention to that fact). [02:46:12] 03(mod) Enter 2 times, Backspace 2 times : not deleted - 10https://bugzilla.wikimedia.org/48284 +comment (10nicolas.raoul) [02:47:30] DanielFriesen: that sounds bad, we should always have 2 way comments [02:48:16] 03(mod) Enter 2 times, Up, Delete : pawned - 10https://bugzilla.wikimedia.org/48285 +comment (10nicolas.raoul) [02:49:13] DanielFriesen: how far out is Gareth? [02:49:26] Far of course ;) [02:49:59] I don't think it would ever actually finish without something like a MediaWiki Development Chapter to support it's creation. [02:50:24] yeah, sigh [02:51:07] B) Whenever someone adds a pull request to GitHub create a review set on Gareth and close the GitHub PR with a "This pull request has been moved to a Gaerth review branch". Support GitHub auth as a method of login so GitHub users can trivially get into the interface their PR was moved to. [02:51:34] hmm, I like B) [02:51:38] provided there is auth [02:51:40] properly [02:51:45] and the interface isn't Gerrit-bad [02:51:55] Oh, nice, ok. [02:52:07] ;) I thought I was going to have to come up with a C) [02:53:13] DanielFriesen: :) [02:53:26] DanielFriesen: however, I suppose code pushes might still be useful [02:53:47] DanielFriesen: since otherwise people will have to setup completely new SSH / Infrastructure locally [02:53:49] for it to work [02:53:54] legoktm: thanks for the PR :D [02:53:55] YuviPanda: I don't expect an interface worse than GitHub... ;) heck I'm trying to out-do GitHub..... I started implementing flipping syntax highlighted diffs! [02:54:03] :D [02:54:05] nice! [02:54:13] I *Just* realized that GH doesn't have them [02:54:13] wah [02:54:31] YuviPanda: Oh no, actually that's the beauty of Gareth. [02:55:33] YuviPanda: Remember that Gareth fundamentally works on the standard git model of public repos for each user and pull requests which used to be done by email, etc... [02:56:01] DanielFriesen: hmm, so how does that work for people collaborating on the same patch? [02:56:07] I never figured how that works with Email PRs [02:56:46] YuviPanda: In other words... ;) Gareth will work from the start supporting their GitHub fork as a remote. [02:57:02] right. so code pushes won't be an issue that needs to be bot solved [02:57:02] nice [02:57:57] In fact the bot (or rather plugin) should probably be smart enough to auto-create the remote for the user. [02:58:24] Unfortunately it would probably be too invasive to make the small tweak to GitHub. [02:58:55] ie: They'll still have to add the webhook manually to take advantage of the most user friendly features. [02:59:09] Oauth + API should take care of it [02:59:15] especially if Gareth supports GH login [02:59:25] GitHub's API is complete and very adorable [03:00:04] Maybe... but I fear that the permissions necessary to modify a user's webhooks for a repo may be too invasive. [03:00:27] Asking for that kind of permission when someone logs in could scare some people off. [03:02:12] DanielFriesen: hmm, true [03:02:24] well, a bridge to cross when we get to it :) [03:02:40] 03(mod) PATH on webservers is just "/bin" for tools - 10https://bugzilla.wikimedia.org/48722 +comment (10tim) [03:04:02] DanielFriesen: do you know of any wrappers for the Gerrit API? [03:04:06] or i might have to write one now [03:04:14] no [03:04:21] I don't really touch Gerrit [03:04:27] :P [03:10:20] YuviPanda: I don't even see WebHook controls in GitHub's API... I only see subscription stuff that requires polling. [03:10:36] DanielFriesen: http://developer.github.com/v3/repos/hooks/ [03:12:43] 03(mod) PATH on webservers is just "/bin" for tools - 10https://bugzilla.wikimedia.org/48722 +comment (10gerritadmin) [03:12:45] 03(mod) $HOME isn't set on webservers, causes jsub to try /$JOBNAME.out as output file - 10https://bugzilla.wikimedia.org/48726 +comment (10gerritadmin) [03:14:27] YuviPanda: ^_^ Screw WebHooks... [03:14:38] ? [03:16:28] YuviPanda: They're great for supporting anyone and for manual config. But GitHub supports PubSubHubbub. We can just write some GitHub support to automatically go and register one of those subscriptions when a GitHub remote is added. [03:16:50] ah [03:16:51] yes [03:17:11] hmm that's going to scale much better [03:17:13] than webhoks [03:17:14] *hooks [03:18:02] As for how email collab works. [03:20:23] Classically you'd push stuff to a branch in your public repo. Then submit a pull request to a maintainer over email. They'd pull from there. If someone else wanted to contribute they'd pull from you, make a commit, then push it to their public repo. And send another email telling you and the maintainer to pull from them. [03:20:34] As for Gareth. [03:20:47] yeah, so that exact model works for GH as well. [03:20:53] hierarchical pull requests, so as sto say [03:32:37] After Gareth has fetched your remote you submit your review branch in the UI (well maybe... ;) there's still the fact I hope to add some magic that'll allow Gareth to magically -- based on your personal conventions for how you push commits to your public repo -- to automagically create review branches for you without manual work each time). Gareth holds this commit information in custom refs in the actual repo (like Gerrit does but maybe a litt [03:32:45] YuviPanda: ^ [03:33:08] it got cut off at 'maybe a litt' [03:33:42] Damnit I thought I fixed that. [03:34:03] ...(like Gerrit does but maybe a little cleaner). When someone else wants to contribute they'll pull from that ref in Gareth creating a local tracking branch. Make a commit, then push it to their public repo. Gareth will either automatically catch on by a webhook or pubsubhubub and do a fetch or they can tell it to fetch themselves. After fetching that commit can be added to the review branch manually ( ;) though more likely Gareth will automag [03:34:32] ... ( ;) though more likely Gareth will automagically catch on and add it for you). [03:34:34] so the review branch is on the 'canonical' repo [03:34:52] Sure, makes things easier. [03:35:55] DanielFriesen: hmm, right [03:35:58] Fun fact... fundamentally Gareth doesn't need any ssh or write support ;) [03:36:02] well, I hope it all gets implemented someday! [03:36:13] DanielFriesen: well, it just needs some form of git transport, I think? [03:36:27] Sure... ;) read-only http(s) [03:37:20] I may eventually add a little ssh. [03:37:55] hmm, do they have to host their own public repos? [03:39:10] Sure... but that can be anywhere. GitHub, Gitorious, private server, ;) you could even install something right along side Gareth and let people use that. [03:40:05] Though I may add optional hosting of personal clones in the future with ssh push. [03:40:28] Originally I had no intent to do that. [03:41:07] But after some though I decided I might need to do that to support secure private repos like a few that WMF uses. [03:41:44] yeah, I think that'll make things easier [03:42:37] YuviPanda: You might like my idea for the 'final' way of creating projects/repos inside Gareth. [03:46:09] YuviPanda: http://dpaste.org/ius2k/ [03:47:00] Repositories and branches are created using review sets ;) [03:47:33] hmm, nice! [03:47:40] but... feautiritis! [03:47:59] So anyone can make a request for them in-system and all someone needs to do is press accept. [03:48:19] This actually came out of a personal use case. [03:49:14] Our repo request process was a mess and slowed down getting new extensions in. [03:49:42] yeah, it hoepfully can be automated at some point [03:51:48] With this all you need to do is push your ext to a public remote. Create a review branch using the new project button. Do that using your public repository and attaching all the commits you've made to the review set. Then when someone hits a single accept button the final repo is created with all your commits inside. [03:52:48] And since you've got a public repo you don't need to hold back at all on development. [04:05:04] Hi. [04:11:15] YuviPanda: :D [04:11:24] hey Susan [04:11:27] hey legoktm :) [04:11:32] how goes GSoC? [04:11:41] they havent announced who got accepted yet [04:11:57] did you apply for anything else other than that? [04:12:15] stupidly, nope [04:12:28] ah [04:12:36] heavy contentionf or that one [04:15:18] legoktm: I should move that repo itself to Gerrit [04:15:29] legoktm: so that we can do PRs for that and have them come into Gerrit :D [04:15:43] lolololol [04:25:13] YuviPanda: would be nice if you package it so it can go on pypi and stuff [04:25:27] legoktm: the sync? why exactly? [04:25:37] legoktm: it's not really going to be useful for anyone other than us [04:25:52] other people use gerrit right? [04:26:08] they do?! :P [04:26:28] legoktm: pull request! :P [04:26:39] legoktm: oooh, also, have I told you about this idea for a 'Wiki Now'? :D [04:26:59] Similar to Google Now? [04:27:23] Susan: so idea is, you set a bunch of 'interests' and get notified of things that match it [04:27:36] Like SuggestBot? [04:27:40] yes [04:27:43] but not really [04:27:46] Right. [04:27:50] because this is aimed more at readers [04:27:52] and not at editors [04:28:03] and the plan is to implement this as an Android app wtih Push notifications [04:28:10] and a Google Glass thing [04:28:20] https://www.mediawiki.org/w/index.php?title=User%3AYuvipanda%2FGlass_apps&diff=693696&oldid=693583 [04:28:26] Susan: it's like suggestbot for non-editors [04:28:42] legoktm: mmm, that's nice! [04:28:53] legoktm: now that I think about it, Huggle on a phone / tablet would also be very nice [04:29:11] Susan: we could perhaps convert such users into editors at some point :) [04:29:18] Huggle on any console would be nice! [04:29:18] this is just something I'm playing around with, of course. [04:29:25] I would love to huggle with my Wiimote. [04:29:36] legoktm: i've never used Huggle :( [04:29:37] no windows [04:29:42] Kinect Huggle! [04:29:44] Swipe left to revert+warn, right to block [04:29:45] LOL [04:29:56] STiki is very similar [04:29:57] 'drop kick to block' [04:30:01] :P [04:30:13] 'smile like a psycho to warn' [04:30:31] 'kick in the balls to report to AN/I' [04:30:36] man that'll be hilarious :P [04:31:01] Susan: do you have any interest at all in the GitHub -> Gerrit stuff that's goin on? [04:33:14] In the sense that I might skim an e-mail about it. [04:33:18] But no real interest. [04:33:38] hmm, alright [04:34:34] 03(mod) Add JavaScript variable for whether user can edit the page - 10https://bugzilla.wikimedia.org/43790 +comment (10Matthew Flaschen) [04:50:24] Krinkle|detached: i responded to your issue :) [04:52:08] YuviPanda: Interesting work (GitHub-> Gerrit ) [04:52:22] Rtdwivedi: :D It helps people getting started a lot [04:52:30] and also helps attract contributors from other oss communities [04:52:34] everyone has GH already setup [04:53:10] True. [04:54:52] What's the idea? [04:55:11] Susan: open a pull request in GitHub, Gerrit patchset gets automatically created [04:55:17] Susan: Updated Pull Request, Patchset updated [04:55:21] (all automatic) [04:55:33] i'll work on two way comment sync next [04:55:45] mediawiki.org/wiki/User:Yuvipanda/G2G [04:56:07] Hmmm. [04:56:25] wouldn't it be better just to push to gerrit in the first place? [04:56:33] Susan: it's currently enabled for a bunch of repos where the owners had previously expressed interest [04:56:42] Susan: MobileFrontend, all of E3, and the browsertests [04:56:43] *push people [04:56:50] Comment duplication feels very... [04:57:11] YuviPanda: https://thomashaas.com/pages/collection-viennoiserie.php <- hyper-addictive. I'll buy you a dozen. [04:57:37] p858snake|l: removing barriers to having people contribute is always good [04:58:00] Not always. [04:58:09] But I agree that it'd be nice to integrate better with GitHub. [04:58:11] Or Bitbucket. [04:58:12] Or wherever. [04:58:19] Comment duplication feels... weird, though. [04:58:31] It feels like: edit conflict. [04:58:51] Susan: why? It's more like 'sync' than duplication.... [04:58:55] Amgine: that timed out [04:59:11] YuviPanda: I can understand why you'd want to do it. It just feels painfully inefficient. [04:59:18] alternatives? [04:59:23] YuviPanda: Are you planning to implement actual logging? [04:59:42] legoktm: i should. and make logs available over tools-labs http [04:59:49] legoktm: want to take a shot at it? :D or should I? [05:00:06] I'll take a look tomorrow, should be rather simple [05:00:16] legoktm: there's also a PHP script involved [05:00:18] that's not in the repo [05:00:20] i'll add it now [05:00:23] oh? :/ [05:00:26] legoktm: but it's super simple [05:00:33] legoktm: it just receives the pull request payload from GitHub [05:00:38] legoktm: and starts the job for sync.py [05:00:44] legoktm: it's like, 4 lines of code [05:00:44] YuviPanda: think decadent croiscent wrapped around super-fine dark chocolate. https://thomashaas.com/files/photos/Choc-Croissant-980x379.jpg [05:00:45] Oh is that your web hook? [05:00:50] legoktm: yup yup [05:00:56] p858snake|l: removing barriers to having people contribute is always good why not use a python one? [05:00:58] legoktm: so i need logging for that too [05:01:15] legoktm: didn't want to fight with tools-labs and python web [05:01:28] heh [05:01:30] :( [05:02:39] p858snake|l: once the entire workflow is implemented, I don't see it as too much of an obstacle [05:02:58] p858snake|l: you can comment on either thing, and (mostly?) push code to either thing [05:03:35] YuviPanda: in the future when more features are added to gerrit (revision tags seems to be a major one) [05:03:46] p858snake|l: besides, that's why I have been enabling it only for people who ask [05:04:03] Amgine: hmm, I might like that [05:04:13] Amgine: unsure how pastry deals with chocolate [05:04:25] Delightfully. [05:04:36] should try it next time! [05:04:55] p858snake|l: no reason to keep out the large community of people who are used to GitHub [05:05:04] it's an entry gateway, that is all. [05:06:13] p858snake|l: count(people-on-GH) > count(people-on-Gerrit) [05:06:31] plus... some of us prefer GitHub :) [05:06:47] (the mobile apps are primarily on GitHub so far, for example. Will move to Gerrit eventually) [05:06:53] 03(mod) Make brackets in section edit links accessible to CSS - 10https://bugzilla.wikimedia.org/48256 +comment (10liangent) [05:07:48] legoktm: have you done python web scripts in tools-labs? [05:07:55] yes [05:07:58] i think so [05:08:10] yes* [05:08:12] i have [05:08:42] legoktm: mmm, help me port the php script? :D [05:09:01] once you upload it :D [05:11:55] legoktm: done [05:12:28] er, where did you post it? [05:12:34] legoktm: push failed, rebasing noow [05:12:35] moment [05:12:39] loool [05:12:49] i merged your PR, didn't pull [05:12:51] pushed [05:14:01] oh thats simple [05:14:09] what does error_log() do? [05:14:18] legoktm: logs to ~/php_error.log [05:14:23] needs to be replaced by 'proper' logging :) [05:17:45] hm ok [05:19:49] 03(mod) Filter group from Special:LanguageStats when group is not a priority language - 10https://bugzilla.wikimedia.org/47879 +comment (10Santhosh Thottingal) [05:20:26] YuviPanda: $payload = json_decode( $_POST[ 'payload' ], true ); <-- what does the true do? [05:20:37] legoktm: return it as an array instead of as an 'standard object' [05:20:39] php is stupid [05:20:42] lol [05:20:50] associative array, rather [05:25:50] hm ok [05:26:07] think i got it [05:26:32] legoktm: can I add you to the project on tools labs? [05:26:46] sure [05:26:52] err, how do I do that? :D [05:27:22] https://wikitech.wikimedia.org/wiki/Special:NovaProject [05:27:28] Add user to service group [05:28:13] legoktm: done! [05:28:16] :D [05:29:04] https://github.com/yuvipanda/SuchABot/pull/3 [05:33:48] YuviPanda: that might need a bit of hacking, the script I wrote which calls qsub from python required modifying the environment since CGI's environment is different [05:34:02] mmm, right [05:34:25] can't we isolate and create our own? [05:35:00] legoktm: also, we can test this out :D Can you deploy this on tools labs and give me the URL? I can enable pushes to this for one of the repos [05:35:06] and then we can test by making stupid silly pull requests [05:35:14] http://dpaste.de/ILDKk/raw/ thats what i set up for legobot [05:35:29] and, sure :P [05:35:38] ah! [05:36:05] legoktm: also can you modify the perms on the CONFIG file to make it not be readable by anyone other than the user? :D [05:37:06] YuviPanda: er, whats the name of the project on tools again? [05:37:12] suchaserver [05:38:34] where is the config file stored? [05:41:51] legoktm: ~/.suchaconfig [05:41:57] no let me take care of it [05:41:58] * YuviPanda logs in [05:44:39] YuviPanda: the endpoint is http://tools.wmflabs.org/suchaserver/cgi-bin/receiver.py [05:45:28] legoktm: send pull requests to wikimedia/qa-browsertests [05:45:32] should trigger that url [05:45:41] live edit until it works ;) [05:45:47] <-- lazy [05:45:59] what? legoktm is lazy? [05:46:00] waaat [05:46:01] noo! [05:46:07] hmm, also permission issues now [05:46:08] hmm [05:48:39] oh? [05:48:58] I can't change ownership / group of files under the project [05:49:05] or permissions [05:49:05] weird [05:49:15] well unless theyre the local-user they cant access it i think. [05:49:33] YuviPanda: who /isn't/ lazy? [05:49:38] Jasper_Deng: legoktm! [05:49:45] wrong [05:50:04] -rw-r--r-- 1 yuvipanda svn 62 Apr 13 23:32 .suchabot.yaml [05:50:05] legoktm: ^ [05:50:12] weird. [05:50:12] while everything else is [05:50:13] drwxr-sr-x 2 local-suchaserver local-suchaserver 23 May 22 19:29 .vim [05:50:15] indeed [05:50:22] legoktm: i can change it's group, but no it's ownership [05:50:23] or perms [05:50:29] the real question is, why are you using svn? [05:50:45] i don't know why that is svn [05:50:51] i'm confused [05:51:22] I pushed the deployed version of the script onto github [05:52:07] legoktm: the comment about the PATH issue was for jsub [05:52:17] er [05:52:18] yeah [05:52:30] os.path.expanduser() converts the ~ into the full path [05:52:40] no I meant that 'jsub' is not in PATH [05:52:44] so jsub won't be found [05:52:44] ohhhh [05:52:46] jsub is just a script [05:53:09] /usr/local/bin/jsub [05:53:10] legoktm: and you need to specify output / error files explicitly. [05:53:22] legoktm: yes, /usr/local/bin and /usr/bin are not in PATH on the web servers [05:53:28] sigh [05:53:35] Louder. [05:53:38] Tim filed ab ug for it yesterday. [05:53:40] SIGH [05:53:54] Why do we need to specify output files? [05:53:55] legoktm: so you need to set PATH, and not just specify jsub's full path [05:54:05] because even things like 'basename' are not in PATH [05:54:14] Er, [05:54:24] legoktm: see ~/php_error.log [05:54:46] legoktm: specify output file because $HOME doesn't expand properly in jsub, and hence it tried to write to /sync.out and /sync.err and fails [05:54:50] instead of $HOME/sync.out [05:55:13] there are bugs for all this :) [05:55:36] so……… [05:55:51] what should the full path be? [05:56:21] it's in the php script :P [05:56:40] would copy pasting the command line from the PHP script into python not work? [05:56:49] aksdjhf [05:56:56] you didnt post the latest version of the php script! [05:57:09] ? [05:57:14] gah [05:57:15] damn [05:57:16] yes [05:57:16] no [05:57:18] sorry [05:58:00] sorry :( [05:58:19] fixed [06:03:39] https://github.com/legoktm/SuchABot/commit/af8633e974aac538b1b1fd3c8fcdd168844fcf30 [06:04:25] YuviPanda: I just synced that live [06:04:56] legoktm: want me to test? [06:04:59] sure [06:06:51] legoktm: are you logging anything? [06:06:54] it should've hit now [06:06:59] nope :/ [06:07:01] probably should have [06:07:09] cd [06:07:14] * legoktm slaps himself [06:07:48] 03(mod) Filter group from Special:LanguageStats when group is not a priority language - 10https://bugzilla.wikimedia.org/47879 +comment (10Siebrand) [06:07:56] legoktm: hmm, my ssh seems messed up, trying to re-login and see access.log [06:08:06] legoktm: let me know whenever you want me to make a change that'll cause a hook to be posted [06:08:49] legoktm: 127.0.0.1 - - [23/May/2013:06:06:40 +0000] "POST /suchaserver/cgi-bin/receiver.py HTTP/1.1" 200 7035 [06:08:52] yeah so there was a POST [06:12:40] YuviPanda: ok try it now, i added in some hacky logging [06:13:28] legoktm: yeah, that hit [06:13:32] but no update [06:13:34] where ist he log? [06:13:50] local-suchaserver@tools-login:/data/project/suchaserver/cgi-bin$ cat log.txt [06:13:50] set PATH [06:13:57] hm [06:14:47] hmm, no payload? [06:14:56] try now [06:15:08] try: [06:15:08] payload = json.loads(form['payload']) [06:15:09] except: [06:15:09] log(traceback.format_exc()) [06:15:29] Unnamed exception! [06:15:43] legoktm: I see an exception [06:15:56] oh hm [06:16:01] OH DUH [06:16:15] 03(mod) Filter group from Special:LanguageStats when group is not a priority language - 10https://bugzilla.wikimedia.org/47879 +comment (10santhosh.thottingal) [06:16:29] YuviPanda: now try. I forgot that you have to get .value [06:17:01] legoktm: hit again [06:18:00] blah [06:18:10] i added more try/excepts [06:18:22] YuviPanda: try again plz [06:18:41] hit [06:18:42] agian [06:18:56] nothing in log [06:19:30] * legoktm facepalms [06:19:33] it was my log() command [06:19:36] try now [06:20:15] 03(mod) Filter group from Special:LanguageStats when group is not a priority language - 10https://bugzilla.wikimedia.org/47879 +comment (10s.mazeland) [06:20:41] done [06:20:50] nice it received it [06:20:53] and a nicer exception :) [06:21:17] oh um [06:21:19] i see [06:21:46] try now [06:22:47] done [06:22:56] tuple error [06:23:50] oh [06:24:10] fixed [06:24:34] hit [06:24:46] sending command [06:24:46] sent [06:25:03] it says so [06:25:11] i don't see it in http://tools.wmflabs.org/?status [06:25:14] hm [06:25:42] github.ApiNotFoundError: https://api.github.com/repos/wikimedia/wikimedia-qa-browsertests/pulls/7 [06:25:44] legoktm: and no update in ~/suchabot.out either [06:25:46] thats [06:25:47] local-suchaserver@tools-login:/data/project/suchaserver$ tail suchabot.err [06:26:08] legoktm: repo = payload['repository']['full_name'] [06:26:10] needs to be 'name' [06:26:19] ah [06:26:21] it changed in the newer php version, sorry about that [06:26:42] done [06:27:30] hit [06:27:50] 94485 0.25000 suchabot local-suchas r 05/23/2013 06:27:40 task@tools-exec-04.pmtpa.wmfla 1 [06:28:02] yes! [06:28:04] Syncing Repo qa/browsertests for PR #7 [06:28:05] Attempting to download patch [06:28:05] :D [06:28:12] weird error [06:29:19] legoktm: hmm, weird git error [06:29:23] legoktm: but the python script is okay! [06:29:28] yay [06:30:02] aw crap, i gotta go afk now [06:30:11] that's okay :) [06:30:18] update the pull req with the new py file when you can :) [06:30:22] imma debug this git issue now [06:30:56] legoktm: <3 thank you [06:31:10] i will upload the updated script to github tmrw morning [06:31:15] YuviPanda: :D no problem! [06:31:22] gnite [06:35:47] Krinkle|detached: https://github.com/mathiasbynens/dotfiles/blob/master/.osx # I think this is interesting. [06:37:08] 03(mod) Filter group from Special:LanguageStats when group is not a priority language - 10https://bugzilla.wikimedia.org/47879 (10Santhosh Thottingal) [06:37:19] 03(mod) Filter group from Special:LanguageStats when group is not a priority language - 10https://bugzilla.wikimedia.org/47879 +comment (10gerritadmin) [06:48:18] 03(mod) deadlocks mass-deleting media files in categories - 10https://bugzilla.wikimedia.org/13921 (10Aaron Schulz) [07:21:23] 03(mod) Request for new mailing list: qa@lists - 10https://bugzilla.wikimedia.org/48057 +comment (10hashar) [07:23:59] 03(mod) Please upgrade the Bugzilla version - 10https://bugzilla.wikimedia.org/48736 normal->15enhancement; +comment (10Sam Reed (reedy)) [07:27:44] 03(mod) Please upgrade the Bugzilla version - 10https://bugzilla.wikimedia.org/48736 +comment (10p858snake) [07:33:18] 03(mod) VisualEditor: Paste of content does not use the context's annotation - 10https://bugzilla.wikimedia.org/48720 +comment (10Ed Sanders) [07:34:17] 03(mod) creation of new claims (and perhaps other edits) can be (auto)patrolled on wikidata - 10https://bugzilla.wikimedia.org/47415 +comment (10ariel) [07:50:42] 03(mod) Import old revisions from dump to restore missing revisions - 10https://bugzilla.wikimedia.org/39008 +comment (10ariel) [08:09:55] 03(mod) MathJax makes links unclickable - 10https://bugzilla.wikimedia.org/48725 +comment (10hartman.wiki) [08:16:15] 03(NEW) Templates in Mediawiki:Sidebar are not shown on the sidebar - 10https://bugzilla.wikimedia.org/48738 major; MediaWiki: Templates; () [08:20:59] 03(mod) Templates in Mediawiki:Sidebar are not shown on the sidebar - 10https://bugzilla.wikimedia.org/48738 +comment (10Youri van den Bogert) [08:21:01] 03(mod) Sidebar ignores templates - 10https://bugzilla.wikimedia.org/33766 +comment (10Youri van den Bogert) [08:21:54] 03(mod) Sidebar ignores templates - 10https://bugzilla.wikimedia.org/33766 +comment (10yvdbogert) [08:22:12] 03(NEW) JS & Display Issues on IE 10 - 10https://bugzilla.wikimedia.org/48739 normal; MediaWiki: General/Unknown; () [08:25:44] 03(mod) JS & Display Issues on IE 10 - 10https://bugzilla.wikimedia.org/48739 +comment (10steven) [08:27:10] 03(mod) JS & Display Issues on IE 10 - 10https://bugzilla.wikimedia.org/48739 +comment (10steven) [08:28:15] 03(mod) JS & Display Issues on IE 10 - 10https://bugzilla.wikimedia.org/48739 +comment (10steven) [08:36:32] 03(mod) JS & Display Issues on IE 10 - 10https://bugzilla.wikimedia.org/48739 +comment (10steven) [08:59:51] 03(mod) Sidebar ignores templates - 10https://bugzilla.wikimedia.org/33766 +comment (10yvdbogert) [09:05:09] 03(mod) New jqplotchart formats do not load excanvas.js script - 10https://bugzilla.wikimedia.org/48445 +comment (10dave.brennan) [09:06:13] 03(mod) JS & Display Issues on IE 10 - 10https://bugzilla.wikimedia.org/48739 (10Steven Zhong) [09:13:32] 03(mod) VisualEditor: Toolbar should clear float to avoid misalignment by extra elements - 10https://bugzilla.wikimedia.org/48734 (10James Forrester) [09:25:11] 03(mod) Jenkins: Set up PHPUnit testing on MySQL backend - 10https://bugzilla.wikimedia.org/35912 +comment (10hashar) [09:29:08] 03(mod) Improve API documentation for Wikibase - 10https://bugzilla.wikimedia.org/48724 (10abraham.taherivand) [09:29:34] 03(mod) Improve API documentation for Wikibase - 10https://bugzilla.wikimedia.org/48724 (10abraham.taherivand) [09:36:28] 03(mod) Undo popup after changing language must position itself properly - 10https://bugzilla.wikimedia.org/39093 +comment (10Siebrand) [09:37:10] 03(mod) Avoid showing ellipsis for language names if there is enough space to display full name - 10https://bugzilla.wikimedia.org/43586 +comment (10Siebrand) [09:37:39] 03(mod) Keyboard Icon of Language selector for RTL languages should be at left - 10https://bugzilla.wikimedia.org/45585 +easy (10Siebrand) [09:42:21] 03(mod) ULS enables IPA by default for English - 10https://bugzilla.wikimedia.org/48642 +code-update-regression (10Siebrand) [09:44:34] 03(NEW) Confusing error message in error-tooltip when violating the label/description uniqueness constraint - 10https://bugzilla.wikimedia.org/48740 normal; MediaWiki extensions: WikidataRepo; () [09:44:35] 03(mod) ULS: Don't set inline "font-family: sans-serif" when no fonts are specified - 10https://bugzilla.wikimedia.org/39992 +design (10Siebrand) [09:47:50] 03(NEW) PHP fatal error at FlaggablePageView::dif() - 10https://bugzilla.wikimedia.org/48741 normal; MediaWiki extensions: FlaggedRevs; () [09:59:10] 03(mod) mediawiki RSS feeds not displayed - 10https://bugzilla.wikimedia.org/48710 +comment (10karlprinz) [10:04:57] 03(NEW) Need a way to turn wikidata item references into wiki links on the client. - 10https://bugzilla.wikimedia.org/48742 normal; MediaWiki extensions: WikidataRepo; () [10:05:18] 03(mod) allow linking when property parser function has multiple results - 10https://bugzilla.wikimedia.org/46788 (10Daniel Kinzler) [10:05:19] 03(mod) Need a way to turn wikidata item references into wiki links on the client. - 10https://bugzilla.wikimedia.org/48742 (10Daniel Kinzler) [10:11:13] 03(mod) Multiple continous API requests - 10https://bugzilla.wikimedia.org/48703 +comment (10gerritadmin) [10:13:25] 03(mod) MathJax makes links unclickable - 10https://bugzilla.wikimedia.org/48725 +comment (10Technical_13) [10:16:52] 03(mod) Suppress section edit links and table of contents when rendering interface text - 10https://bugzilla.wikimedia.org/6411 +comment (10nick.white) [10:19:47] 03(mod) missing language code uz-latn - 10https://bugzilla.wikimedia.org/42397 +comment (10gerritadmin) [10:29:24] 03(mod) missing language code uz-latn - 10https://bugzilla.wikimedia.org/42397 +comment (10Nischay Nahata) [10:32:03] 03(mod) Implement a way for admins to blacklist Flickr users - 10https://bugzilla.wikimedia.org/42307 +comment (10nischayn22) [10:35:55] 03(NEW) wikidata_singlenode puppet manifest is broken - 10https://bugzilla.wikimedia.org/48743 normal; Wikimedia Labs: wikidata; () [11:00:03] 03(NEW) Even if all the aliases for a specific language have been removed, the language code still exists - 10https://bugzilla.wikimedia.org/48744 normal; MediaWiki extensions: WikidataRepo; () [11:29:44] 03(mod) Random page in this category feature - 10https://bugzilla.wikimedia.org/2170 +comment (10ShoeMaker) [11:39:02] 03(mod) VisualEditor: Data model needs characters, not code points - 10https://bugzilla.wikimedia.org/48630 +comment (10david) [11:45:14] 03(mod) Implement a way for admins to blacklist Flickr users - 10https://bugzilla.wikimedia.org/42307 +comment (10gerritadmin) [11:52:06] 03(NEW) {{PAGESINCAT:Foo|subpages}} Magic Word - 10https://bugzilla.wikimedia.org/48745 enhancement; MediaWiki: General/Unknown; () [11:54:36] 03(NEW) {{REVISIONxxx:Foo}} - 10https://bugzilla.wikimedia.org/48746 enhancement; MediaWiki: General/Unknown; () [12:06:01] 03(mod) [TUX] Provide a link to open the message separately - 10https://bugzilla.wikimedia.org/46955 +comment (10federicoleva) [12:13:22] 03(mod) incorrect noun case for 'Month XX' in certain languages - 10https://bugzilla.wikimedia.org/47211 +comment (10mormegil) [12:13:53] 03(mod) Provide one each small multi-part "pages-articles" and "meta-history" dump for testing purposes. - 10https://bugzilla.wikimedia.org/46912 +comment (10ariel) [12:15:27] I'm trying to edit a page, and my server is returning 501 method not implemented [12:15:51] tried on another browser, still does it [12:17:51] the page is named User:Yoplitein/Python, removing &action=edit from the URL doesn't fix it, only navigating to it through my user page does [12:21:23] Yoplitein: which wiki is it? [12:21:38] http://beniki.beniesbuilds.com/ [12:24:05] and it seems to be limited to that page only [12:25:40] Yoplitein: I can read the page; the problem seems to be related to history & edit [12:25:50] yeah [12:25:58] sorry; but I have no idea [12:25:58] anything that doesn't access it via the URL rewrite [12:35:39] hello everyone, my domain provider decided to cancel my cz.cc domains it seems and now i really need to move my wiki. I have my databases and everything backed up, is there any simple guide on how to move it? [12:36:26] also, slightly related, does anyone know cheapish webhosting which bills on a monthly basis? [12:37:39] jvacek: just move your databases over, install mediawiki and set your database details appropriately, it should just work [12:37:41] 03(mod) [time.js] time value options element gets detached from input field in multiline-edit mode - 10https://bugzilla.wikimedia.org/48677 +comment (10gerritadmin) [12:38:42] 03(mod) [time.js] time value options element gets detached from input field in multiline-edit mode - 10https://bugzilla.wikimedia.org/48677 +comment (10gerritadmin) [12:44:49] 03(NEW) Entity-Selector input field has two lines - 10https://bugzilla.wikimedia.org/48747 normal; MediaWiki extensions: WikidataClient; () [12:44:54] 03(mod) Entity-Selector input field has two lines - 10https://bugzilla.wikimedia.org/48747 (10tobias.gritschacher) [12:45:32] Yoplitein: alright, thanks. any advice on the hosting maybe? OVH seems decent but it's still yearly [12:46:39] I've been with Arvixe for a short time and I've been very satisfied with their service [12:47:25] unlimited storage and bandwidth, shell access, all that good stuff [12:47:27] fairly cheap too [12:47:52] 03(NEW) Edit-mode is not closed when using the enter-key to save qualifiers - 10https://bugzilla.wikimedia.org/48748 normal; MediaWiki extensions: WikidataRepo; () [12:57:43] Yoplitein: alright, thanks for the tip! [13:03:05] 03(mod) Tab index sorting doesn't make sense - 10https://bugzilla.wikimedia.org/29199 +comment (10gerritadmin) [13:15:39] Cannot send to channel [13:16:18] What are you doing? [13:25:37] 03(mod) Duplicated properties - 10https://bugzilla.wikimedia.org/48706 +comment (10Alexander Mashin) [13:39:51] 03(mod) Automatic account creation on manual login not logged in newusers log - 10https://bugzilla.wikimedia.org/42434 +comment (10Chris Steipp) [13:46:49] 03(mod) Duplicated properties - 10https://bugzilla.wikimedia.org/48706 +comment (10vicente.aguilar) [14:04:54] HI, I have a doubt regarding Templates [14:04:55] 03(NEW) Accessing specific page via index.php results in HTTP 501 - 10https://bugzilla.wikimedia.org/48749 normal; MediaWiki: General/Unknown; () [14:06:04] Thehelpfulone, excuse me, can you help me on a doubt regarding templates? [14:07:04] what's your doubt? [14:07:26] 03(mod) Duplicated properties - 10https://bugzilla.wikimedia.org/48706 +comment (10alex.mashin) [14:07:39] Yoplitein, I want a Template to be automatically removed after 3 days from inserting.. how can i do that? [14:08:01] sounds like something you'd need an extension for [14:08:13] 03(mod) Accessing specific page via index.php results in HTTP 501 - 10https://bugzilla.wikimedia.org/48749 (10yoplitein) [14:08:47] 03(mod) Parsoid: DOM for template objects should expose template name - 10https://bugzilla.wikimedia.org/48663 +comment (10gerritadmin) [14:09:47] Yoplitein, addition of another template is done in commons (Template:OTRS Pending will add {{No permission since}} after 30 days of addition) [14:10:01] Yoplitein, it is done without any extension i believe... I need the reverse thing.. [14:11:25] 03(mod) list item must not wrap the text in - 10https://bugzilla.wikimedia.org/47544 +comment (10Rohan Verma) [14:11:31] 03(mod) Parsoid: DOM for template objects should expose template name - 10https://bugzilla.wikimedia.org/48663 +comment (10gwicke) [14:12:43] balasankarc, it might be possible with parser functions [14:13:17] Yoplitein, any documentation on them which I can refer? [14:13:18] you could hide the contents of the template, it wouldn't be removed from the page source but it would be hidden [14:13:46] https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions [14:14:04] 03(mod) Duplicated properties - 10https://bugzilla.wikimedia.org/48706 +comment (10jamesin.hongkong.1) [14:14:25] yea, otrs pending works by hiding different parts based on a timestamp comparison [14:14:54] that's what I guessed [14:22:14] 03(mod) Duplicated properties - 10https://bugzilla.wikimedia.org/48706 +comment (10vicente.aguilar) [14:23:06] hello. I'm trying to solve Bug 35485 - Warning on page deletion if page is linked to (Special:Whatlinkshere). I'm trying to call call api backlinks from PHP. how do I do it? [14:24:50] Yoplitein, thanks.. will try parser functions [14:27:24] 03(mod) Duplicated properties - 10https://bugzilla.wikimedia.org/48706 +comment (10vicente.aguilar) [14:33:25] 03(mod) Automatic account creation on manual login not logged in newusers log - 10https://bugzilla.wikimedia.org/42434 +comment (10gerritadmin) [14:34:57] 03(mod) Flood flag in es.wikipedia - 10https://bugzilla.wikimedia.org/48682 +comment (10invadinado) [14:35:41] 03(mod) Entity-Selector input field has two lines - 10https://bugzilla.wikimedia.org/48747 +comment (10gerritadmin) [14:38:41] 03(mod) [Regression] Error creating thumbnail: convert: Too many IDAT's found - 10https://bugzilla.wikimedia.org/41374 +comment (10Jamie Thingelstad) [14:41:51] 03(mod) Duplicated properties - 10https://bugzilla.wikimedia.org/48706 +comment (10jamesin.hongkong.1) [14:46:36] 03(mod) Creating new accounts causes uninformative "dberrortext" error on PostgreSQL 9.1 - 10https://bugzilla.wikimedia.org/38925 +comment (10Oren Held) [14:48:13] s [14:56:01] 03(mod) Duplicated properties - 10https://bugzilla.wikimedia.org/48706 +comment (10vicente.aguilar) [14:58:15] 03(mod) Duplicated properties - 10https://bugzilla.wikimedia.org/48706 +comment (10alex.mashin) [15:26:48] If I adopt an extensions that hosts itself in-wiki, will I need to use CC-BY-SA or nobody cares? :P [15:27:29] KillerWalrus: well... that's one of the reasons you shouldn't host extensions on the wiki itself :P [15:28:01] KillerWalrus: if you want to be in the clear, you should stick to cc-by-sa [15:28:18] or you could always just rewrite the functionality [15:28:34] if it's hosted on the wiki pages, it's probably pretty old and not exactly good coding [15:28:41] so that would be a goodthing anyway :) [15:28:42] not modified in 6 years [15:28:55] recently rewritten, rewritten stuff is on the wiki, sadly [15:29:50] you could contact the author and ask him to explictly relicense [15:30:21] An anon created it in 2007 :P [15:30:31] but meh anyways [15:38:57] 03(mod) Even if all the aliases for a specific language have been removed, the language code still exists - 10https://bugzilla.wikimedia.org/48744 +comment (10gerritadmin) [15:43:04] YuviPanda: Er, the pull req you merged wasn't up to date with what was on the server [15:43:14] oh? [15:44:00] yeah my fault sorry [15:44:12] YuviPanda: How many exams left ? [15:44:23] legoktm: that's okay, send another one :) [15:44:25] harshkothari_: three more [15:44:43] YuviPanda: :) For me BE over today :D [15:44:47] nice [15:44:49] congrats [15:45:08] YuviPanda: thanks :D [15:46:16] harshkothari: hi there,what meeting is there in gsoc tommorow ? [15:46:42] rihen_: where did you read ? [15:51:37] 03(mod) FlaggedRevs/Pending Changes 2011 UI pass (tracking) - 10https://bugzilla.wikimedia.org/26335 +comment (10Aaron Schulz) [15:51:52] 03(NEW) jsub doesn't work when called directly - 10https://bugzilla.wikimedia.org/48750 normal; Wikimedia Labs: bots; () [15:52:27] YuviPanda: https://github.com/yuvipanda/SuchABot/pull/4 [15:53:12] 03(NEW) jsub with -once doesn't work - 10https://bugzilla.wikimedia.org/48751 normal; Wikimedia Labs: bots; () [15:53:12] 03(mod) Firm up the list of minor UI improvements suggested during Pending Changes enwiki trial - 10https://bugzilla.wikimedia.org/25301 +comment (10Aaron Schulz) [15:53:17] mmm [15:53:18] done :) [15:54:13] :D [15:54:30] legoktm: i need to symlink the web scripts from ~/code into ~/public_html [15:54:42] er no [15:54:47] ~/cgi-bin [15:55:10] and the version on the server has some ad-hoc logging which i didnt include on the github one [15:55:40] ah yes [15:55:51] yeah, we need to include unified logging in both [15:56:02] and put that out on the public accessible part [15:56:03] mmm [15:56:09] i'll do that when i'm back [15:57:08] it would be best if each repo has its own log [15:58:49] legoktm: ? [15:58:53] legoktm: ah, yes. [15:58:56] good idea! [15:59:20] ok brb [16:00:38] legoktm: i also found a particular set of commits that'll break it [16:00:50] legoktm: that is, when a later commit in a pull request completely undos all the prior commit [16:01:05] need to first do a 'report error' thing where the bot comments on a pr saying it can' handle it [16:01:05] it doesnt squash properly? [16:01:06] brb [16:20:20] hi there [16:20:59] i'm having problems with $wgUseFileCache on my IIS installation [16:21:11] mediawiki is not writing any cache in the specified directory [16:26:00] no staff around? [16:26:27] Most are off to the hackathon [16:27:45] IIS isn't a commonly used configuration for mediawiki [16:31:11] so what's that supposed to mean? [16:31:18] doesn't work? [16:32:16] I didn't say that [16:32:48] everything works (sloooooow though) [16:32:49] More that there won't be many people familiar with using IIS for MediaWiki, and in a lot of cases using IIS at all [16:33:14] !performance [16:33:14] [16:33:47] Installing APC (or some other opcode cache) would probably make more difference [16:34:45] edsonmedina: Did you also set/create Manual:$wgFileCacheDirectory ? [16:35:41] yep [16:36:07] also $wgUseFileCache and $wgCachePages both are true [16:36:57] hello, its me again. so i think i moved everything to the new server, all the databases and images, but when i redo my localsettings.php and upload it, the site seems to completely ignore it. anyone had this happen before? [16:39:40] Who is willing to answer? [16:40:01] Can anyone tell me what is trunk version? [16:40:13] trunk version? [16:40:14] main, latest version, no? [16:40:22] Yes. [16:40:28] What is trunk version? [16:40:32] it has no version [16:40:34] it's trunk [16:40:36] So... [16:40:36] or rather, master [16:40:46] latest stable is 1.20 [16:40:53] there is 1.21 due to be release in a few days at most [16:40:53] I can put an extension of trunk version on 1.16 [16:41:01] So... I can put an extension of trunk version on 1.16? [16:41:11] On 1.17, 1.18? [16:41:13] depends. did it work? [16:41:17] ? [16:41:20] try it, duh [16:41:22] Trunk version is universal? [16:41:25] no [16:41:35] 'trunk' means 'latest' [16:41:35] pre-alpha [16:41:35] ¬¬ [16:41:39] but it might work [16:41:46] Aarrghh... [16:41:49] mediawiki releases are usually quite backwards-compatible [16:41:56] No. [16:42:08] unless it's documented at the help page of the particular extension, you won't know until you try [16:42:11] sorry :( [16:42:13] An extension of 1.16 can't work on 1.17. [16:42:22] that's a lie. it might. [16:42:28] it might not, too [16:42:33] I had tested. [16:42:49] well, then you just happened to come upon one of the cases where compatibility is broken [16:43:59] most extensions probably haven't been tested on the latest version but still work [16:45:21] ... [16:45:26] Ahhhhhh.... [16:45:27] Ok... [16:45:32] Thanks for the help. [16:46:33] Hey... Onde você mora? [16:46:38] Where do you live? [16:46:40] Ops. [16:46:45] =) [16:47:03] huh [16:50:01] ok, I'll just ask again. my media wiki treats my localsettings as if it was blank, anyone had this before? [16:50:40] you mean it uses default values, or throws some sort of error on reading it? [17:01:57] 03(mod) Version 1.8.0 already requires PHP 5.3+ - 10https://bugzilla.wikimedia.org/43924 major->normal; +comment (10[[kgh]]) [17:13:34] hi, sprcht jemand de? [17:18:00] 03(mod) PHP fatal error at FlaggablePageView::dif() - 10https://bugzilla.wikimedia.org/48741 +comment (10sam) [17:18:42] hi, is it possible to add a notice (editnotice) on a Special Page? [17:19:24] 03(mod) [Dynamic Section Loading] No fallback for dynamic sections - 10https://bugzilla.wikimedia.org/42746 (10Jon) [17:19:42] 03(mod) [Dynamic Section Loading] No fallback for dynamic sections - 10https://bugzilla.wikimedia.org/42746 (10Jon) [17:20:02] how would you edit a special page first, Steinsplitter? [17:20:11] odder: ?action=edit [17:20:12] Duh. [17:20:14] Steinsplitter: sort of [17:20:32] Steinsplitter: you can usually add some text in the "header" of main page [17:20:38] Steinsplitter: add ?uselang=qqx to the url [17:20:54] Reedy: https://commons.wikimedia.org/wiki/Special:SpecialPages?action=edit :-( [17:20:58] 03(mod) Improve API documentation for Wikibase - 10https://bugzilla.wikimedia.org/48724 normal->15enhancement (10Sam Reed (reedy)) [17:20:59] Steinsplitter: you'll get names of messagescontaining various pieces of text [17:21:01] 03(mod) Documentation is out of date, incomplete (tracking) - 10https://bugzilla.wikimedia.org/1 (10Sam Reed (reedy)) [17:21:02] http://commons.wikimedia.org/wiki/Special:PageTranslation i like to add ther a notice [17:21:14] Steinsplitter: choose one and go to mediawiki:nameofthemessage, and edit it [17:21:41] Steinsplitter: well, it looks like you're out of luck here :( [17:21:49] :( [17:21:53] https://commons.wikimedia.org/wiki/Special:PageTranslation?uselang=qqx [17:22:08] there doesn't seem to be anything you could non-disruptively edit to add a notice [17:22:13] file a bug [17:22:35] okay, thx :( [17:22:41] 03(mod) [Dynamic Section Loading] Stop parsing HTML twice - 10https://bugzilla.wikimedia.org/41569 +comment (10gerritadmin) [17:22:44] 03(mod) [Dynamic Section Loading] No fallback for dynamic sections - 10https://bugzilla.wikimedia.org/42746 +comment (10gerritadmin) [17:27:55] 03(mod) Allow mobile users to be "remembered" on login. - 10https://bugzilla.wikimedia.org/46241 major->normal; +comment (10Jon) [17:28:06] 03(mod) incorrect noun case for 'Month XX' in certain languages - 10https://bugzilla.wikimedia.org/47211 +comment (10rkaldari) [17:28:13] 03(mod) The "...further results" link causes the duplication of the first column on Special:Ask (1.9 alpha) - 10https://bugzilla.wikimedia.org/37214 summary; +comment (10[[kgh]]) [17:33:44] thx [17:41:43] 03(mod) Special:ActiveUsers query is very slow - 10https://bugzilla.wikimedia.org/41078 +comment (10Umherirrender) [17:47:20] 03(NEW) Special:ZeroRatedMobileAccess doesn't work without javascript - 10https://bugzilla.wikimedia.org/48752 normal; MediaWiki extensions: ZeroRatedMobileAccess; () [17:49:51] how do I add a template to the top of every article in a category? [17:50:18] 03(mod) Tool tip / mouse over on changed number of bytes in watchlist (saying e.g. "144 characters less") - 10https://bugzilla.wikimedia.org/34496 +comment (10gerritadmin) [17:51:40] Using a bot usually [17:52:30] 03(mod) Special:ActiveUsers query is very slow - 10https://bugzilla.wikimedia.org/41078 +comment (10aschulz4587) [17:57:36] you could use a hook to add the template when the page is saved with the category added, but would still need to go back and add to existing pages [18:00:06] 03(mod) Special:ActiveUsers query is very slow - 10https://bugzilla.wikimedia.org/41078 +comment (10federicoleva) [18:03:06] 03(mod) Tool tip / mouse over on changed number of bytes in watchlist (saying e.g. "144 characters less") - 10https://bugzilla.wikimedia.org/34496 +comment (10Rohan Verma) [18:04:56] 03(NEW) Remove text-transform on personal toolbar links in monobook - 10https://bugzilla.wikimedia.org/48753 normal; MediaWiki: Skin and page rendering; () [18:05:11] 03(mod) Implement a way to bring GitHub pull requests into Gerrit - 10https://bugzilla.wikimedia.org/35497 +comment (10qgil) [18:10:30] hey everybody! how to configure m. sub-domains for mobile frontenend on apache. [18:12:40] 03(mod) Add tooltips to Echo notification preferences - 10https://bugzilla.wikimedia.org/48733 +comment (10Dario Taraborelli) [18:12:49] matmarex, how to configure m. subdomains on apache for mobile version [18:23:52] Hiya, I'm trying to get MobileFrontend working but SemanticWiki's slideshow stuff isn't playing nicely with it; http://wiki.ultimacodex.com/forever/Main_Page?useformat=mobile [18:24:13] Anyone know what I need to do to fix it? [18:28:47] developers help me. how to configure m. subdomain with mobile frontend on apache. i am having an error. [18:31:25] developers help me. how to configure m. subdomain with mobile frontend on apache. i am having an error [18:31:28] developers help me. how to configure m. subdomain with mobile frontend on apache. i am having an error [18:31:32] developers help me. how to configure m. subdomain with mobile frontend on apache. i am having an error [18:32:09] developers help me. how to configure m. subdomain with mobile frontend on apache. i am having an error [18:32:11] developers help me. how to configure m. subdomain with mobile frontend on apache. i am having an error [18:32:14] developers help me. how to configure m. subdomain with mobile frontend on apache. i am having an error [18:33:04] Hrm, I wonder if there is a way to make it , say, if MobileFrontend then single image else slideshow... [18:35:03] what [18:35:06] freddy__, shhhh [18:35:44] yeah freddy [18:35:47] be quiet [18:42:21] 03(mod) Add Portal and Project namespaces to cr.wp - 10https://bugzilla.wikimedia.org/48116 +comment (10tomasz) [18:55:03] 03(mod) Add Portal and Project namespaces to cr.wp - 10https://bugzilla.wikimedia.org/48116 +comment (10lebo.beland) [18:55:34] 03(NEW) new wiki for Wikimedia pakistan chapter - 10https://bugzilla.wikimedia.org/48754 normal; Wikimedia: General/Unknown; () [18:57:31] 03(NEW) PC2 Removal not taking effect - 10https://bugzilla.wikimedia.org/48755 normal; Wikimedia: General/Unknown; () [19:02:05] 03(mod) PC2 Removal not taking effect - 10https://bugzilla.wikimedia.org/48755 (10ramwikimedia) [19:05:12] 03(mod) PC2 Removal not taking effect - 10https://bugzilla.wikimedia.org/48755 (10ramwikimedia) [19:44:25] Hi there :) [19:44:40] hi [19:45:59] I have a problem with my GMAIL SMTP configuration: When I'm going to confirm my e-mail account I get this message: "Mailer returned: Failed to connect to ssl://smtp.gmail.com:465 [SMTP: Failed to connect socket: php_network_getaddresses: getaddrinfo failed: Name or service not known (code: -1, response: )] " [19:46:25] Do you know what problem could be? [19:47:19] 03(NEW) $smwgQMaxInlineLimit $smwgQMaxLimit have no effect on CSV export - 10https://bugzilla.wikimedia.org/48756 trivial; MediaWiki extensions: Semantic MediaWiki; () [19:50:41] I have this configuration in the Localsettings: [19:50:41] $wgSMTP = array( [19:50:41] 'host' => "ssl://smtp.gmail.com", [19:50:41] 'IDhost' => "gmail.com", [19:50:41] 'port' => 465, [19:50:41] 'auth' => true, [19:50:42] 'username' => "myuser@gmail.com", [19:50:42] 'password' => "mypass" [19:50:43] ); [19:50:43] I have this pear packets installed: [19:50:44] Archive_Tar 1.3.7 stable [19:50:44] Auth_SASL 1.0.6 stable [19:50:45] Console_Getopt 1.3.0 stable [19:50:45] Mail 1.2.0 stable [19:50:46] Mail_Mime 1.8.7 stable [19:50:46] Net_SMTP 1.6.1 stable [19:50:59] I don't what I'm doing bad [19:51:19] use dpaste, please [19:51:39] ok sorry [19:57:10] exxteban: have you tried using your domain name in IDhost? [19:58:38] I want it synchronize against gmail [19:58:59] Synchronise? [19:59:18] hexmode: 1.21 ready? [19:59:23] Also, ssl:// looks wrong [19:59:48] Reedy: https://www.mediawiki.org/wiki/Manual_talk:$wgSMTP#Example_using_Google_Mail [19:59:56] I mean ---> I have an account in gmail [20:00:36] I'm wondering why that example is placed on the talk page instead of the Manual: page [20:01:26] he he he ... same here [20:01:31] exxteban: IDHost should match your domain. see https://support.google.com/mail/answer/10336 [20:02:22] Vulpix: Doesn't mean it's right ;) [20:03:24] 03(mod) Change printable link to javascript print() - 10https://bugzilla.wikimedia.org/22256 +comment (10hartman.wiki) [20:04:02] yeah but I'm going to tell you the complete story ----> I have at this moment a machine with the same configuration and it works ... I've couldn't know what is the difference [20:04:32] I haven't could + [20:06:40] I could use my enterprise e-mail but I don't know how I should handle, because it uses HTTPS. [20:07:20] that's wrong. It's SMTP. It can't use HTTPS [20:07:42] they're different protocols [20:08:28] I am a little stuck because I don't know what else I did before with the machine that works like a charm in that sense. [20:08:39] did something recently change with gerrit URLs? When you click on the git hash next to the MediaWiki version number on Special:Version it doesn't like to a valid commit. Example: http://en.wikipedia.org/wiki/Special:Version [20:10:00] s/like/link/ [20:10:40] exxteban: the "Name or service not known" error seems to be a problem trying to resolve the dns name of smtp.gmail.com. Check if that server can resolve host names to addresses [20:10:59] ok [20:11:19] MediaWiki 1.20.4 [20:11:21] !core [20:11:21] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=tree [20:11:30] PHP 5.4.6-1ubuntu1.2 (apache2handler [20:12:04] 03(mod) Use CORS for cross domain login - 10https://bugzilla.wikimedia.org/20298 +comment (10Derk-Jan Hartman) [20:12:32] Vulpix: It resolves smtp.gmail.com [20:18:03] ahh.. found an existing bug on the gerrit URL not working: https://bugzilla.wikimedia.org/show_bug.cgi?id=42048 [20:19:59] 03(mod) [[Special:Version]] does not have patch-deployment information; gerrit link is broken. - 10https://bugzilla.wikimedia.org/42048 +comment (10jamie) [20:20:00] humm [20:20:56] I don't understand how it relates with my problem :( [20:21:48] exxteban: it's not related :) [20:22:16] Ups ... ha haa [20:24:10] I followed this guide for the configuration: http://snowulf.com/2011/08/30/configuring-mediawiki-to-use-external-smtp/ ---> Is something wrong there? [20:25:35] how do i query api.php, for a certain section X, given the page title? [20:26:06] this is my query string, but it seems to return "rvnosuchsection": [20:26:06] api.php?action=query&prop=revisions&rvprop=content&rvsection=1.1&format=json&titles=page_title [20:26:25] sections are single numbers IIRC [20:26:33] 1, 2, 3, 4.. [20:26:39] Yeah, nested sections get flattened [20:26:51] So 1.1 would be 2, 1.2 would be 3, 2 would be 4 [20:27:09] ohhhh [20:27:37] so in api.php?format=json&action=parse&page=page_title&prop=sections, it would be "index" [20:27:47] that would map to "rvsection" [20:29:08] api.php calls rvsection the "section number", which i assume was the "number" property in the sections array of the latter query [20:35:06] :/ [20:38:11] is it not possible to query for nested sections specifically, by their 'section number' ? eg 1.1.1 [21:03:16] 03(mod) $smwgQMaxInlineLimit $smwgQMaxLimit have no effect on CSV export - 10https://bugzilla.wikimedia.org/48756 (10patelmm79) [21:05:57] 03(mod) Call to a member function matchStartAndRemove() on a non-object - 10https://bugzilla.wikimedia.org/46304 +comment (10Nemo) [21:05:57] 03(mod) Bugs affecting translatewiki.net (errors from MediaWiki master) (tracking) - 10https://bugzilla.wikimedia.org/39480 (10Nemo) [21:09:55] 03(mod) Call to a member function matchStartAndRemove() on a non-object - 10https://bugzilla.wikimedia.org/46304 +comment (10sam) [21:14:06] 03(NEW) Upgrade CSV query printer to allow for specification of output filename - 10https://bugzilla.wikimedia.org/48757 enhancement; MediaWiki extensions: Semantic MediaWiki; () [21:15:10] 03(mod) list item must not wrap the text in - 10https://bugzilla.wikimedia.org/47544 +comment (10mr.heat) [21:39:52] 03(mod) incorrect noun case for 'Month XX' in certain languages - 10https://bugzilla.wikimedia.org/47211 +comment (10niklas.laxstrom) [21:42:59] 03(mod) Upgrade CSV query printer to allow for specification of output filename - 10https://bugzilla.wikimedia.org/48757 +comment (10jamesin.hongkong.1) [21:49:31] hi all, is there a way to find out what theme a public mediawiki instance is running? [21:50:47] Hydrant: yes, it should be somewhere in the code [21:50:49] Hydrant: URL? [21:51:06] 03(mod) There are module revisions awaiting review, even if dependent templates were patroled - 10https://bugzilla.wikimedia.org/47354 (10Aaron Schulz) [21:51:33] 03(mod) There are module revisions awaiting review, even if dependent templates were patroled - 10https://bugzilla.wikimedia.org/47354 +comment (10Aaron Schulz) [21:51:33] odder: http://en.cppreference.com/w/ [21:52:07] odder: I have permission from this wiki to copy their look & feel for my own C++ documentation project, I have copied the templates, Common.css and Common.js, but it doesn't look quite right yet [21:56:24] Hey. [21:56:35] MediaWiki don't count small articles...Why? [21:57:04] Whuspedian: [[mw:Manual:$wgArticleCountMethod]] [21:57:32] Yes. [21:57:37] How do I use this? [22:03:40] Thanks. [22:05:17] I was very angry with the MediaWiki, and so, I was going to break the computer. [22:05:26] heauhea [22:05:31] Hydrant: there's also http://en.cppreference.com/w/MediaWiki:Common.css ? [22:05:43] Hey, odder. [22:06:39] odder: Can you help me to create templates on my wiki? [22:07:20] In what sense, help? [22:07:26] Yes. [22:07:35] To create templates. [22:07:39] Any templates. [22:08:01] You mean you cannot create pages in the Template: namespace? [22:08:17] odder: I got that one [22:08:22] =) [22:08:40] No. [22:08:44] I want a help. [22:08:52] Just it. [22:09:06] odder: am I best to ask for the skin on the site? [22:09:25] Hydrant: What is site? [22:09:49] http://en.cppreference.com/w/ [22:10:12] It's yours? [22:10:42] =) [22:13:34] In a template I'd need to refer to the page name of the target page where it is to be included. [22:14:09] it's said to have been done somewhere - can somebody point me there? [22:14:11] Whuspedian: no, but before you entered I posted I have permission to copy the look & feel [22:14:49] yes. [22:19:57] bando de cuzao [22:19:59] --' [22:21:08] madel, use {{PAGENAME}} [22:21:53] that's exactly what doesn't work. (was my original problem description correct..? :-/ ) [22:22:22] madel, what happens if you put {{PAGENAME}} ? [22:22:31] appears the page name [22:22:33] duuuh [22:22:36] Susan: Regarding the link (https://github.com/mathiasbynens/dotfiles/blob/master/.osx) interesting how? [22:23:04] Susan: I have something somewhat related/similar in my dotfiles repo (bin/init and hosts/**/init) [22:23:11] I need to transclude somthing into something that is being transcluded [22:24:03] Susan: Actually I've seen that one before, I stole a few pieces from it [22:24:27] https://github.com/Krinkle/dotfiles/blob/master/init.bash [22:24:30] https://github.com/Krinkle/dotfiles/blob/master/hosts/KrinkleMac/init.bash [22:24:40] In the final target I need to refer to the page name of the intermediate inclusion [22:25:38] hi? [22:26:28] aaA? [22:26:32] lol [22:33:21] Pft... When gzip was created they should have registered a real mimetype and standardized a param for the nested mimetype. [22:34:11] .tar too [22:34:33] Then instead of application/x-gzip or application/x-tar [22:37:25] we could have something like the MIME type `application/gzip; type=application/tar` [22:37:30] we could have something like the MIME type `application/gzip; type=application/tar` [22:43:05] *facepalm* IETF defined an application/gzip but never defined a param for the mime type of the contents. [22:50:43] i was testing a rc feed bot, and i noticed that the language used in the message is whatever language interface the user is using, not the wiki's language. has that been reported somewhere? [22:53:17] what message was it? [22:53:34] something from an extension? [22:53:42] [[Special:Log/block]] block * Kww * blocked User:99.248.65.60 (registreren gebruikers geblokkeerd) with an expiry time of 1 week: [[WP:Vandalism|Vandalism]] [22:53:43] kinda difficult to tell without knowing what you're talking about legoktm [22:53:48] i thought TimStarling fixed that ages ago... [22:53:52] when it first started [22:54:02] Krenair: not an extension, no. [22:54:22] (and i know for a fact that Kww uses dutch as his interface) [22:54:43] maybe we only forced the fix on the irc system [22:59:19] so im guessing i should file a bug? [22:59:41] 03(NEW) Remove left blue bar on hover in watchlist and nearby view - 10https://bugzilla.wikimedia.org/48758 normal; MediaWiki extensions: MobileFrontend; () [23:02:10] 03(mod) ProofreadPage namespaces for Finnish Wikisource - 10https://bugzilla.wikimedia.org/40759 (10timothyausten) [23:04:20] * legoktm pokes Krenair and p858snake|l  [23:04:38] what's the flag that causes activation of magic links? http://www.mediawiki.org/wiki/Markup_spec/BNF/Magic_links [23:05:24] unfortunately, it doesn't seem to be documented on that particular page [23:05:39] and I can't think of where to look to find the variable name [23:06:18] Hello, does anyone here use Media wiki? [23:06:32] Mattynet -- I think everyone does [23:07:20] Good, I want to install it on a home server, is it hard to install and use it like a wikipedia [23:08:11] Mattynet -- "hard" depends on how much you know [23:08:34] Thats true, when you are learning it can mean hard [23:09:27] when I didn't know what I was doing at all (10 years ago) it was pretty easy to set up. I imagine it's even easier, now [23:10:00] Mattynet: I suggest you be patient and follow a good guide [23:10:18] I was hoping they have some type of wikipeda plain template to install, that wouldmake it a lot easier [23:11:34] When i look to do things that i find i nedd and are important, I like doing things the simplest easy way [23:12:07] It save me a lot of pain [23:12:16] And time [23:12:23] Mattynet: I don't really understand what you're saying. Just follow the installation instructions [23:12:32] Ok [23:29:57] 03(mod) Warning on page deletion if page is linked to (Special:Whatlinkshere) - 10https://bugzilla.wikimedia.org/35485 +comment (10gerritadmin) [23:48:49] 03(mod) PC2 Removal not taking effect - 10https://bugzilla.wikimedia.org/48755 (10Alex Monk (Krenair))