[01:07:54] is there any special process to install a wiki instance in a tool public_html, or do i just download manually from mediawiki.org and follow the normal instructions? [01:28:34] Svetlana, why are you installing a wiki in a tool? [01:28:53] i would like to integrate the tool into a wiki (as an extension) [02:08:50] Krenair, ^ [07:56:59] How do I write a gadget for mediawiki? I'm using web search, but apparently wrong keywords, and it didn't help. [08:15:14] I see this channel is logged. For what purpose is this? [08:23:09] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by DrTrigon link https://www.mediawiki.org/w/index.php?diff=807901 edit summary: /* Mail: to do */ status? progress? [10:02:21] ? [10:20:53] is it possible to access the database replicas from a project outside tools? [10:31:45] giftpflanze: it should be available from all labs instances, I think [10:32:25] great, i just don't know how to do it [10:36:49] Ryan_Lane and Coren probably know best [10:37:05] as a simple attempt, you could try copying your tool labs' replica.cnf [10:37:21] i did [10:37:28] valhallasw, hi. [10:37:35] i also copied the needed lines from /etc/hosts [10:37:59] valhallasw, could you please find me a guide on writing gadgets for mediawiki as a web search is fruitless for me. [10:38:16] Svetlana: I know very little on mediawiki development... [10:38:27] ok, I will ask #mediawiki then. [10:39:18] giftpflanze: not sure what else to try... sorry :( [10:39:37] gave me mysqlconnect/db server: Can't connect to MySQL server on 'dewiki.labsdb' (110) [10:39:54] maybe something needs to be configured differently … [10:40:32] could be a firewalling issue, I guess [10:42:15] I can't directly find anything on this on the mailing list either [11:45:29] http://dumps.wikimedia.org/wikidatawiki/20131021/ is missing on labs? [14:07:14] giftpflanze: It's tricky because we had to cheat a bit to simplify things for tool writers. The hosts file is 50% of it, you already did that. You also need the /etc/iptables.conf (and to iptables-restore its contents) to get the IP mappings. [14:08:07] After that, you should be all set. [15:35:23] Coren: thank you for the hint, works now :) [15:36:18] np. [19:29:46] there is something like the "toolserver lang db" in labs? [19:44:10] another question.. [19:44:27] there is a list of all the wiki databases? [19:46:02] There is a database like that, but I don't know the name, and I cannot find it at the moment. [19:46:08] Coren or petan might be able to help you. [19:46:21] hi [19:46:31] MRX: let me check [19:46:36] MRX: https://noc.wikimedia.org/conf/all.dblist [19:46:40] well, there is a list [19:46:47] I just wanted to point to that what Krenair posted :P [19:46:53] :P [19:46:54] but that doesn't really mean they are all on labs [19:47:03] I suppose you want replica list [19:47:09] yeah that has some private ones in as well I think [19:47:19] petan, yes [19:47:58] best resource is /etc/hosts [19:48:10] it contains a list of all existing replicas and their aliases [19:48:25] it's a shitty resource, but I don't know better [19:48:31] i'm trying to make a tool to see the contributions of a user on all the wikis... i think that i just have to check on every database and see if the user exists and then check the edit count of each one, no? [19:48:49] yes [19:49:07] on toolserver was a database with information on other databases [19:49:14] but I think on labs we don't have that yet [19:49:19] but there was a bug regarding that [19:49:22] lemme check [19:49:23] ok, thanks [19:51:11] can't find it :/ [19:51:22] mhm Coren should know more [19:51:26] !toolsdocs [19:51:26] https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help [19:51:50] I know all! [19:52:02] meta_p.wiki [19:52:06] "for a complete list, look at the /etc/hosts file on tools-login" [19:52:11] There's a copy in every shard. [19:52:15] that's from docs [19:52:25] so docs say /etc/hosts is what you want :o [19:52:41] Yeah, I announced the DB on labs-l, but I don't think it ended up in the docs. [19:52:41] I hope it wasn't me who inserted that to docs :D [19:52:50] okey [19:58:13] last question: there is a way to externally have access to the replica databases? (i dont think there is any way...) [20:09:51] You mean from outside labs itself? No. [20:24:19] Coren, non-tools projects can access them now? [20:24:50] They always could, it's just a little tricky until we finish with the migration and everything is in DNS properly. [20:27:33] (Needs a hand-made hosts file and iptables for natting) [22:40:11] is tools-db accessible from other labs projects? [22:45:27] seems to, without tricks [23:00:07] giftpflanze: The nat and hosts file is definitely trickery. :-) [23:00:21] Oh, tools-db. Yes -- that remains open without dark arts. [23:07:57] with that settled the next step is re-planning the bot--with 1000 requirements added :( [23:11:57] A replacement for luxo editcounter: http://tools.wmflabs.org/wmk-dev/editcounter.php?user=Savh [23:12:03] \o/ [23:12:11] s/luxo/luxo's [23:33:40] Coren: Speaking of accessing the labs replicas externally, I found that Perl's DBI can handle it with a dsn along the lines of "dbi:Gofer:transport=stream;url=ssh:tools-login.wmflabs.org;dsn=DBI:mysql:mysql_read_default_file=~/replica.my.cnf;host=$WIKI.labsdb;database=$WIKI_p". Heh. [23:34:12] Oh, eeew. That'll be *slow* [23:36:50] It works well enough for testing my bot locally. [23:38:01] * anomie didn't actually notice much slowness [23:42:27] is the betawiki database replicated anywhere? [23:43:53] or can it be accessed read-only?