[01:24:03] hi! when writing a mobile app that involves logging in to wikimedia websites, uploading content, what are the building blocks? what framework can I use? [01:31:14] gry: maybe you want to ask in #wikimedia-mobile? [01:31:24] lovely, thank you [01:31:52] I did expect that channel to be logged and it is. what, did we all forget how to use notes bot? [01:32:01] note-taking? [01:32:15] I'm not even sure where to ask. [01:33:09] gry: you know https://www.mediawiki.org/wiki/API:Main_page ? [01:33:39] I know the mediawiki API a little bit. [01:34:06] Doing it manually via AJAX requests is a royal pain AFAIK. [03:45:24] Is something wrong with tools-db? I have queries that seem to be stuck in the "query end" state. [03:50:22] I'm getting that too, I can't kill some of them either [03:59:25] " This state occurs after processing a query but before the freeing items state. " Thanks MySQL, real useful [04:05:45] * anomie wonders if Coren, petan, YuviPanda_zzz, or anyone else will be around to fix it any time soon. [04:06:00] Fix what? [04:06:10] Coren: tools-db seems to be having issues [04:06:24] Queries hung in the "query end" state [04:07:31] * Coren checks its status. [04:08:04] Ah, something is keeping a lock. [04:09:34] Oh, bleh. Looks like a circular lock problem. [04:11:57] Aha! [04:17:03] Running out of binlog space. Someone's been working that poor DB hard in the past couple of days. [04:20:30] anomie|away: Things should be unwedging. [04:20:45] Coren: Looks like it from here. Thanks! [04:21:08] equiad labs will have a bigger tools-db on actual hardware. :-) [04:21:46] eqiad* [04:24:18] Coren: virtual hardware is hardware too!! [04:24:20] bigot! [04:24:41] :-) [04:24:52] Heh. VMs suck at databases. [04:25:43] Coren: so if I'm doing something that does lots of inserts/deletes, should I do it on one of the replicas? [04:26:21] or will this be an uncommon problem? [04:26:51] MrZ-man: You shouldn't have to; and since we don't do replication I've just tweaked the number of binlogs we keep down. [04:27:38] MrZ-man: There's not that much space on tools-db atm, so I'll need to keep an eye on it, but we'll get a couple extra orders of magnitude of storage in a couple months. To be fair, this is the first time this happens since tools-db exists. [04:28:26] okay, thanks [07:46:56] Is someone working on X!'s edit counter? error just appeared while I was running reports: https://dpaste.de/QzTF [09:33:44] can someone kill wm-bot in #wikimedia-wikidata? [11:08:49] hi [11:09:16] Coren: can you please create a new repo for me? Is there a procedure or I just ping you and ask? Thanks :) [11:14:17] I have the process 25157 that seems that is not doing anything but should do something... [11:20:42] it seems it does not like my query :( https://git.wikimedia.org/raw/labs%2Ftools%2Flists.git/9f6f4e7080ff2264262bc5581e4bf2d0fe677b16/query%2Fitwiki%2FEGO%2FConvenzioni%2FFalse_sottopagine.sql [13:22:35] hello I now got a web version of my mediawiki2latex programm. So just a server running on port 8000 can I just host that on toolserver? [13:31:42] Dhun: you may wish to ask that in #wikimedia-toolserver [14:17:15] fale: Open a bugzilla for it please, I'll be able to do this Monday morning. [15:04:20] Coren: oki, thanks :) [15:22:35] hm.... how to get all active database connections listed? [15:37:13] petan^^ [15:37:30] Steinsplitter what u mean? [15:37:35] which database [15:37:41] show processlist? [15:38:06] yes. liek ps ux but for a database server (connections, not processes). [15:39:09] that's it [15:39:21] process = connection [15:41:34] good, so i have no database connection. only to be sure :) thx [15:42:07] ? [15:42:16] show processlist works only for root [15:42:23] otherwise it display just your own session [15:42:39] ok, thx [16:27:23] on the wiki is said that mysql replication is exactly the same as production mysql but for some user (confidential) data. So... why the text table is not present? :( [16:28:23] it's not used anymore [16:29:23] giftpflanze: what's the new table? [16:29:53] there's none [16:30:11] there's a compressed storage now [16:32:58] giftpflanze: I see... so is not possible to get it using sql? is possible to retrive it somehow? Is there any doc about this new thing? [16:34:10] you can use api or dumps [16:42:27] giftpflanze: I see. I hoped it would have been possible in the old way... thanks :) [16:42:51] yw [17:07:22] giftpflanze: why here noone talks about it? https://www.mediawiki.org/wiki/Manual:Text_table [17:42:02] coren: are you here? [17:42:15] Semi. What's up? [17:42:36] it's about https://bugzilla.wikimedia.org/show_bug.cgi?id=56995 [17:42:57] Yes? [17:43:03] there's Fcgi (a tcl package) requested, i don't see it in the patch [17:45:09] That's because I missed it when writing the patch. :-) [17:47:39] Coren: shall i update the bug, or do you update the patch? [17:47:54] I've put a note on the bug now. [17:48:17] ah ok thx [18:04:03] Hello. I am trying to move my scripts from toolserver to Tools, but I'm not quite sure how I can scp scripts from my computer to the tool project folder [18:04:41] I can scp to my home folder on Tools (alkamid), but I created a tool "alkamidbot" and I would like to store my scripts in there [18:05:02] so the scripts should be in /data/project/alkamidbot and not in /home/alkamid [18:07:17] Coren: are you involved in all the puppet stuff? [18:07:46] matanya: What you need? [18:08:08] Coren: to understand some design needs [18:08:22] alkamid: you can specify a folder like so tools-login.pmtpa.wmflabs:~alkamidbot [18:08:25] alkamid: "cp my_stuff you@tools-login.wmflabs.org:/data/project/alkamidbot [18:09:01] matanya: Needz moar contekst. [18:10:11] giftpflanze, Coren: scp script.py alkamid@tools-login.wmflabs.org:/data/project/alkamidbot [18:10:26] gives scp: /data/project/alkamidbot/script.py: Permission denied [18:10:50] o_O That should work. [18:14:14] Coren, well... I've just created that project (alkamidbot) so I must be its "maintainer" [18:14:27] and I should have rights to copy into it.. I guess [18:20:46] You are, and you should. [18:20:52] Are you using openssh? [18:21:44] Coren, yes [18:21:55] I'm on Ubuntu 13.10 [18:22:52] And you've just tried? (There is up to 2 min delay after creating a tool account before everything is set up) [18:23:15] (And yes, I see you in the tool's group so that's fine) [18:23:59] Coren, yup, I've just tried [18:24:10] * Coren boggles. [18:24:33] If you log in, can you write to that directory normally? [18:26:27] Coren, alkamid@tools-login:~$ mkdir /data/project/alkamidbot/test [18:26:28] mkdir: cannot create directory `/data/project/alkamidbot/test': Permission denied [18:37:16] fale: I guess text maybe is still used for most instances? WMF wikis use external storage [18:37:33] https://www.mediawiki.org/wiki/Manual:External_Storage [18:38:01] labs only replicates the primary DBs, not external store [18:51:33] jeremyb: I see :) thanks :) [18:57:01] fale: i guess maybe labs could get elasticsearch replicas eventually?? (the search system we're in the middle of migrating to) [18:57:26] fale: so you can then do searches. just use the API to fetch the actual content if you need to [18:57:37] fale: (and maybe supplement with dumps) [18:57:50] fale: what's your use case though? [18:58:03] Coren: that's weird. the guy with the to be published database cannot create or rename a database or changes priviledges on them, i tried too, and i can't either, tool is templatetiger [18:59:35] giftpflanze: how did he try? [18:59:45] mysql doesn't support renaming DBs... [18:59:52] you have to create the new DB and rename the tables [19:00:09] you *can* rename tables from one DB to another DB [19:00:31] ah, great [19:00:56] well i tried 'create database p50380g50436__test;' [19:01:25] you should just run `show grants;` to see what you have to start with [19:02:14] mh, only grants/priviledges for templatetiger db [19:02:24] $ getent group 50436 [19:02:24] local-templatetiger:*:50436:sk,tmg,gifti,kolossos [19:02:58] also user is templatetiger, seems odd [19:03:15] erm? [19:04:20] in my tool it is the char/number combination [19:04:28] here it isn't [19:04:35] well you should look harder [19:04:55] or else another tool member deleted the creds for you :-] [19:05:07] ? [19:05:22] i just successfully created a DB for my tool [19:10:31] using the data from replica.my.cnf works [19:11:28] which is what you should have been using :-] [19:12:04] YuviPanda_zzz: let me know when you want to talk varnish. what's your TZ now anyway? [19:12:33] jeremyb: :p [19:13:56] why is .my.cnf then even there? [19:14:22] giftpflanze: Hysterical raisins. [19:14:43] lol@pun [19:14:51] Coren: really? [19:15:05] Coren: you don't think it was just made by a member of that tool? [19:15:26] how would you get the actual credentials? [19:15:30] It used to work that way, like during the first couple month of Tool Labs or so. I didn't remove them to avoid breaking working tools. [19:16:21] he also complains that creating the database takes a long time (10 hours) [19:16:32] uhhhhh [19:16:34] wtf? [19:16:39] i just made one [19:16:47] maybe he was caught by the binlog issue [19:16:50] inserting stuff i mean [19:16:56] that's not creating [19:17:03] no, that was before that [19:17:11] sorry for wording [19:17:21] is pflanze related to pfand? [19:17:27] no ^^ [19:18:04] it means plant [19:18:32] i just figured that out [19:18:41] which is also ethymologically close [19:18:48] ethymologically? [19:19:13] etymologic actually [19:21:30] whoa. whoa! we now have an "In other projects" sidebar section??! [19:21:31] woot [19:21:43] e.g. on https://en.wiktionary.org/wiki/Pfand?rdfrom=pfand [21:15:13] * anomie replaces "job that polls git repo to signal other jobs when to restart, hoping NFS syncs up all nodes at about the same time" with "git post-receive hook that launches per node jobs to verify NFS synced and then signal other jobs on that node to restart" \o/ [22:34:59] Hello i've just found a funny element which is meant to be used in an html tag like
or ... contenteditable="true" is it supported? [22:38:22] http://caniuse.com/#feat=contenteditable Looks like the current version of most browsers support it [22:44:40] Or did you, perhaps, mean to ask if mediawiki supports contentditable? [22:47:30] Yes mediawiki, in particular for wikipedia [22:48:55] That's what I thought. But I'm sorry to say I haven't the slightest clue to the answer. [22:49:26] [22:53:06] ytrezq: Amgine: you'd check the massive list in includes/Sanitizer.php [22:53:06] !master includes/Sanitizer.php [22:53:07] https://git.wikimedia.org/blob/mediawiki%2Fcore.git/master/includes%2fSanitizer.php [22:55:18] It doesn't look like it. [22:59:19] and for the css equivalent? I've seen the style element have near no restriction.... [23:02:15] you're correct. [23:11:16] Well, If that element which affect styling is refused in one case but allowed in another one, it is likely a logic problem. It need to be either banned completly or detemined that it don't do any harm since pages can't be recorded and allow users use the element on their web-pages. [23:11:43] Amgine: (I don't have a gerrit account...) [23:12:07] isn't it? [23:12:46] That page is a gitweb page: it shows the file source code. [23:14:56] I don't understand [18/11/2013 02:18:04] That page is a gitweb page: it shows the file source code. [23:15:46] I thought you were saying you did not have a gerrit account, therefore would not be able to see https://git.wikimedia.org/blob/mediawiki%2Fcore.git/master/includes%2fSanitizer.php [23:16:51] Sorry the question tag was about the support/ban of the contenteditable element [23:19:22] By saying I don't have a gerrit account, I was meaning open a ticket. I was just asking if it worth to do it. [23:21:38] Open a ticket on bugzilla? [23:22:58] I don't think it is a real bug... [23:23:22] Bugzilla is also used for enhancement requests. [23:23:28] Ok [23:23:59] Same case no account. I won't need to post again... [23:24:49] [23:25:02] Off to sleep now, gnite [23:26:22] later?