[00:00:08] I'm not sure where SF00 got the message that a lint error marked as "low priority" needed 100% elimination [01:44:40] * Hazard-SJ imagines what life would be like if browsers just refused to render anything with invalid HTML [19:36:51] If Kartographer is enabled on a wiki why doesn't work? [19:37:39] oh, it might be FlaggedRevs [19:37:44] mw said [19:38:11] uhm, nope, trwiki is not a FRevs wiki [20:49:26] is there a proper catalog/repo somewhere of gadgets used on WMF wikis? or is it all pretty much a mess? :P [20:52:46] ningu: maybe this https://meta.wikimedia.org/wiki/Gadgets#Gadgets_used_across_wikis [20:52:53] aha, thanks [20:53:01] that's very helpful [20:53:14] https://meta.wikimedia.org/wiki/Gadgets/wikipedia [20:53:21] though many are red links though they are used apparently :p [20:54:09] yeah it's ok, I know how to find the code [20:54:23] but what's a bit confusing is when the same gadget is used across wikis [20:54:27] for example, this: https://en.wikisource.org/wiki/MediaWiki:Gadget-Fill_Index.js [20:54:38] it just loads it from fr.wikisource.org. which is fine, I get why, but it's all kind of random :) [20:54:52] and probably the same gadget is out there with inline code in many different versions [20:55:04] i think it just tells you which community came up with it first [20:55:10] sure [20:55:33] but which is the master copy? I guess the fr.ws one, but I dunno if people make repos for these things too typically [20:55:41] would you see an advantage in having all of them local to their wiki? [20:56:01] it's not really that, it's more the lack of an obvious source of truth [20:56:09] or documentation on differences between versions [20:56:34] just something like pypi or npm listing all the "releases" would be useful :P [20:56:48] I suppose for simple one-off scripts this is silly [20:56:53] but some are more important [20:56:57] ningu: i had a feeling there would be one like this: https://phabricator.wikimedia.org/T121470 [20:57:05] haha, ok [20:57:09] yeah I forgot about modules [20:57:11] top 10 from the wishlist, hah [20:57:13] and templates [20:57:28] it's not like everyone can use the same version of everything, that wouldn't work either [20:57:36] but there's no easy way to sort through it all [20:58:06] and it's a big job to do these things well [20:59:37] hmm not sure if I understand what "gadgets 2.0" is [20:59:42] is that in development or did it already happen? [21:00:03] ah ok, https://www.mediawiki.org/wiki/Extension:Gadgets/Gadgets_2.0 [21:01:01] i don't think so given the ticket that says they are working on it was from 2015 and this one was from 2011 and is still open on low priority https://phabricator.wikimedia.org/T31398 [21:01:16] imported from Bugzilla [21:01:31] yeah I see [21:01:59] "It will replace MediaWiki:Gadgets-definition" ok so clearly not :) [21:02:28] "The main issue at this point is just that no one is working on Gadgets 2.0 and it's not part of any team's goals at the moment." that sounds pretty dead [21:02:29] somedayâ„¢ Toolhub may support the catalog of gadgets use case [21:02:41] just do one tiny little step and document the differences between en. and fr. version for that one script you were looking at [21:02:54] mutante: well the en version just loads fr [21:02:58] document it where? [21:04:21] ah yeah, there is no page for Gadgets/Fill_Index [21:04:32] I see where the docs on meta are meant to go now, I think [21:05:01] ningu: wikitech, meta, talk page of the gadget, just not mediawiki.org, imho. actually i think since meta has the "Gadgets" page already i linked above that can also go there [21:05:02] somehow I never realized how much of mediawiki is actually gadgets [21:05:26] yea, maybe follow those red links and make them blue [21:05:38] sure [21:05:57] I was tracking down proofread-page related gadgets and realized there was a lot of code running that I had no understanding of [21:06:06] the meta page is pretty helpful actually, even if incomplete [21:07:35] meanwhile I have a specific technical question as I've been reading some gadget code... I see the variable "self" which _apparently_ is just an alias for "window" but I have no idea where it comes from [21:07:41] and it's hard to google... any idea? [21:07:49] it's not the self/this trick [21:08:28] example from that en.ws gadget: https://en.wikisource.org/wiki/MediaWiki:Gadget-Fill_Index.js [21:09:00] ok nevermind, it's apparently a js thing: https://developer.mozilla.org/en-US/docs/Web/API/Window/self [21:09:05] s/js/dom/ [21:10:25] * ningu wonders if one day in addition to wpTextbox1 we'll have wpTextbox2 [21:16:27] ningu: you have a second textbox when there are edit conflicts [21:16:34] ooh [21:16:35] ok :)