Re: [Wikitech-l] [ConfirmEdit][ReCaptcha] Call-to-Action: ReCaptcha module will be removed in the near future

2016-08-04 Thread bawolff
> > Because this is a huge problem for existing third-party wikis (and because > we don't have any usage statistics), I'm not sure, which plan we should > choose. That's why I sent this e-mail out, to get (hopefully) some responses > and opinions. > > We do have stats. There are 308 people using

[Wikitech-l] Workaround for repetitive OAuth prompts for labs tools

2016-08-04 Thread Niharika Kohli
Hi everyone, If you're tired of repetitively prompting your users to approve your tool (using MediaWiki oauth), here's a trick that might come in handy: you can hit ".../w/index.php?title=Special:OAuth/authenticate" in the second leg of the handshake instead of

Re: [Wikitech-l] RESTBase multiple pages with one request

2016-08-04 Thread Gabriel Wicke
Toni, we heavily use caching to speed up the REST API, so making individual requests is the fastest way to retrieve content. You can use parallelism to achieve your desired throughput, and with HTTP/2 all those parallel requests can even share a single TCP connection. The request limit for the API

Re: [Wikitech-l] RESTBase multiple pages with one request

2016-08-04 Thread Jaime Crespo
Sorry, I am not sure 100%, if that is true, maybe creating a feature request may help suggesting its implementation? On Thu, Aug 4, 2016 at 3:09 PM, Toni Hermoso Pulido wrote: > Thanks Jaime, so it only works with Action (MediaWiki default) API so > far, doesn't it? > > El

[Wikitech-l] [ConfirmEdit][ReCaptcha] Call-to-Action: ReCaptcha module will be removed in the near future

2016-08-04 Thread Florian Schmidt
Hi all together, first of all: If you don't use ConfirmEdit with the ReCaptcha (NOT the ReCaptchaNoCaptcha) module, you can STOP reading here :) TL;DR Please upgrade to the ReCaptchaNoCaptcha module to use a supported version in the future and please respond to [1], if you've an opinion

[Wikitech-l] New scap version is live

2016-08-04 Thread Tyler Cipriani
tl;dr: The new scap version is live in production. It has canary deploys. Scap v.3.2.2-1 was deployed to production today. There are some new internal improvements as well as some that are user-facing. The improvements you'll probably notice are: * Tab completion works for scap

Re: [Wikitech-l] Autodiscovery of extension unittests

2016-08-04 Thread Greg Grossmeier
(Adding in qa@) > Hi, > > One thing that's always annoyed me about writing tests for an extension > is that for the first test, you need to bootstrap it by adding a > UnitTestsList hook, and copying the code for it from some other extension. > > Now that we have a proper extension registry, I

[Wikitech-l] Autodiscovery of extension unittests

2016-08-04 Thread Legoktm
Hi, One thing that's always annoyed me about writing tests for an extension is that for the first test, you need to bootstrap it by adding a UnitTestsList hook, and copying the code for it from some other extension. Now that we have a proper extension registry, I wrote

Re: [Wikitech-l] RESTBase multiple pages with one request

2016-08-04 Thread Toni Hermoso Pulido
Thanks Jaime, so it only works with Action (MediaWiki default) API so far, doesn't it? El 08/04/2016 a les 10:07 AM, Jaime Crespo ha escrit: > Hi, you can combine multiple pages with the "pipe" sign: > > Check: >

Re: [Wikitech-l] RESTBase multiple pages with one request

2016-08-04 Thread Jaime Crespo
Hi, you can combine multiple pages with the "pipe" sign: Check: (change 'jsonfm' for 'json' on a real request) There is a limit on the number of pages depending on your account rights, but it

[Wikitech-l] RESTBase multiple pages with one request

2016-08-04 Thread Toni Hermoso Pulido
Hello, is it already possible to retrieve data from different pages just by using one request? E.g by combining: https://en.wikipedia.org/api/rest_v1/page/summary/Electron and https://en.wikipedia.org/api/rest_v1/page/summary/Dog Thanks! -- Toni Hermoso Pulido http://www.cau.cat