[02:44:06] there was a report that {{SERVERNAME}} became //(lang).wikipedia.org [02:44:17] but I cannot reproduce it. what was happening? [20:27:23] RoanKattouw: running trunk I assume ? [20:27:27] Aye [20:27:38] + extensions/Gadgets@RL2 [20:27:50] k [20:54:28] Krinkle: http://prototype.wikimedia.org/rl2-repo1/wiki/Main_Page [20:54:38] I'm now working on multiplexing it into four wikis [21:03:26] RoanKattouw: oh, I was just about to edit the main page. LocalSettings.php missing [21:03:46] It's.. not? [21:03:49] Anyway, I'm working on it now [21:03:54] So it might be broken [21:04:03] require_once( '/srv/org/wikimedia/prototype/wikis/rl2/LocalSettings.php' [21:04:59] what are yoou using for giving such tracebacks? [21:07:59] xdebug [21:08:05] standard html output from xdebug [21:08:47] ah, it's wikiSettings missing now, I see you're working on that one [21:08:52] .WikiSettings.php.swp [21:10:34] I know, yes [21:13:55] RAWR [21:14:04] MySQL had RENAME DATABASE but they *removed* it [21:14:09] Because it was "too dangerous" [21:14:11] F you, MySQL [21:14:21] *RoanKattouw clones DBs and drops old ones [21:15:14] Oh wait, I can't use - in a DB name anyway [21:15:19] Never mind then [21:18:05] RoanKattouw: You can't ? isn't' wmf using - in some db names ? [21:18:22] No [21:18:42] I put in an str_replace( '_', '-', $wiki ) for generating $wgArticlePath and $wgScriptPath, it's fine now [21:18:46] I thought I saw some code in multi version the other day that replaces . with - [21:19:04] when determining dbname [21:19:04] I strongly doubt it [21:19:32] http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/mwmultiversion/multiversion/MWMultiVersion.php?revision=98342&view=markup#l138 [21:19:33] $lang = str_replace( '.', '-', $lang ); [21:19:35] yup [21:19:43] $this->loadDBFromSite( $site, $lang ); [21:19:50] $this->db = str_replace( "-", "_", $lang . $dbSuffix ); [21:19:51] ah [21:19:52] :) [21:19:56] I was almost there [21:20:06] MW also interprets '-' as a special character in DB names, BTW [21:20:19] Well, uses it as one anyway [21:20:35] If you use a table prefix, wfWikiID() returns "$wgDBname-$wgDBTablePrefix" [21:21:02] well, fwiw, rl2 wikis could share 1 database [21:21:11] altho no need to [21:21:23] different table prefixes [21:21:44] altho that wouldn't be realistic when trying dbrepo [21:25:14] RoanKattouw: hehe, security settings is so nice to load abusefilter for us :P [21:25:44] Yea [21:25:46] Lemme fix that [21:27:38] Blaargh [21:27:44] http://prototype.wikimedia.org/release-en/Rl2_repo2Dashed/wiki [21:27:52] $wikiDashed isn't getting replaced properly [21:28:02] *RoanKattouw glares at whatever is failing to use strtr() properly there [21:31:27] *RoanKattouw wonders where the recaptcha ext went [21:33:05] Krinkle: Well, it's progress, but ... http://prototype.wikimedia.org/rl2-repo2/wiki [21:33:44] Ah, got it [21:33:53] It was showing a redirect loop error because I omitted $1 in $wgArticlePath [21:34:06] Alright: [21:34:14] http://prototype.wikimedia.org/rl2-repo1/wiki/Main_Page [21:34:16] http://prototype.wikimedia.org/rl2-repo2/wiki/Main_Page [21:34:19] http://prototype.wikimedia.org/rl2-client1/wiki/Main_Page [21:34:22] http://prototype.wikimedia.org/rl2-client2/wiki/Main_Page [21:35:13] Krinkle: All four wikis are running know. Could you configure them according to the Etherpad and stick some JS in? I'm gonna go to bed soon [21:35:23] ok [21:35:38] Code lives in /srv/org/wikimedia/prototype/wikis/rl2 [21:35:42] ok [21:35:47] we don't have api repo yet, right ? [21:35:52] Configure stuff in WikiSettings.php if at all practical, LocalSettings.php otherwise [21:35:54] No, that's right [21:36:03] So you can't configure that yet, because I haven't implemented it yet [21:36:06] np [21:36:12] Hmm [21:36:14] Blah [21:36:22] Extension settings will need workaround variables, $wmg-style [21:36:26] Just like on WMF [21:36:33] So you'll need to edit LocalSettings.php either way [21:36:39] You will need to sudo to edit those files [21:36:51] If you get annoyed by having to sudo every time, use sudo -s for a root shell [21:39:19] You can connect to MySQL using mysql -u wikiadmin -p$password rl2_repo1 [21:39:28] (Obtain $password from LocalSettings.php) [21:47:37] ok [21:47:49] RoanKattouw: can /rl2-repo2 redirect to /wiki ? it's showing 404 now [21:47:58] http://prototype.wikimedia.org/rl2-repo2 [21:48:33] Yeah those URLs don't work yet [21:48:35] My bad [21:48:46] /rl2-repo2/w and /rl2-repo2/wiki do work [21:49:24] k [21:49:48] one more thing, would it be much work to do shared users ? iirc it should be easy with the (not so new) new shared tables ? [21:56:55] http://i.imgur.com/ZvZCd.png [21:57:32] Ryan_Lane: ^ [21:57:57] that's what I spotted on the blog when viewing it through https://etherpad [21:58:15] o.O [21:58:26] hrh [21:58:27] it's also on the normal blog [21:58:27] err [21:58:30] heh [21:58:32] really? [21:58:34] yes [21:58:47] I highlighted in the inspector where it's coming from [21:58:50] wpstats.wordpress [21:58:52] privacy ? [21:58:59] that's not in a default wp-install [21:59:03] I don't see it [21:59:06] refresh [21:59:06] it's jetpack [21:59:30] I still don't see it [21:59:41] https://stats.wordpress.com/g.gif [21:59:55] scroll a bit do stuff, it's sometimes hidden due to a css bug [22:00:15] jetpack ? [22:00:24] it's wordpress's cloud crap [22:00:27] we get stats via it [22:00:32] Krinkle: Shared users should be doable. Could you set it up, then? [22:00:37] sure [22:00:44] I'm not seeing this Krinkle [22:00:54] Ryan_Lane: visually or in the dom ? [22:01:02] visually [22:01:25] maybe it's for tracking stats [22:01:43] either way, we do get stats via jetpack [22:03:09] yeah [22:03:55] it's coming from jetpack, confirmed via source code [22:04:01]