[13:23:46] hey peeps, when I log out from MediaWiki.org, for example, I'm not asked if I really want to logout. On the wiki I'm managing it does. [13:23:55] how can I configure that? [13:34:50] This may be a feature of the skin you're using [13:43:35] uhm, I'm using vector. will check its configs them. thanks Vulpix [14:08:34] absorto: Vector doesn't have such feature, I'd guess it's in site javascript or something [14:11:26] thanks Majavah it is weird because it seems this was introduced after upgrading to 1.35, looking for potential changes in the release notes [15:04:02] for an OOUI ProcessDialog, is there an easy way to make enter trigger the primary action, like escape does the close action? [15:04:17] currently I'm looking for the keypress, but it's a bit ugly [15:05:15] perhaps a mixin might help, but not sure how to register for a keypress in a mixin [15:32:39] i think that's how i would do it too. and it's how the handling for the Escape key is implemented. [15:33:17] https://github.com/wikimedia/oojs-ui/blob/86570f4f6fd1eb0c7e006a5abd25d07f3ecc3a58/src/Dialog.js#L139 [15:34:06] (you can also see there that we handle Ctrl+Enter to trigger the primary action) [16:34:49] matmarex: thanks :-) how would a mixin register for the event? [16:35:39] it's registered earlier in the code. it's just a regular JavaScript DOM event [16:35:45] this.onDialogKeyDownHandler = this.onDialogKeyDown.bind( this ); [16:35:48] this.$element.on( 'keydown', this.onDialogKeyDownHandler ); [16:39:02] does the mixin have to inherit from something for that to work? [16:59:32] MatmaRex, aha, got it working :-) [17:03:29] cool! [17:05:24] oddly, one ProcessDialog has lost its escape handler - but it's not related to the mixin (if I remove it, it still isn't working) [17:06:26] but I can put it back in in the mixin [18:49:04] hello i am looking for help for indexing a mediawiki backend extension called elastica/elasticsearch & cirrussearch. Can someone tell me how to index it from a old version to a new version when upgrading [20:35:31] Hello! Is this channel the appropriate spot for Wikibase support as a sysadmin? The channel listed on the MW wiki pointed to #wikidata but I figure that's more geared towards user help with the wikidata project than the technical end [20:49:26] actually question relating to mediawiki: is there an easy way via a maintenance script (or eval.php) to clear the sites table? [20:50:01] https://www.mediawiki.org/wiki/Manual:Sites_table has instructions on populatng it, but not removing sites [21:03:13] ceolman: sql.php and "Delete * from sites;" [21:03:24] Will clear all [21:04:03] If you want a single site then add a where clause [21:04:12] Oh sweet! I didn't realise sql.php existed :) [21:04:14] thank you [21:04:54] ceolman: if you have database access then the MySQL prompt will work the same [21:05:44] worked like a charm, just did "DELETE FROM sites;" [21:11:24] Yep [23:26:01] so I've just noticed someone rebased my patch for RenameUserfrom, uh, five and a half years ago. what's the best way to either get it in or work out what needs doing to update it for 2021? [23:26:33] https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Renameuser/+/214023 [23:33:42] MC8: Nikerabbit rebased it, so it probably works. You can help it land more quickly by verifying that it works (and commenting on the change to that effect) and by adding a unit test. [23:34:56] thanks ori