User:Leucosticte/2013 meeting log

Status #wikimedia-meetbotX [EXPERIMENTAL !!!! Logs will be deleted randomly ... | User doc at https://wiki.debian.org/MeetBot] [15:43] == leucosticte [44392d68@gateway/web/freenode/ip.68.57.45.104] has joined #wikimedia-meetbot [15:57] == DanielK_WMDE_ [~daniel@wikipedia/duesentrieb] has joined #wikimedia-meetbot [16:18] == Krenair [~Krenair@wikimedia/Krenair] has joined #wikimedia-meetbot [16:26] == legoktm [~legoktm@wikipedia/Legoktm] has joined #wikimedia-meetbot [16:34] == siebrand [~siebrand@5ED24E92.cm-7-3b.dynamic.ziggo.nl] has joined #wikimedia-meetbot [16:35] The MediaWiki RFC meeting is here in 25 minutes. [16:40] == mutante [~mutante@wikimedia/mutante] has joined #wikimedia-meetbot [16:40] == MatmaRex [~MatmaRex@wikipedia/matma-rex] has joined #wikimedia-meetbot [16:46] == ori-l [~ori-l@wikipedia/ori-livneh] has joined #wikimedia-meetbot [16:47] == qgil [~qgil@192.195.83.38] has joined #wikimedia-meetbot [16:48] == Guest73778 [~textual@74.120.190.9] has joined #wikimedia-meetbot [16:48] What comes now is just a quick test [16:48] #startmeeting [16:48]  Meeting started Wed Nov 6 21:48:41 2013 UTC. The chair is qgil. Information about MeetBot at https://bugzilla.wikimedia.org/46377. [16:48]  Useful Commands: #action #agreed #help #info #idea #link #topic. [16:48] == Guest73778 [~textual@74.120.190.9] has quit [Client Quit] [16:48] bla bla hi [16:49] #topic Testing a topic [16:49] Is this really a new topic? [16:49] #info This seems to be a topic [16:49] #action Quim to test that this was indeed a topic [16:50] #idea Why not agreeing thet this is indeed a topic? [16:50] yes [16:50] no [16:50] well, yes [16:50] #agreed Yes, this is a topic [16:50] #topic Yet another topic [16:50] blah [16:50] #endmeeting [16:50]  Meeting ended Wed Nov 6 21:50:55 2013 UTC. Information about MeetBot at https://bugzilla.wikimedia.org/46377. (v 0.1.4) [16:50]  Minutes:       http://integration-meetbot.instance-proxy.wmflabs.org/wikimedia-meetbot/2013/wikimedia-meetbot.2013-11-06-21.48.html [16:50]  Minutes (text): http://integration-meetbot.instance-proxy.wmflabs.org/wikimedia-meetbot/2013/wikimedia-meetbot.2013-11-06-21.48.txt [16:50]  Log:           http://integration-meetbot.instance-proxy.wmflabs.org/wikimedia-meetbot/2013/wikimedia-meetbot.2013-11-06-21.48.log.html [16:51] it works: http://integration-meetbot.instance-proxy.wmflabs.org/wikimedia-meetbot/2013/wikimedia-meetbot.2013-11-06-21.48.html :) Thank you for your patience [16:52] == OwynD [~textual@74.120.190.9] has joined #wikimedia-meetbot [16:53]  hi, this is Owen from wikia... [16:54] == MaxSem [kvirc@wikimedia/MaxSem] has joined #wikimedia-meetbot [16:54] Hi, OwynD [16:54] * bd808 waves to MaxSem too [16:54]  yo [16:55] Hi everybody. I just hope Tim, Brion & co show up as well [16:57] == bawolff [~bawolff@wikinews/bawolff] has joined #wikimedia-meetbot [16:57] == aude [~filbertkm@li137-250.members.linode.com] has joined #wikimedia-meetbot [16:57] == csteipp [~csteipp-i@wikipedia/csteipp] has joined #wikimedia-meetbot [16:57] == robla [~robla@wikimedia/robla] has joined #wikimedia-meetbot [16:57] == marktraceur [~marktrace@fsf/member/marktraceur] has joined #wikimedia-meetbot [16:59]  hey [16:59] yo [16:59] we're still rolling movie trailers. main event not started yet [16:59] +t, sadface [16:59] sorry can't really attend just waited to excuse myself [16:59] hashar: mode -t [16:59] too late and I went to bed past midnight since sunday :( [17:00] For topicsetting goodness [17:00] == TimStarling [~tstarling@wikipedia/TimStarling] has joined #wikimedia-meetbot [17:00] qgil: note the meetbot is running on labs, so you want to copy paste them somewhere safe. There is no backup :D [17:00] qgil: whenever I get some spare time I will migrate it somewhere else [17:00] ok hashar [17:00] Hi TimStarling [17:00] hashar: Are you implying that file storage in Labs maybe unstable ;) [17:01] should we start, TimStarling ? I need to do some very basic operations with the meetbot [17:01] it is stored in the instance itself :( [17:01] anyway, will read notes tomorrow. sorry :( [17:01]  no chad? [17:01] == brion [~brion@wikipedia/pdpc.professional.brion] has joined #wikimedia-meetbot [17:01] Hello. [17:02] Chad and Brion were here the whole morning... They must be around. [17:02] howdy [17:02] ah there you are, brion [17:02]  he's ^demon|lunch at the moment [17:02] had to pop back out for the afternoon to deal with some house stuff, but i'm online \o/ [17:02] * aude waves [17:02] hello [17:02]  but chad didn't actually propose Configuration database for review, right? [17:03] should we start with TitleValue before the Europeans fall asleep? [17:03]  I'd like to focus on RFCs for which the proposer is here in the meeting and actually wants to discuss the RFC [17:03] Chad's walking in [17:03] ok TimStarling let me start officially the meeting [17:03] == ^demon|lunch [~demon@mediawiki/demon] has joined #wikimedia-meetbot [17:03]  so for TitleValue that means DanielK_WMDE_ [17:03]  heya ^demon|lunch [17:03]  TimStarling: yay :) [17:03] == AaronSchulz [~chatzilla@mediawiki/Aaron-Schulz] has joined #wikimedia-meetbot [17:04] #startmeeting [17:04] <meetbot-wm`> Meeting started Wed Nov 6 22:03:58 2013 UTC.  The chair is qgil. Information about MeetBot at https://bugzilla.wikimedia.org/46377. [17:04] <meetbot-wm`> Useful Commands: #action #agreed #help #info #idea #link #topic. [17:04] <^demon|lunch> I got pinged twice on IRC and once IRL, guess I am here :) [17:04] gwicke is still in the wrong channel. [17:04] == ^demon|lunch has changed nick to ^d [17:04] #link https://www.mediawiki.org/wiki/Architecture_meetings/RFC_review_2013-11-06 [17:04] Ok TimStarling, you can start :) [17:05] (etherpad: https://etherpad.wikimedia.org/p/ArchitectureMeeting ) [17:05] #link https://etherpad.wikimedia.org/p/ArchitectureMeeting [17:05] <TimStarling> well, TitleValue, a nice simple one to start with eh? [17:05] #topic TitleValue [17:05] == hoo [~hoo@wikipedia/Hoo-man] has joined #wikimedia-meetbot [17:06] #link https://www.mediawiki.org/wiki/Requests_for_comment/TitleValue [17:06] <DanielK_WMDE_> hm, am i supposed to say something about TitleValue now? [17:06] <TimStarling> were there any unresolved issues from the mailing list discussion that anyone would like to raise now? [17:06] (thank you bd808 - fyi everybody, if you want a sentence to appear in the notes, start with #info bla bla ) [17:07] <^d> TimStarling: Yes, one of the major unresolved issues was serialization. [17:07] so I love the idea of TitleValue itself; I'm a bit less sold on TitleParser and TitleFormatter and the registry, but talk me into it :) [17:07] <DanielK_WMDE_> I found https://wiki.debian.org/MeetBot useful [17:07] <^d> I think there was some unresolved question as to how we'd store namespaces. [17:07] <^d> Whether it'd be an int, or the canonical name, etc. [17:07] <TimStarling> what would you use serialization for? [17:08] other than 'happening to be a member of an object that gets serialized' ? [17:08] == hashar [~sempitern@mediawiki/hashar] has quit [Quit: I am a manual virus, please copy me to your quit message.] [17:08] <TimStarling> we don't really serialize objects very often [17:09] <DanielK_WMDE_> serialization is not the point [17:09] <TimStarling> as for integer versus canonical namespace, integer seems the obvious choice to me [17:09] <DanielK_WMDE_> basically, it's about this: almost everythin uses Title, directly or indirectly. So, to avoid a tangle, Title should depend on very little. [17:10] i'd say there's two prime possibilities: [17:10] 1) use the integer key [17:10] <TimStarling> since everything about a namespace can easily be determined from its integer ID [17:10] <DanielK_WMDE_> but in reality, Title relies on a bunch of things - and thus, everything depends on everything. [17:10] 2) use a MWNamespace object [17:10] <DanielK_WMDE_> This turns mediaWiki into a monolithic tangle. [17:10] but life is simplest if we just store an int eh :D [17:10] <^d> I'm fine with ints too :) [17:11] * MaxSem scrolls to the bottom of Tite.php and sees getEditNotices:/ [17:11] <TimStarling> MWNamespace depends on everything, right? [17:11] <DanielK_WMDE_> using a canonical namespace has the advantage that we can meaningfully represent titles from other wikis [17:11] <DanielK_WMDE_> with IDs, we can't do that [17:12] <MaxSem> I think we'll end up storing title proper, ns number and ns string [17:12] MWNamespace is a utility class [17:12] <TimStarling> DanielK_WMDE_: that application is not discussed on the RFC, is it? [17:12] <DanielK_WMDE_> which is better really depends on what we want to use the TitleValue for: if we want to generate a link, it's nicer to have the namespace name. if we want to run a DB query, it's nicer to have the id. [17:12] doesn't make sense to mix them [17:12] <DanielK_WMDE_> TimStarling: no, it only ocurred to me recently. [17:12] <TimStarling> I think you can use integers for foreign titles, if you want to [17:13] <TimStarling> it is a bit more complicated than what we do now [17:13] <DanielK_WMDE_> TimStarling: but then how do you generate a link? you'd need to know the id->name mapping for the namespaces on the other wiki [17:13] <TimStarling> which is NS=0 DBK=<foreign PDBK> [17:13] DanielK_WMDE_: so we really can't do id->name or name->id mapping on foreign wikis without fetching their remote configuration [17:13] <DanielK_WMDE_> indeed [17:13] *nod* that's about how we handle interwikis now [17:13] <TimStarling> yes, I mean by fetching the remote configuration [17:14] <DanielK_WMDE_> on the other hand, there's nothing that forces us to not have a calss other than TitleValue to handle these cases. In factm I proposed WikiLink for this. [17:14] Interwikis also don't necessarily point to wikis [17:14] <TimStarling> DanielK_WMDE_: what do you think of Brad's criticism that TitleParser and TitleFormatter could be the same class? [17:14] <DanielK_WMDE_> yes, that would only work for other mediawiki instances. so perhaps a WikiLink class would be more useful for that. [17:15] <DanielK_WMDE_> TimStarling: i think the *interfaces* should be independent, but they could be implemented by the same class. [17:15] <TimStarling> I think interwiki links to non-wikis were a terrible mistake [17:15] <TimStarling> in fact, I think the whole interwiki feature sucks [17:15] <DanielK_WMDE_> but code using these should not *rely* on them being implemented by the same class or object [17:15] <TimStarling> but maybe that's a rant for another day [17:15] +1 seems weird to represent non-mediawiki "titles" with title values [17:16] * brion hmms [17:16] I actually support Brad in that. Both the parsing and the formatting will have a security component, and I'd rather *not* see the security distributed across many objects. [17:16] i hate to suggest Interfaces but .... could we have TitleVaue and ForeignTitle? or is that way MADNESS [17:17] so I'd tend to wrap TitleParser and TitleFormatter together also [17:17] <TimStarling> what do we use foreign titles for at the moment? [17:17] <DanielK_WMDE_> brion: ForeignTitle is pretty much what i ment when i wrote this into the rfc: "a WikiLink class with subclasses for internal links, interwiki links, and external links." [17:17] TimStarling: extensively with wikibase [17:17] <DanielK_WMDE_> aude: using our own (Simple)SiteLink class. [17:18] <TimStarling> aude: you use Title objects with interwiki prefixes in wikibase? [17:18] DanielK_WMDE_: figuring out the namespace for the link is the tricky part [17:18] <DanielK_WMDE_> TimStarling: im'n not sure how often Title objects are used to represent interwiki links... but the introduction of TitleValue wouldn't hinder that. [17:18] <AaronSchulz> brion: seems like they could be one yeah [17:18] TimStarling: we use site links [17:18] <DanielK_WMDE_> aude: if you only have the ID from a db query, then yes. [17:19] <DanielK_WMDE_> but that's not what TitleValue is about [17:19] <TimStarling> when I say a foreign title, I mean a Title object with mInterwiki !== '' [17:19] site link = site id + page name [17:19] <TimStarling> they are traditionally used by the parser [17:19] <TimStarling> I mean, Title::secureAndSplit is basically a parser outgrowth [17:20] <TimStarling> I'm just wondering if we really need foreign Title objects at all [17:20] so title components are traditionally (interwiki:)?(namespace:)?(text)(#hash)? [17:20] <DanielK_WMDE_> TimStarling: this could go into a TitleParser implementation. Though the TitleParser interface only defines parsing of *local* links. [17:20] i suppose the site links do store the full page title [17:20] where if there's an interwiki, we don't really fiddle with namespaces [17:20] e.g. Category:Berlin [17:20] it's funky but you can kinda think of an interwiki as an extended namespace :) [17:20] <TimStarling> or if we can use an object to represent foreign titles that is not derived from Title [17:21] <TimStarling> brion: yes [17:22] <TimStarling> that is basically a little fragment of the wikitext grammar, displaced from Parser to Title [17:22] i guess the ultimate question is "what do we need to slot in to the spaces that are normally local title objects" [17:22] <DanielK_WMDE_> TimStarling: in my mind, that would not really be a "title" (since we can#t normalize it), but rather a "link". but whatever :) [17:22] separating interwiki links from title seems good [17:22] hmm, i like that [17:22] keeping title simple, for local links [17:23] yes i can be convinced of that [17:23] <DanielK_WMDE_> i think we are getting a bit sidetracked with the interwiki stuff. TitleValue is about local links only. Let's worry about interwiki links another time. [17:23] == Platonides [~Platonide@wikipedia/Platonides] has joined #wikimedia-meetbot [17:23] +1 [17:23] keep core title down to local (namespace,title) pair, which is something we pass around and store as a unit *all the time* [17:23] and leave interwikis and hashes to future link objects where they're actually needed [17:24] <MaxSem> i.e. in old Title for now? [17:24] MaxSem: yes [17:24] <DanielK_WMDE_> exactly [17:24] <DanielK_WMDE_> so, to get back on track: the main criticism seems to be "but then we need to pass around the pesky Parser/Formatter objects everywhere". [17:24] so that mostly leaves the parser/formatter and registry questions [17:25] easy answer: put them on IContext [17:25] <MaxSem> oh noes [17:25] which we already pass around everywhere ;) [17:25] <DanielK_WMDE_> i can only say to that "yes, but that's really a good thing, and not as annyoing as you might think". [17:25] <TimStarling> I think there was some concern on the mailing list about how much code will be touched by the Title -> TitleFormatter/TitleParser migration [17:25] <MaxSem> it'll grow to be the next god object that we'll need to slaughter [17:25] <DanielK_WMDE_> TimStarling: tons and tons, if we do everythign at once [17:25] <DanielK_WMDE_> but there's absolutely no need to [17:25] <^d> We never really needed IContext. We should've just kept $mediaWiki global ;-) [17:25] <DanielK_WMDE_> TitleValue and Title can easily co-exist [17:25] i think we should explicitly *not* do it all at once, yes [17:26] make sure it's easy to get a TitleValue from a Title and vice-versa [17:26] <DanielK_WMDE_> brion: so, tons of stuff depend on IContext. This means, to avoid a tangle, IContext should depend on as little as possible. [17:26] <TimStarling> we should at least have a sample though [17:26] and start building new interfaces on TitleValue [17:26] <TimStarling> so we know what we're getting ourselves in for [17:26] yeah [17:26] anyone have a module they'd like to volunteer for migration ? :) [17:26] <DanielK_WMDE_> brion: otherwise, you cet this: to construct X, you need an IContext. To construct an IContext, you need A, B, C, D, E, F, ..... Q, R... [17:27] <DanielK_WMDE_> sure, you could null/stub some out, but you then need to know in advance which parts of IContext X actually uses. [17:27] <DanielK_WMDE_> not nice [17:27] #help anyone have a module they'd like to volunteer for migration ? :) [17:27] <TimStarling> DanielK_WMDE_: RequestContext is constructible with no arguments, isn't it? [17:27] <DanielK_WMDE_> TimStarling: well, the "arguments" are global state. [17:28] <TimStarling> it doesn't even have a __construct [17:28] <TimStarling> it just uses mutators [17:28] <DanielK_WMDE_> which makes it worse: you have to know which global state to control or restore before constructing the context object [17:28] <MaxSem> the whole point of context that it *kill* global state [17:29] <DanielK_WMDE_> MaxSem: but what it currently does it *wrap* global state [17:29] so [17:30] <ori-l> $requestContext = &$GLOBALS; /* DON'T LOOK AT ME */ [17:30] <DanielK_WMDE_> :P [17:30] imho the big win comes from separating the state/factory methods from the value object itself [17:30] <MaxSem> DanielK_WMDE_, that's only for main execution path, it doesn't have to [17:31] <TimStarling> brion: what do you think of my idea of having ServiceRegistry be a member of RequestContext? [17:31] <DanielK_WMDE_> MaxSem: yes. but it's hard to construct robust code for creating a "celan" RequestContext for e.g. testing. [17:31] <DanielK_WMDE_> and to do so, you'd have to create a ton of stuff you really don't need for your test. [17:31] <TimStarling> currently we have IContextSource, which can be implemented without much difficulty [17:31] TimStarling: that's probably what I'd do... otherwise we have a second global object we're passing around with some other method [17:32] <TimStarling> but if we have a hundred factory functions in it, it won't be so easy to implement [17:32] <DanielK_WMDE_> brion, TimStarling: the point of the registry thing is that it *doesn* get passed around. ever. [17:32] <TimStarling> but if you split out the hundred factory functions to their own class, it will still be possible to implement IContextSource from scratch [17:32] aho [17:32] * brion rereads [17:32] <DanielK_WMDE_> it's a small, isolated bit of state that gets used *only* in static entry points and is *never* a memebr of anything [17:32] DanielK_WMDE_: it'd be accessed statically? [17:32] <DanielK_WMDE_> nothing depends on it, so it's free to depend on the services it needs. [17:32] yeah.... [17:33] <DanielK_WMDE_> yes, it would. it's only purpose it to provide static access to the service objects [17:33] so my concern with that is it puts us back to having global state that you can't change locally [17:34] (just to note: we're over halfway through, and still on the first RFC. that's probably fine, but if anyone was dying to get to the other RFCs, they should speak up) [17:34] <DanielK_WMDE_> brion: yes, but it's used in *very* limited locations. all the real logic would not need global state, and would also not need any factories, registries, contexts - it would ask exactly for the services it needs, and nothing more [17:34] <DanielK_WMDE_> that's the idea [17:34] <TimStarling> DanielK_WMDE_: except that we have thousands of static entry points, by the obvious definition [17:34] <DanielK_WMDE_> that makes these components reusable and testable [17:35] <TimStarling> we have thousands of static and global functions that access global state [17:35] <DanielK_WMDE_> TimStarling: sure, no need to deal with all of them. deal just with the ones that have a need for creating an object that requires such a service. [17:35] <TimStarling> I'm concerned that you may be designing an architecture which would work well from scratch, but not so well for the MW core [17:35] <DanielK_WMDE_> basically, we'd convert component X to use TitleValue, and require the mentioned service objects. Then we'd use the registry in the static entry points that create an insteanc of X. [17:36] <DanielK_WMDE_> then we look at Y. and so on [17:36] <DanielK_WMDE_> no need for a hige migration or refactoring [17:36] <TimStarling> alright, so to wrap up for now... [17:37] TimStarling, wait [17:37] so... my recommendation would be to prototype converting some stuff (limited area) and we can revisit this with some more experience [17:37] please use #info in your summaries [17:37] <MaxSem> DanielK_WMDE_, that'll result in half of components requiring Title, another one - TitleValue [17:37] <TimStarling> brion: I was about to say that [17:37] <DanielK_WMDE_> TimStarling: the migration part is basically to push the need for accessing the static registry up the stack, towards the "edges" of the program, until, ideally, it's only done during initial bootstrapping. [17:37] <MaxSem> it'll be hard to glue them together [17:37] <DanielK_WMDE_> MaxSem: yes, that's exactly the idea. [17:37] <DanielK_WMDE_> no, why? [17:37] <DanielK_WMDE_> it's easy to construct one from the other [17:37] <TimStarling> if DanielK_WMDE_ can make a prototype without us agreeing to merge it, that would be a good outcome [17:37] MaxSem: not hard, just slightly ugly $title->asTitleValue etc [17:37] <TimStarling> then we can evaluate it at that point [17:37] data conversion \o/ [17:38] <DanielK_WMDE_> brion: indeed [17:38] <DanielK_WMDE_> TimStarling: i'd be willing to prototype this on a small module. say, a simple special page or api module [17:38] <TimStarling> ok [17:38] <TimStarling> I think that will help to focus discussions somewhat [17:38] <DanielK_WMDE_> (these however are bad examples, because it's hard to control their instantiation, and constructor parameters are fixed) [17:38] #action by TimStarling: if DanielK_WMDE_ can make a prototype without us agreeing to merge it, that would be a good outcome. Then we can evaluate it at that point [17:39] <TimStarling> special pages are not so bad for constructor parameters etc. [17:39] #info <DanielK_WMDE_> TimStarling: i'd be willing to prototype this on a small module. say, a simple special page or api module [17:39] <TimStarling> I was looking at their current implementations, they really don't have much global state anymore [17:39] anything else about this topic before we move to the next? [17:40] <DanielK_WMDE_> brion, TimStarling: i gather that there's agreement on trying to use TitleValue instead of Title where possible, but concern about how to access the serives objects for parsing and formatting. the two options being a) IContext and b) a separate static registry that is not passed around. [17:40] *nod* [17:40] Anything anybody wants to say about this topic with info"before we move on? [17:40] #info <DanielK_WMDE_> brion, TimStarling: i gather that there's agreement on trying to use TitleValue instead of Title where possible, but concern about how to access the serives objects for parsing and formatting. the two options being a) IContext and b) a separate static registry that is not passed around. [17:40] <DanielK_WMDE_> qgil: what i just said [17:40] :) [17:40] <DanielK_WMDE_> exactly :) [17:41] TimStarling, do you want to sttart a new topic? [17:41] <TimStarling> DanielK_WMDE_: I think that is fair [17:41] <TimStarling> do we have any other RFCs for which the proposer is present and interested in discussing it? [17:41] Any official agreement about this point for the notes? [17:41] <DanielK_WMDE_> TimStarling: i'll request a week's coding time to work on this. [17:41] :) [17:41] #info <DanielK_WMDE_> TimStarling: i'll request a week's coding time to work on this. [17:42] <MaxSem> ^d, configuration database? [17:42] ok, new topic? [17:42] <^d> MaxSem: Tim said "and interested in discussing" ;-) [17:42] <MaxSem> lol [17:42] * robla orders Chad to be interested in configuration database :-P [17:43] i'd love to discuss the styling in templates but i'd want jon here for that [17:43] #topic Configuration database [17:43] there [17:43] #link https://www.mediawiki.org/wiki/Requests_for_comment/Configuration_database [17:43] :) [17:43] \o/ yay topic [17:43] (jon and matt aren't here, so styles and passwords are out) [17:43] <TimStarling> we can spend a little time on configuration database [17:44] <TimStarling> password requirements is really simple, we can probably approve that one without Matt here [17:44] <DanielK_WMDE_> i just added a comment on the talk page for the config db proposal [17:44] <^d> So, I've only got a couple thoughts on Config Mgmt that have really changed. [17:44] ^d: so it's basically like a settings class? [17:44] <^d> A) Don't put it in the database, that's dumb. [17:44] <^d> B) Singleton is evil [17:44] <DanielK_WMDE_> ...suggesting to store the configuration on wiki pages, not in separate database tables [17:44] <^d> Other than that, don't have much vested interest anymore. [17:44] <AaronSchulz> I assume this would start off with some pretty interface wrapping globals and then start changing it under the hood more [17:45] <^d> That was my idea originally. And I think my half-assed implementation did some of that. [17:45] DanielK_WMDE_: so depending on what config you store, that might ..... be a dependency problem. ;) [17:45] I think the Wikia folks are working on a proposal in this area [17:45] <TimStarling> what are you thinking of as an alternative to the singleton? [17:45] <^d> IContext. [17:45] <TimStarling> RequestContext member? [17:45] <^d> Yeah [17:45] <DanielK_WMDE_> brion: you mean for configuring the configuration management extension?... yea :) [17:45] robla, Wikia folks like... OwynD ? [17:45] <OwynD> hey there [17:46] <^d> TimStarling: I have a proposed gerrit change to do that. [17:46] <AaronSchulz> RequestContext::getMain->getConfig->get( 'someVar' ); ;) [17:46] DanielK_WMDE_: or configuring the wiki page storage subsystem... [17:46] \o/ [17:46] <TimStarling> you know, my dream for RequestContext is to have the ability to have a RequestContext which operates on a foreign wiki [17:46] <AaronSchulz> totally no singleton there [17:46] <DanielK_WMDE_> ^d: kitchen sink objects are nearly as evil as singletons :) [17:46] <MaxSem> AaronSchulz, kill me please [17:46] <TimStarling> it would have namespace configuration, database factories, etc. and it would just work [17:46] <^d> DanielK_WMDE_: Meh. [17:46] * AaronSchulz grins [17:46] <OwynD> we have an extension called WikiFactory that basically does this for us. [17:46] * brion has this dream as well [17:46] <^d> Anyway, I'd like to underscore what I said about not really having any vested interest here. [17:46] * aude renames RequestContext to KitchenSink :D [17:46] <^d> I *really* don't care about this as much as I did 2+ years ago. [17:47] <DanielK_WMDE_> brion: well, db configuration has to be done first, of course. [17:47] <OwynD> it has a list of variables for each wiki and just injects them into the global namespace... [17:47] <^d> So if we intend to see it through to completion, we should find a new steward for the RFC. [17:47] <TimStarling> AaronSchulz: I think there is some cause for optimism [17:47] <TimStarling> like I say, look at the SpecialPage implementations these days [17:47] sounds like this RfC needs a new champion to push it through [17:47] brion: something won't be able to be configured in this configuration thing. mainly for sanity [17:47] <OwynD> so anything that is defined in config (including custom namespaces etc) just basically works [17:47] somethings* [17:47] again i think we should also narrow its focus [17:47] <TimStarling> no RequestContext::getMain there [17:47] maybe explicitly say 'this won't be used to configure the database' [17:47] #help Chad doesn't want to be the RFC champion for Configuration Database RFC. any takers? [17:47] and start with new settings or migrating something small [17:47] <DanielK_WMDE_> so, how about not trying to port all or most of the present config? [17:48] <^d> brion: Actually, it could configure everything. [17:48] <^d> My current thinking is pretty simple. [17:48] <DanielK_WMDE_> how about just introducing an additional/alternative config storage system? [17:48] <^d> LocalSettings.php -> LocalSettings.json [17:48] <^d> For the default case. [17:48] <AaronSchulz> TimStarling: this would be a cause for avoiding utility classes in some cases more so [17:48] <^d> Something fancier for wiki farms. [17:48] <AaronSchulz> otherwise you get stuck passing Config into every little method [17:48] <DanielK_WMDE_> just start using it for some stuff. config can still be done in the old style, but could be overwritten by setting o nthe wiki, for some settings that are defined for this [17:49] OwynD, https://www.mediawiki.org/wiki/Extension:WikiFactory ? [17:49] <Platonides> or if the wiki admin doesn't like using the database [17:49] <AaronSchulz> the more related things are grouped into objects (but not too big) the more manageable this is [17:49] <DanielK_WMDE_> AaronSchulz: or passing just the settings needed to every class. [17:49] <^d> So the best way to do this isn't actually having two config systems side by side. [17:49] <DanielK_WMDE_> ideally. [17:49] <Platonides> having it as an alternative config looks good [17:49] <AaronSchulz> Config gets passed from parent to child class in construction...which can work reasonably [17:49] <DanielK_WMDE_> ^d: then you'd need to migrate all code that accesses config globals all at once. otherwise, you'll have two systems. [17:49] <OwynD> yep, that's the one [17:50] <^d> DanielK_WMDE_: No, you don't. [17:50] #link https://www.mediawiki.org/wiki/Extension:WikiFactory [17:50] <TimStarling> anyway, we are mostly dreaming if we don't have anyone to drive this [17:50] <^d> Have a fallback system. [17:50] I'd be willing to work on some of it [17:50] DanielK_WMDE_: There could be something like wgConf's extractAllGlobals [17:50] <^d> That ^ [17:50] <TimStarling> legoktm: maybe you should file your own RFC about it [17:50] <TimStarling> I think we could have competing RFCs [17:50] <DanielK_WMDE_> ^d: sure - that's what i suggested. have an new/extra system with for accessing config, and use that to override "traditional" settings. fall back on the old stuff. [17:51] <AaronSchulz> TimStarling: the one that sits there and the one that doesn't [17:51] #info <TimStarling> anyway, we are mostly dreaming if we don't have anyone to drive this [17:51] <OwynD> we still have LocalSettings, DefaultSettings etc. [17:51] #info I'd be willing to work on some of it [17:51] TimStarling: Ok, I'll try and find some time for it [17:51] <OwynD> our local settings has a call to that factory stuff at the right place to set all the custom vars for a wiki [17:51] <TimStarling> can we talk about password requirements? [17:51] <AaronSchulz> csteipp: [cough] [17:51] #info <OwynD> we have an extension called WikiFactory that basically does this for us. [17:51] <^d> Anyway, the only last thing I'll say on the subject is this: it doesn't need to be an OMGREWRITE like I advocated forever. [17:52] <^d> It can be fixed incrementally. [17:52] <^d> SiteConfiguration is a good enough starting point we can iterate from. [17:52] TimStarling, can you please summarize any resolution about the current topic, please? [17:52] Password requirements? I'm all for it. [17:52] <^d> (Trying to do OMGEVERYTHING sets this project up for failure) [17:52] <^d> [17:52] OwynD: can that be used to switch full configuration at runtime? I used a similar trick in StatusNet a few years ago to switch configs in background daemons [17:52] though that had fewer globals so was easier :D [17:53] <TimStarling> qgil: current RFC probably abandoned, legoktm to file new RFC [17:53] <OwynD> yep, i feel like that part is a bit "sketchy" but it does work. [17:53] #info <TimStarling> qgil: current RFC probably abandoned, legoktm to file new RFC [17:53] <OwynD> for example we have to launch a maintenance script in a wiki context. [17:53] <DanielK_WMDE_> ^d: nicely put :) [17:53] <OwynD> so it has all the right variables defined. [17:53] #topic Password requirements [17:53] <TimStarling> there are a couple of really simple features proposed here [17:54] #link https://www.mediawiki.org/wiki/Requests_for_comment/Password_requirements [17:54] <OwynD> one of our developers wrote a wrapper for that which just resets the vars without restarting the maintenance script over again, and it does work. [17:54] OwynD: nice, i'll make a note to follow up on that for later :) [17:54] <^d> brion: Speaking of globals, $wgArticle doesn't exist anymore ;-) [17:54] Yep, I think it would be a very simple patch [17:54] <TimStarling> one is to make it so that increasing $wgMinimalPasswordLength doesn't break everything [17:54] \o/ [17:54] <OwynD> the code is really ugly, but it's here: just for what it's worth: https://github.com/Wikia/app/tree/dev/extensions/wikia/WikiFactory [17:54] <TimStarling> fine, hardly even needs an RFC [17:54] <AaronSchulz> brion: same here [17:54] <TimStarling> it's just a bug fix [17:54] Which makes me wonder, should we generalize it a little, and create a PasswordPolicy object, and start using that? [17:55] <AaronSchulz> we don't put all our bugs through RfC? [17:55] <^d> brion: https://gerrit.wikimedia.org/r/#/c/93106/ :p [17:55] \o/ [17:55] <TimStarling> various people are talking about character set requirements, but I'm not sure if that is actually proposed [17:56] <TimStarling> but if someone submitted that to gerrit, I would probably approve it [17:56] <TimStarling> since some admins like character set requirements [17:56] Only length was in the proposal, but expiration and charset could also be in there. Also, different people having a different policy (the second part of the rfc) [17:57] #info <TimStarling> there are a couple of really simple features proposed here. One is to make it so that increasing $wgMinimalPasswordLength doesn't break everything. Fine, hardly even needs an RFC. [17:57] ok so do we just have the character limit setting, or are we also including password complexity requirements for groups? [17:57] <MaxSem> I fucking hate mandatory "you must have at least one number and one uppercase char". though my passwords tend to comply:P [17:57] * qgil wonders whather you want/need a hard stop at o'clock, in 3 minutes. [17:57] +1 [17:57] <TimStarling> yeah, password requirements for groups is not so simple [17:58] <TimStarling> but commonly requested [17:58] <TimStarling> I think there is a bug or changeset for it? [17:58] There is at least a bug for it [17:58] #info Only length was in the proposal, but expiration and charset could also be in there. Also, different people having a different policy (the second part of the rfc) [17:58] I think Tyler took it out of the password api patch [17:58] * DanielK_WMDE_ 's password is knapsack. it's np hard. [17:58] <TimStarling> you would need to ask new admins to change their password on their first login after promotion [17:59] +1 for sticking to time boxes, qgil [17:59] <TimStarling> which is pretty simple once you have expiry and forced reset features [17:59] TimStarling: That gets easier if my password expiration gets in. If we see out of policy password, we expire their password, and they have X days to change it before they're force to reset it. [17:59] <DanielK_WMDE_> TimStarling: basically, if *any* user tried to log in, and the password matches but doesn't meet the requirements (for that user), make them set a new one. [17:59] <DanielK_WMDE_> should be simple [17:59] <TimStarling> you know the forced reset feature we need as a replacement for the hash leak response hack [18:00] * aude already was forced to reset my wikidata password [18:00] <ori-l> yes, i was just going to say [18:00] <ori-l> there's quite a lot of overlap [18:00] excellent [18:00] so that sounds feasible and not undesirable? [18:00] <TimStarling> so, what I would like from this RFC is for the discussion to be moved out to the talk page [18:00] #info <TimStarling> so, what I would like from this RFC is for the discussion to be moved out to the talk page [18:01] Is this the end of the meeting? [18:01] <TimStarling> almost [18:01] anything else? [18:01] * aude yawns [18:01] <TimStarling> also, we would like expiration and forced reset to be part of the RFC [18:02] <TimStarling> since the code overlaps with the group requirements feature [18:02] <TimStarling> sound good csteipp? [18:02] == robla has changed nick to roblaAWAY [18:02] == roblaAWAY [~robla@wikimedia/robla] has quit [Excess Flood] [18:02] <ori-l> qgil: http://git.wikimedia.org/blob/operations%2Fmediawiki-config.git/HEAD/wmf-config%2FBug54847.php is the hacky version, if you want to #link it [18:02] Yep. I'll talk with Matt about adding that in. One of us can do that, I'm sure. [18:03] <TimStarling> I think once the document is cleaned up, we can just accept it [18:03] <TimStarling> since the mediawiki feature is pretty uncontroversial [18:03] #action Password requirements: <TimStarling> what I would like from this RFC is for the discussion to be moved out to the talk page. Also, we would like expiration and forced reset to be part of the RFC [18:03] <TimStarling> the controversial part of this is the WMF configuration [18:03] #link http://git.wikimedia.org/blob/operations%2Fmediawiki-config.git/HEAD/wmf-config%2FBug54847.php [18:03] <ori-l> thanks :) [18:03] #link https://gerrit.wikimedia.org/r/#/c/92037/ the much cleaner version of ^ [18:03] ori-l, you can also type link, info, etc yourselves [18:04] == robla [~robla@wikimedia/robla] has joined #wikimedia-meetbot [18:04] end of meeting? [18:04] * DanielK_WMDE_ randomly wonders if something that is both a formatter and a parser is a "forser". [18:04] <TimStarling> qgil: yes [18:04] #info Thank you everybody! The plan is to keep having these meetings every other week. [18:04] #endmeeting [18:04] <meetbot-wm`> Meeting ended Wed Nov 6 23:04:52 2013 UTC.  Information about MeetBot at https://bugzilla.wikimedia.org/46377 . (v 0.1.4) [18:04] <meetbot-wm`> Minutes:        http://integration-meetbot.instance-proxy.wmflabs.org/wikimedia-meetbot/2013/wikimedia-meetbot.2013-11-06-22.03.html [18:04] <meetbot-wm`> Minutes (text): http://integration-meetbot.instance-proxy.wmflabs.org/wikimedia-meetbot/2013/wikimedia-meetbot.2013-11-06-22.03.txt [18:04] <meetbot-wm`> Log:           http://integration-meetbot.instance-proxy.wmflabs.org/wikimedia-meetbot/2013/wikimedia-meetbot.2013-11-06-22.03.log.html [18:04] <^d> DanielK_WMDE_: Or a parmatter [18:05] <DanielK_WMDE_> that looks like a misspelled parameter though :) [18:05] <ori-l> qgil: i like meetbot a lot [18:05] :) [18:05] <DanielK_WMDE_> ori-l: indeed [18:06] ori-l, I like meetbot, not only for documentation (Etherpad does also the job) but to force a structure in the IRC meeting [18:06] <ori-l> yep [18:06] <DanielK_WMDE_> qgil: how do i get meetpot into a channel? [18:06] http://integration-meetbot.instance-proxy.wmflabs.org/wikimedia-meetbot/2013/wikimedia-meetbot.2013-11-06-22.03.html looks nice, now I wonder what to do with it in case Labs explodes [18:07] DanielK_WMDE_, https://bugzilla.wikimedia.org/46377 [18:08] thanks everyone [18:09] == ori-l [~ori-l@wikipedia/ori-livneh] has left #wikimedia-meetbot ["Leaving..."] [18:11] <DanielK_WMDE_> hm, wouldn#t it be great if meetbot could write to an etherpad... [18:19] #idea <DanielK_WMDE_> hm, wouldn#t it be great if meetbot could write to an etherpad... [18:19] ;) [18:21] DanielK_WMDE_: qgil http://etherpad.wikimedia.org/api/  https://github.com/ether/etherpad-lite/wiki/HTTP-API [18:22] == ^d [~demon@mediawiki/demon] has left #wikimedia-meetbot ["i'm too cool for irc"] [18:41] == brion [~brion@wikipedia/pdpc.professional.brion] has quit [Quit: brion] [18:45] == qgil [~qgil@192.195.83.38] has quit [Ping timeout: 248 seconds] [18:49] == Revi|ZzZz has changed nick to Revi [18:49] == Revi [sid12940@gateway/web/irccloud.com/x-gnyokbkmxzedwqiw] has quit [Changing host] [18:49] == Revi [sid12940@wikimedia/Hym411] has joined #wikimedia-meetbot [18:56] == Revi [sid12940@wikimedia/Hym411] has quit [] [18:57] == Revi [sid12940@wikimedia/Hym411] has joined #wikimedia-meetbot [19:02] == qgil [~qgil@84.sub-70-197-5.myvzw.com] has joined #wikimedia-meetbot [19:02] == qgil [~qgil@84.sub-70-197-5.myvzw.com] has quit [Read error: Connection reset by peer] [19:04] == robla [~robla@wikimedia/robla] has quit [Excess Flood] [19:04] == robla [~robla@ps171755.dreamhost.com] has joined #wikimedia-meetbot [19:04] == robla [~robla@ps171755.dreamhost.com] has quit [Changing host] [19:04] == robla [~robla@wikimedia/robla] has joined #wikimedia-meetbot [19:04] == MatmaRex [~MatmaRex@wikipedia/matma-rex] has quit [Quit: ~ Miranda] [19:05] == bawolff [~bawolff@wikinews/bawolff] has quit [Ping timeout: 245 seconds] [19:06] == hoo [~hoo@wikipedia/Hoo-man] has quit [Quit: Leaving.] [19:17] == bd808 has changed nick to bd808|BUFFER [19:25] == bawolff [~bawolff@wikinews/bawolff] has joined #wikimedia-meetbot [19:31] == robla [~robla@wikimedia/robla] has quit [Excess Flood] [19:32] == robla [~robla@wikimedia/robla] has joined #wikimedia-meetbot [19:36] == robla [~robla@wikimedia/robla] has left #wikimedia-meetbot [] [19:52] == DanielK_WMDE_ [~daniel@wikipedia/duesentrieb] has quit [Read error: Operation timed out] [20:02] == MaxSem [kvirc@wikimedia/MaxSem] has left #wikimedia-meetbot ["Demon Kingu rise, rise, rise from the void. Hail! Kingu rules the horned dragons, Ugallu, fishmen, Mushussu, umu, bulls, frogs, scorpions, dogs... Kingu rules the void!"] [20:11] == mutante [~mutante@wikimedia/mutante] has quit [Quit: leaving] [20:32] == Platonides [~Platonide@wikipedia/Platonides] has quit [] [20:35] == csteipp [~csteipp-i@wikipedia/csteipp] has quit [Ping timeout: 248 seconds] [20:57] == bawolff [~bawolff@wikinews/bawolff] has left #wikimedia-meetbot [] [21:16] == OwynD [~textual@74.120.190.9] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…] [21:20] == OwynD [~textual@74.120.190.9] has joined #wikimedia-meetbot [21:23] == Revi has changed nick to Revi|AFK [21:41] == OwynD [~textual@74.120.190.9] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…] [21:42] == OwynD [~textual@74.120.190.9] has joined #wikimedia-meetbot [22:06] == OwynD [~textual@74.120.190.9] has quit [Quit: Textual IRC Client: www.textualapp.com] [22:07] == legoktm [~legoktm@wikipedia/Legoktm] has left #wikimedia-meetbot ["["goodbye."]"] [23:34] == Revi|AFK has changed nick to Revi [01:08] == siebrand [~siebrand@5ED24E92.cm-7-3b.dynamic.ziggo.nl] has quit [Ping timeout: 265 seconds] [01:12] == siebrand [~siebrand@5ED24E92.cm-7-3b.dynamic.ziggo.nl] has joined #wikimedia-meetbot [01:19] == TimStarling has changed nick to Tim-away @ChanServAaronSchulzaudebd808|BUFFERElsieKrenairleucostictemarktraceurmeetbot-wm`RevisiebrandTim-away