Re: [Wikitech-l] Discussion on adding a CODE_OF_CONDUCT file to all Wikimedia repos

2017-06-09 Thread K. Peachey
On 10 June 2017 at 08:52, Gergő Tisza wrote: > > … snip … > > We started adding a CODE_OF_CONDUCT file with a link to all repos (this is > a new convention for declaring what a project's code of conduct is, > promoted by Github) No, CODE_OF_CONDUCT.md was added, which is a completely different

[Wikitech-l] Discussion on adding a CODE_OF_CONDUCT file to all Wikimedia repos

2017-06-09 Thread Gergő Tisza
Hi all, the Wikimedia technical community has recently adopted a Code of Conduct. You have probably heard more about it than you wanted to, but if you have missed it somehow, you can read the related blog post [1]. We started adding a CODE_OF_CONDUCT file with a link to all repos (this is a new c

Re: [Wikitech-l] Setting up multiple Parsoid servers behind load balancer

2017-06-09 Thread C. Scott Ananian
It may be a lock issue. IIRC mediawiki can invoke parsoid which can then reinvoke the mediawiki api. I remember there being some corner case with locking which caused this recursive invocation to deadlock in some (not anything like production) situations. If you can get a trace from the "slow" me

Re: [Wikitech-l] Setting up multiple Parsoid servers behind load balancer

2017-06-09 Thread James Montalvo
Thanks to everyone for all the responses. I'm learning a lot. In the short term we need to figure out how to make this work without RESTBase, but I've been convinced by this email chain that in the long term we'll need to incorporate RESTBase into our setup. At this point I think I've determine

Re: [Wikitech-l] Setting up multiple Parsoid servers behind load balancer

2017-06-09 Thread Subramanya Sastry
On 06/09/2017 09:57 AM, Gabriel Wicke wrote: On Fri, Jun 9, 2017 at 12:56 AM, Alexandros Kosiaris < akosia...@wikimedia.org> wrote: I also don't think you need RESTBase as long as you are willing to wait for parsoid to finish parsing and returning the result. Apart from performance, there is a

Re: [Wikitech-l] Setting up multiple Parsoid servers behind load balancer

2017-06-09 Thread Gabriel Wicke
On Fri, Jun 9, 2017 at 8:25 AM, James HK wrote: > This sounds like a lot of sublayers that can potentially disrupt a > simple editing process and I wonder from the many non-WMF MediaWiki > installations and administrators, who will be able and capable to > debug those once an issue arise. > This

Re: [Wikitech-l] Setting up multiple Parsoid servers behind load balancer

2017-06-09 Thread James HK
Hi, > In short, using Parsoid directly for visual editing is an unsupported > configuration, and is likely to stop working altogether in the foreseeable > future. > for current work in progress). The early prototype already sets up > MediaWiki, VisualEditor, RESTBase, Parsoid, Math, as well as ot

[Wikitech-l] Commons Android app update - v2.4.2

2017-06-09 Thread Josephine Lim
Hi all, We're excited to announce that we've rolled out several new features and bug fixes for the Commons Android app[1] over the past few months. Some of the major ones include: - A map of nearby places that need pictures (in addition to the existing list). Selecting a nearby place allows user

Re: [Wikitech-l] Setting up multiple Parsoid servers behind load balancer

2017-06-09 Thread Gabriel Wicke
On Fri, Jun 9, 2017 at 12:56 AM, Alexandros Kosiaris < akosia...@wikimedia.org> wrote: > > I also don't think you need RESTBase as long as you are willing to > wait for parsoid to finish parsing and returning the result. Apart from performance, there is also functionality that is missing without

Re: [Wikitech-l] Setting up multiple Parsoid servers behind load balancer

2017-06-09 Thread Alexandros Kosiaris
Hi James, I don't know if you have noticed the following in C. Scott's response > At any rate: in your configurations you have URL and HTTPProxy set to the > exact same string. This is almost certainly not right. I believe if you > just omit the proxy lines entirely from the configuration you'l