[16:20:01] Hello! If I create an OAuth consumer and misconfigure it, such as the callback URL, I have to create a new consumer altogether? the update form seems to be missing options outside usage restrictions and public RSA key [16:21:33] I think so. I saw someone else also submitting a new request to update the callback. [17:37:36] anomie, does Lua code have access to the parser state? E.g. parser->addCategory() ? [17:38:40] returning [[category:...]] as part of the module's result sometimes breaks overall output [17:41:46] yurik: It doesn't currently. [17:42:08] anomie, does it discard parser state if i call a parser function? [17:43:25] yurik: The parser function will contribute to the parser state, Scribunto doesn't try to avoid that. [17:43:47] i think it would be a highly useful ability for all sorts of tracking categories (e.g. I am trying to find all the obsolete parameters - i simply add a tracking category, and wait for all users to reparse. [17:45:33] anomie, so could i perhaps use frame:preprocess or similar for this? [17:45:55] frame:preprocess('[[category:page with obsolete args]]") [17:46:52] yurik: Well, that would just give you back wikitext '[[category:page with obsolete args]]'. [17:47:18] anomie, perhaps i don't understand what each of them do. Is there a one that would pass it via parser? [17:49:30] yurik: Scribunto doesn't have a way to parse wikitext to HTML, since it is supposed to be returning wikitext. But something like frame:preprocess('{{#foo:bar|baz}}') would incorporate any tracking categories or the like that the #foo parser function might set. Also, it'd be reasonably easy to add an "addCategory()" method to the frame object to directly allow modules to add tracking categories; I thought there was already a phab task for that, [17:49:31] but I can't find one. [17:50:20] there is one now https://phabricator.wikimedia.org/T137584 [17:50:24] anomie, ^ [17:50:30] thx :) [17:51:23] anomie, and we definitly need better docs for https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#frame:preprocess -- half of them are very cryptic [18:21:36] hi, any chance to https://www.mediawiki.org/wiki/Mathoid have a proper/correct install how to? [18:26:28] Hello. Is there any admin that could help me with a temporary lift of an IP Cap? [18:30:23] Edjoerv, phab ticket? [18:32:12] Well, there is none yet, since I couldn't get the IP before. [18:32:20] I just got it now, when I'm at the venue [18:32:32] But they promised me to get the other ones for next events. [18:32:52] Should I still make it? [18:34:11] and when is the event? [18:34:52] In about ten minutes! [18:35:00] huh [18:35:18] I think about the time when we start declining such requests [18:37:29] What do you mean? [18:38:25] Edjoerv, seriously. this is Friday. we deploy on Fridays if there's something on fire. please file such requests a few days before, even if you don't know the IP [18:39:06] Well, yes, but I wasn't really sure I should have done it if I didn't know it. [18:41:39] I've just created the task on Phabricator https://phabricator.wikimedia.org/T137587 [18:41:52] Edjoerv: I feel you, it's so hard to get such information when organising an event [18:42:12] https://www.mediawiki.org/wiki/Help:Mass_account_creation can still help [18:42:30] Extremely hard, specially when you've been traveling even the day before the event. [18:42:49] I've been reading the page, and that's how I landed here. [20:23:56] anomie, another quick question - have you seen an XML parser in Lua? I see this https://en.wikipedia.org/wiki/Module:SLAXML/DOM but not sure it works [20:25:01] yurik: I haven't. I'm sure they exist, though. [23:45:04] ori: re: https://phabricator.wikimedia.org/T137608#2373223 i believe it's just the images we care about. i should ask, though - are you referring that images that represent a video or something else? [23:45:27] ori: got a couple minutes to video chat? [23:45:50] sure, give me a minute