[00:31:50] Shiv? [00:32:26] Wow, not a typo for shim. Hmm. [00:33:27] > The term shiv originates from John Resig, who was thought to have used the word for its slang meaning, a sharp object used as a knife-like weapon, intended for Internet Explorer. Truth be known, John probably intended to use the word shim, which in computing means an application compatibility workaround. [00:33:36] > Rather than correct his mispelling, most developers familiar with Internet Explorer appreciated the visual imagery. And that, kids, is etymology. [00:33:51] I wonder if "mispelling" is a troll. [17:37:17] thanks anomie! :D [18:25:40] What's the best way to find out all the hooks registered by an extension? I'm specifically looking for hooks offered by VE and there's nothing in https://www.mediawiki.org/wiki/Extension_hook_registry :( [18:26:15] grep for wfRunHooks and Hooks::run ? :/ [18:27:07] Reedy: Did that. Nothing for former and just one for latter - EditFormPreloadText [18:27:12] That doesn't seem right. [18:27:15] Yeah... [18:27:30] It could be [18:27:36] There's not much PHP code to it [18:27:36] Niharika: I don't think VE has any PHP hooks [18:28:01] One in ApiVisualEditor.php [18:28:08] As I guess it's re-implmenting the api edit [18:28:28] legoktm: Oh. I want to cut VE off and redirect to another page according to some conditions. [18:28:52] use BeforePageDisplay? [18:28:55] So I guess I can rely on any hook that runs before VE. [18:29:19] Right, will do. Thanks. [18:37:10] legoktm: When one clicks 'Create [18:37:20] doesn't it load the editor using JS alone? [18:37:45] So BeforePageDisplay will not come into picture? [18:38:22] Well if you want to intercept what "Create" does why not change the URL it points to server-side? [18:38:29] using the skintemplate hook [18:41:11] Wouldn't that create a race with VE and my extension both trying to decide where that URL points to? [18:41:49] VE uses the SkinTemplateNavigation hook to create the tab. [18:48:12] hmm probably [19:31:14] Niharika: these days, hooks are often registered in extension.json, so you won't find anything if you grep through the code. [19:31:26] oh hm, missed the conversation by an hour [22:07:01] Would people reckon... Rows in querycache with a qc_type of '' are erroneous? [22:08:17] https://phabricator.wikimedia.org/P5944 [22:13:41] Filed as https://phabricator.wikimedia.org/T174513 [22:28:50] Reedy, legoktm: is there a maintenance script that would let me attach an existing LDAP account as a local account on Wikitech? [22:28:57] for T174469 [22:28:57] T174469: LDAP account that is not attached on wikitech has no means for password reset - https://phabricator.wikimedia.org/T174469 [22:29:23] probably not [22:29:31] Just insert a row into ldap_domains? [22:29:44] yeah... I was wondering if that would work [22:29:54] I'll look at it later :) [22:30:24] I have a test wiki locally that I can mess with that has an LDAP directory and an LDAP auth wiki