[12:22:11] NFS problems are known [14:00:20] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @awight & @tgr - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:50:19] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @awight & @tgr - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:04:56] Hi all, welcome to the technical advice meeting! feel free to ask us about anything [15:05:53] :) hi tgr_, nice to see you here. [15:06:06] you can also ask in Hungarian / magyarul is tudtok kérdezni [15:06:33] y en español si es más facil... [15:06:50] o/ awight , likewise :) [15:17:31] I'm working on some fun patches for Extension:Translate "extension registration", FWIW. [15:19:42] nice [15:19:47] I thought that one was converted recently? or is it not done yet? [15:23:36] It's been happening in a few phases, and this last one was to split the last big patch into bite-sized pieces. [15:23:52] Pretty much always a good idea, when it's possible :-) [15:24:12] that sounds great [15:24:32] I stole the “do it in bits“ idea from Translate for Wikibase ^^ [15:24:46] (if anyone wants to merge some of the patches in https://phabricator.wikimedia.org/T223214, wink wink nudge nudge) [15:24:59] Yes! I forget who mentioned it, but having the "extension-wip.json" was key. [15:26:11] extension-notbloodyfinished.json [15:26:58] extension-lookwellgetaroundtoiteventually.json [15:27:51] Just looked it up ^, nikerabbit started that approach, at least for Extension:Translate. [15:29:23] extension-maybe.json [15:31:02] Come to think of it, maybe extension registration could support this transparently, by being softer about whatever conditional switching happens when extension.json is present... Hindsight, I guess. [15:36:47] awight, tgr: I've been trying to add the twinkle unlink gadget to my wiki (https://quirc.miraheze.org/wiki/Main_Page) - And I don't see any unlink options on any pages. Thoughts? Pinging McJill, as maintainer [15:37:39] RhinosF1: Hi! Do you have https://www.mediawiki.org/wiki/Extension:Gadgets installed? [15:37:55] awight: I do [15:38:13] is it an opt-in gadget? [15:38:42] tgr_, I've turned it on [15:39:30] I see you have it listed here, https://quirc.miraheze.org/wiki/MediaWiki:Gadgets-definition [15:39:35] Not sure this is on-topic, RhinosF1, but for starters I’d check your console for errors. You still have twinkle.js calling arv, warn, and block, which don’t exist [15:39:47] I was more wondering how I can turn it on [15:39:58] McJill, ah, tgr - In settings [15:41:01] McJill, Which lines do I need changing? [15:41:03] Not sure it's related, but this documentation says it's only available to "extended unconfirmed" users, https://en.wikipedia.org/wiki/Wikipedia:Twinkle/doc#Unlink [15:41:24] tgr, Ah, We don't even have 30/500 [15:41:26] can't see it there, but yeah, generic debugging advice is check the error console + check that the code is loaded properly [15:41:31] *extended confirmed [15:42:21] RhinosF1: Yes, that’s basically an en.wiki only thing [15:42:41] You should remove the lines that say Twinkle.warn(), Twinkle.arv(), and Twinkle.block() [15:42:51] McJill, What needs changing then to disable that check? [15:43:08] Console https://usercontent.irccloud-cdn.com/file/LhMXlgGl/Screenshot%202019-05-29%20at%2016.42.31.png [15:44:07] that seems like a syntax error in the gadget code (or copypaste error maybe) [15:46:29] McJill, Thoughts on the console error? [15:46:33] RhinosF1: You forgot to remove a } in twinkle.js, after Twinkle.unlink() [15:47:06] And just remove the bit in the beginning about extendedconfirmed from twinkleunlink.js [15:47:27] *bit about extendedconfirmed and sysop [15:51:41] McJill, Not made it much better: https://quirc.miraheze.org/wiki/Main_Page [15:52:04] https://usercontent.irccloud-cdn.com/file/93kQdYV6/Screenshot%202019-05-29%20at%2016.51.26.png [15:53:18] you might want to install the CodeEditor extension to get these errors while editing the JS file, instead of after saving and testing [15:53:59] Zppix: ^^ [15:54:06] Can you look at that? [15:55:31] Zppix: Found code editor [15:56:48] RhinosF1: I said to remove the } in Twinkle.js, not move it above Twinkle.unlink() [15:58:15] As for twinkleunlink.js, remove the trailing || in that line [15:58:16] So it should read if( mw.config.get('wgNamespaceNumber') < 0 || mw.config.get('wgPageName') === 'Wikipedia:Sandbox' ) { [16:06:26] Looks like you're on the right path! [16:07:21] McJill: Got to go AFK - Still errors when I looked. Can you PM me some working code for me to upload? [16:09:36] You left the ) { on the line all by itself (twinkleunlink.js) when adding it to the prior line [16:09:51] Possible followups: the Twinkle gadget could include conditions to switch logic when dependencies are available. [16:10:56] awight: It’s actually on my long-term todo list to allow folks to turn off modules they don’t want [16:11:05] Nice! [16:12:55] McJill: Fixed that but no TW tab showing [16:15:11] prob an issue in your gadget def [16:18:37] Yeah, I think just copy from enwiki, you’re not loading the css or pagestyles [16:18:59] McJill, What line should I put on then? [16:19:21] > copy from enwiki [16:20:17] Try this [16:20:19] Twinkle[ResourceLoader|dependencies=mediawiki.user,mediawiki.util,mediawiki.notify,mediawiki.RegExp,jquery.ui.dialog,jquery.tipsy,moment|rights=autoconfirmed|type=general|peers=Twinkle-pagestyles]|morebits.js|morebits.css|Twinkle.js|twinkleunlink.js|twinkleconfig.js|Twinkle.css [16:20:19] * Twinkle-pagestyles[hidden|skins=vector]|Twinkle-pagestyles.css [16:21:35] (you should also install the pagestyles.css and Twinkle.css files, since you didn’t do that) [16:27:24] McJill: Had twinkle.css but added pagestyles. Going afk now and no tab [17:07:54] Anybody with the mailing list master password around, or can help me with a manual login to reset a list admin pass? Mike Godwin's trying to migrate an old list off of lists.wikimedia.org and all the admin passwords got reset some while ago, so he's locked out of it. [17:08:18] I've got the docs for resetting it manually on the server but I don't have a login on that machine I think. ;) [18:47:42] I think there’s an issue in 1.34-wmf.7 on whatlinkshere (https://phabricator.wikimedia.org/T224616); I’m not great with what tags/projects should be used for an ongoing deployment, am I missing something obvious/helpful beyond regression and the version? [18:51:18] (not just wlh) [18:57:37] McJill: if you set the "Priority" to "Unbreak now", someone will definitely have a look at it (but please don't overuse that for non-critical things) [18:57:50] McJill: i actually recognize this issue, there's another bug report about it [18:58:10] i read it this morning but didn't test, i didn't realize it was this annoying [18:58:25] Held off since I didn’t think it was that critical (although I imagine folks will make a lot of noise), but a duplicate is even better! [19:06:34] Thanks [21:21:04] bstorm_: Is wikitech wiki meant to be readable through quarry/ tools sql? Or is this a known omission? [21:21:26] was just thinking of building something around incident reports in toolforge, but couldn't connect, I guess we don't have it on the replica [21:22:51] I can check later. I ducked out early today because I've been working since sunrise due to an outage. [21:23:05] I'm afk at the moment [21:23:25] I think it may have an odd name but be there? [21:24:09] I dont think its on analytics slaves either [21:24:30] Probably accidental artifact of how weird it is [22:23:34] Ah, that's right. Krinkle it's called labswiki and it isn't there because it's not on the same database servers or something. It's on a misc server instead. [22:24:10] So yeah, artifact of how weird it is :) [22:35:37] thanks!