[Wikitech-l] Ifexists across wikis

2015-12-06 Thread Lars Aronsson
If I write a [[link]] it will be blue if the page exists and red otherwise. But if I write [[:sw:link]] that will be an external or cross-wiki link, that is never red, as if it were impossible to know whether that page existed in Swahili Wikipedia. But determining the existence of a page is just

Re: [Wikitech-l] Ifexists across wikis

2015-12-06 Thread Alex Monk
I don't think there is a way to get a database name from an interwiki prefix. Also, whether a page is known or not does not just depend on a simple database lookup. Extensions can add arbitrary rules about which titles should be considered known or not. EducationProgram, GlobalUserPage, and

Re: [Wikitech-l] Ifexists across wikis

2015-12-06 Thread Florian Schmidt
I'm not very familar with this, but wouldn't this need a bigger change in LinksUpdate? Or the question: how would a wiki know, if a page get's created after it was linked and mark it blue instead of red? Gesendet mit meinem HTC - Nachricht beantworten - Von: "Alex Monk"

[Wikitech-l] Is there some non-ssl mirror of wikipedia?

2015-12-06 Thread Petr Bena
I noticed that since we enforce SSL on Wikipedia for everyone, Wikipedia is much more restricted in some countries, such as China, where it's entirely blocked (I think only SSL is blocked, but users now have no option to fall back to non-ssl version). Is there some non-ssl mirror for people in

Re: [Wikitech-l] API Sandbox (was: 2015-12-02 Scrum of Scrums meeting notes)

2015-12-06 Thread Bartosz Dziewoński
On 2015-12-04 18:59, Adam Baso wrote: I do wonder though if we've spent much time studying the ease of getting at least some part of oojs-ui split out or making it so that new stuff going forward is part of the oojs-ui family but it's not as monolithich? Not any more than what is written at

Re: [Wikitech-l] Is there some non-ssl mirror of wikipedia?

2015-12-06 Thread Andre Klapper
On Sun, 2015-12-06 at 17:07 +0100, Petr Bena wrote: > I noticed that since we enforce SSL on Wikipedia for everyone, > Wikipedia is much more restricted in some countries, such as China, > where it's entirely blocked (I think only SSL is blocked, but users > now have no option to fall back to

Re: [Wikitech-l] Ifexists across wikis

2015-12-06 Thread Bartosz Dziewoński
On 2015-12-06 17:26, Lars Aronsson wrote: If I write a [[link]] it will be blue if the page exists and red otherwise. But if I write [[:sw:link]] that will be an external or cross-wiki link, that is never red, as if it were impossible to know whether that page existed in Swahili Wikipedia. But

Re: [Wikitech-l] Ifexists across wikis

2015-12-06 Thread Purodha Blissenbach
How about using the API on the targe side? Purodha On 06.12.2015 18:04, Alex Monk wrote: I don't think there is a way to get a database name from an interwiki prefix. Also, whether a page is known or not does not just depend on a simple database lookup. Extensions can add arbitrary rules about

Re: [Wikitech-l] Ifexists across wikis

2015-12-06 Thread John Erling Blad
Use Q-ids and get the links from Wikidata. On Sun, Dec 6, 2015 at 10:49 PM, Purodha Blissenbach < puro...@blissenbach.org> wrote: > How about using the API on the targe side? > Purodha > > > On 06.12.2015 18:04, Alex Monk wrote: > >> I don't think there is a way to get a database name from an

Re: [Wikitech-l] Ifexists across wikis

2015-12-06 Thread Tim Starling
On 07/12/15 06:29, Bartosz Dziewoński wrote: > To add to what Alex and Florian said, the simple database lookup to > check page existence is not actually that simple. When parsing a page, > the query to determine link color (and to mark links to non-existent, > redirect or disambig pages) is done

Re: [Wikitech-l] Search Flow using ES/CirrusSearch in MW 1.25?

2015-12-06 Thread Matthias Mullie
I have no idea. Flow’s search API should be able to provide all the data that is needed, but I haven’t looked into how it could be integrated into normal searches yet (if at all) Matthias > On 03 Dec 2015, at 18:09, James Montalvo wrote: > > Any estimate on the