[02:44:37] TimStarling: I tried to write a Scribunto module today. But it kind of feels like trying to code with mittens on or something. I don't seem to jive with the debug console. [02:45:03] Printing a table is really difficult. [02:45:26] I should post to wikitech-l. [02:48:26] it's not that difficult, maybe 5-10 lines of code, but you wouldn't want to be typing the code out every time you wanted to print a table [02:48:38] I hit a bunch of different issues. [02:48:49] The debug console line numbers seem to not make any sense. [02:49:06] Testing blocks of code seems really difficult because it kept complaining about frame being nil or something. [02:49:46] And then Lua seems to be based entirely around tables with key/values, but there's no pretty print function (something like var_dump maybe?). [02:49:57] So even when I could get it to print, I would get "table". [02:50:53] And even knowing that "script error" is clickable, I didn't think to click it for about five or ten minutes. That was an unrelated issue in my Lua code. [03:22:20] Okay, I posted to wikitech-l. [09:03:32] Can I determine from parsing just the English Wikipedia dumps in which languages a page is available in? [09:04:51] BadDesign: enwiki-20130204-langlinks.sql.gz [09:05:21] or, if you want to use the text dump, you could parse it for interwiki links, but that is non-trivial, and not guaranteed to work since wikidata [09:12:58] valhallasw: using langlinks I can find out the article title in a particular language too? i.e. I parse the Wikipedia English dump and find an article with the title "NASA" and for this article I want to find out the title and language code for it in all the available languages [09:16:36] I'm trying to find a way to avoid parsing Wikipedia dumps for all the available languages in order to determine the title and language a particular article is in [09:20:54] I really can't understand why https://bugzilla.wikimedia.org/show_bug.cgi?id=41961 wasn't resolved first before killing gitweb... [09:25:34] BadDesign: I think so, yes. But for a small number just using the api might be quicker [09:26:26] se4598: indeed there was a reason I added it as blocker :) [09:26:37] however it seems we'll have to wait for a day only [09:28:20] se4598: a possible reason not to have both is that they're very resource-consuming, so having both might kill the server; I hope gitblit is fast enough to allow crawling by search engines [09:28:43] valhallasw: I need for all the articles [09:29:17] Nemo_bis: should be the links fixed in long term to gitblit? [09:29:39] se4598: I'm not sure I understand the question, Chad said he'll fix them today [09:30:06] is a day "long term" in internet time? :) [09:31:39] I mean: will be the rewrite rule also present next year, so it's relevant to change links [09:32:21] Ah. I don't think we ever remove redirects? [09:33:55] Unless something happens to the domain you're redirecting from, that is. But I can't imagine gerrit.wikimedia.org being used for something else that might kill the redirects. [09:39:24] Is the GeoData prop=coordinates API endopoint only availalble for Wikipedia articles with English titles? https://www.mediawiki.org/wiki/Extension:GeoData#prop.3Dcoordinates [09:59:08] BadDesign: I already answered you on this [10:00:22] 2013-05-28 8.33 < Nemo_bis> BadDesign: one thing you can do is checking {{coord}} in all languages and helping local sysops to implement the last version (which uses GeoData) where they don't yet [10:00:27] 2013-05-28 8.40 < BadDesign> Nemo_bis: What do you mean by "implement the last version (which uses GeoData)"? I'm not sure I understood [10:00:30] 2013-05-28 8.50 < Nemo_bis> only few wikis use the geodata syntax [10:01:07] 2013-05-28 8.52 < Nemo_bis> BadDesign: you should ask something like this to be one on each wiki https://en.wikipedia.org/w/index.php?title=Template:Coord&diff=526665541&oldid=368854805 [10:01:11] 2013-05-28 8.53 -!- matanya [~matanya@wikimedia/matanya] has joined #wikimedia-tech [10:01:14] 2013-05-28 8.53 < Nemo_bis> explain why it's needed and it's important for you, what code to replace the templates with, find a sysop to update it where protected [13:23:59] where's jenkins? [13:24:03] broken or very busy? [13:32:34] DanielK_WMDE, this was mentioned in -dev... demon said he was looking at it [13:37:12] <^demon> Ugh...zuul is not happy. [14:29:42] Hi, I have short question and I am not sure if I am asking on right place. There is wiki user:Český rozhlas on cs.wiki which was established by somebody and the SUL was done. However, the name of "Český rozhlas" is trademark of Czech company which would like to released images on Commons under this nickname. However, they do not know if this account was created by somebody of their employees before (in 2006) or not. They are asking if [14:29:42] is it possible get information, which email was used for the creation of this account (because their are closing inactive emails) and if yes, where we have to ask? If the account was created by their employees, the end of used email will be rozhlas.cz and they will be able restore the initial email and got the password . Thanks for help. [14:30:59] [already answered in other channel] [14:38:33] (#wikimedia-office) [15:27:39] Reedy: you around yet? [15:28:51] Yup [15:29:29] Reedy: mind reviewing and merging that patch from Jamesofur|away ? [15:30:02] (sorry, just don't want this one to dangle right now) [15:32:24] When i find it... [15:32:51] Reedy: https://gerrit.wikimedia.org/r/#/c/67227/ [15:33:15] it was only via email, he didn't add you as a reviewer, I should have done that if I would have noticed.... ;) [15:38:39] greg-g: do you happen to know how localisation for that will be managed? [15:39:02] managed as in copied from the weird on wiki translation to whatever, and deployed [15:40:35] Nemo_bis: honestly not sure :/ Tim-away or Jamesofur|away (both not here right now) would know more [15:40:54] ok [15:42:39] (or Reedy, of course, but he's doing other things right now ;) ) [15:46:51] Reedy: thanks for merging and deploying, are you moving on to the config stuff mentioned in James' email (section 2.)? [15:53:02] I'm just removing the noise from my inbox to help find the emails [15:53:18] <^demon> Read all the e-mails! [16:29:18] https://en.wikipedia.org/wiki/Talk:Jealousy#Uh..._am_I_missing_something.3F [16:29:33] What's going on here? Why is everything from 'Heinlein' indented? [16:30:29] Krenair: a
. [16:32:57] ah. fixed, thanks [17:03:42] oh, Krenair is into jealousy [18:53:08] MaxSem: would you be able to quickly tell what language editions are using geodata and what aren't? I'd like to remind people on {{coord}} talk pages that they should update their code. [18:53:27] quickly? mmm [18:53:32] WMF pushed Nearby in the news all over the world but few wikis are actually using it [18:53:49] Like, quickier than opening source of templates in all languages to check. :) [18:54:19] but that would require programming!:P [18:54:22] on it [20:15:45] is anyone having common CSS stuff load slowly for them? [20:15:48] *anyone else [20:29:44] Nemo_bis, https://dpaste.de/g0gUp/ - note that wikis might have a few tags due to jpegs with EXIF [20:34:42] MaxSem: thanks! You also extract coordinates interacting with PageImage? [20:35:02] I extract coordinates from all images [21:01:34] Where is the Wikimedia installation actually located on terbium? There's no /home/wikipedia [21:02:03] kaldari: /a/common maybe? [21:02:17] /usr/local/apache/common [21:02:21] Only tin has the "source" [21:02:32] thanks! [21:03:03] Reedy: BTW any idea who I should bug about Zuul/Jenkins being completely dead when Chad and Antoine and Timo are all AWOL? [21:05:32] Not sure we have anyone.. [21:06:41] Ryan_Lane: Do you know anything about Zuul? It's dead, all CI people are gone and following the instructions re restarting the service when these symptoms occur didn't help [21:06:57] unfortunately not [21:07:06] I thought so [21:07:08] Just making sure [21:09:41] Alright I messaged Timo and he's gonna jump on and check it out [21:12:03] thanks RoanKattouw [21:13:37] ug and gu.wiki have tens thousands coordinates and don't even have a {{coord}} equivalent [21:14:27] ugh [21:14:29] ;) [21:14:34] (sorry) [21:15:06] chaga [22:52:23] [19ab24ba] 2013-06-06 22:52:16: Fatal exception of type MWException [22:52:27] when deleting a page on enwiki [22:52:42] a different error showed up for the article, but i didnt copy the error [22:52:49] that was when i deleted the talk page [22:52:53] Reedy: ^ [22:53:25] 2013-06-06 22:52:16 mw1112 enwiki: [19ab24ba] /w/index.php?title=Talk:Omri_Altman&action=delete Exception from line 178 of /usr/local/apache/common-local/php-1.22wmf5/includes/Hooks.php: Invalid callback in hooks for ArticleDeleteComplete [22:53:30] Place your bets..... NOW! [22:53:39] AFT. [22:53:42] ^^ [22:54:06] Do I even bother look it up? [22:54:25] Meh [22:54:44] Reedy: So I synced visualeditor.dblist but somehow the change doesn't seem to be picked up? Does InitialiseSettings.php need to be touched or something? [22:54:51] * MatmaRex is checking latest comments  [22:54:55] commits*. [22:55:35] may not be aft, actually. not much has changed there recently. [22:55:48] Reedy: nm, that fixed it [22:56:14] then it's probably ULS. :P [22:56:39] MatmaRex: no ULS on enwiki [22:56:42] We have too much code [22:57:08] Yeah... better abstract it away :D [22:57:11] legoktm: i was just kidding this time. :P [22:57:15] :P [22:57:45] meh, it's probably AFT, actually, nothing else which even deals with pages was touched recently in wmf5 [22:59:03] Reedy: and nobody wants to merge changes where i remove some. [22:59:32] well someone else just raised it in #wikipedia so.... [23:01:27] * MatmaRex is grepping for ArticleDeleteComplete [23:01:49] MatmaRex: ssd ftw [23:01:49] http://p.defau.lt/?iLrYl7eo_uxFZJdUdZaUHw [23:02:05] It's parsoid [23:02:09] gwicke: [23:02:09] Parsoid/php/Parsoid.php: $wgHooks['ArticleDeleteComplete'][] = 'ParsoidHooks::onArticleDelete'; [23:02:09] Parsoid/php/Parsoid.hooks.php: public static function onArticleDeleteComplete( $article, User $user, $reason, $id ) { [23:02:32] Reedy: get me one ;_; [23:03:28] Reedy: wait, how is that callback invalid, actually? [23:03:33] Wrong name [23:03:35] ah [23:03:41] yeah, i noticed after i asked [23:03:49] Live hacking it for the moment [23:04:03] * MatmaRex hands Reedy a cowboy hat [23:04:12] * chrismcmahon updates the backlog to write a test for deleting a page [23:04:25] * legoktm hugs Reedy  [23:06:00] Presumably also broken on wmf6 too [23:06:40] Reedy: https://gerrit.wikimedia.org/r/67368 You failed at c&p :P [23:08:35] merged now [23:09:18] thanks [23:13:04] Reedy: You've changed a lot of things with that... you should verify that this doesn't break VE :P [23:15:54] hoo: Deleting all the submodules/cpp files? [23:16:15] That was done purposely