[13:41:14] Nemo_bis: there? [13:47:44] Revi: partly and over bad network [13:47:53] ok, see #mediawiki-i18n [15:17:45] Hi, according to mw:API:Block "infinity" is a valid expiry when making a POST request, but the API response is telling me it is not. "infinite" works. Any ideas? [15:18:39] If I use mw:API:Blocks to GET the current block of an indef'd user, the API will send back an expiry "infinity", so I don't understand why I can't use it in my POST [15:19:18] other values like "infinite" and "never" do work [15:19:24] but not "infinity" [15:20:24] I think the block special page has an "if infinity, replace with infinite" line somewhere, the api code doesn't seem to have that [15:31:29] it shouldn't send back infinity if it doesn't accept it, in my opinion [15:33:27] I wrote the block module and I could swear I wrote code that tried to make that (infinity <--> infinite) work at some point [15:33:50] But that was in 2007, so who knows, I might be misremembering or things might have changed [15:35:11] I believe you! seems like it must of worked, with API returning infinity, and infinity in the documentation at API:Block, but it doesn't appear to work anymore [15:35:39] I updated the mw page, or should I file a phab report? [15:37:48] MusikAnimal: phab ticket wouldn't hurt [15:37:59] then (ostensibly) the right people will all see it [15:38:07] on it, thanks [15:38:50] thank you [15:44:19] Yeah please do file it [15:47:36] done [15:47:40] https://phabricator.wikimedia.org/T92504 [16:26:23] RoanKattouw: you said you remember writing the infinity <-> infinite logic back in '07? Care to comment on that phab? Anomie was asking [16:26:26] https://phabricator.wikimedia.org/T92504 [16:27:19] Well, vaguely [16:27:31] I tried a version of MediaWiki as var back as I could without having errors because of "class Namespace" and infinity still wasn't accepted... [16:27:58] RoanKattouw: you mean to tell me you can remember every last detail of the code you wrote 8 years ago? [16:28:03] *can't [16:28:09] * anomie is going to make 'infinity' work anyway, it's just the question of whether it's a regression [16:28:45] anomie: So I think it worked when I wrote it but I honestly don't know for sure [16:28:55] It was a long time ago so who knows [16:29:20] thanks anomie! I just want infinity because the reblock script I'm working on goes off of what is returned from API:Blocks, which is infinity [16:30:01] the script I'm writing, just so ya know, is the block module for Twinkle! [16:33:23] Infinity definitely worked [16:33:27] I note that list=blocks wouldn't return 'infinity' if the database is Oracle, for that matter. [16:33:47] Nemo_bis: For the API, not Special:Block? When? [16:33:59] You can find Wikimedia logs with "wheel wars" of sysops changing from "infinite" to "infinity" [16:34:08] Ah, API, dunno [17:08:10] don't forget to submit a patch to accept "4eva" too [18:10:38] error [18:12:12] I'm getting 503 errors. [18:12:16] ditto [18:12:43] http://pastebin.com/sipAwALj [18:13:41] time to update the topic! [18:14:14] what happens [18:14:16] meta works, bits. doesn't. [18:14:55] Krenair: is there a reason status.wikimedia.org isn't linked in the topic anymore? [18:15:12] *shrug* [18:16:06] would anyone mind if I added it back? [18:16:29] yay [18:16:31] :) [18:17:51] WP:BOLD >.> [18:32:17] [[Tech]]; Madelgarius; /* modèle */ new section; https://meta.wikimedia.org/w/index.php?diff=11531821&oldid=11511116&rcid=6039460