You are not logged in.

#1 2012-10-11 18:20:51

ioos
Member
Registered: 2011-01-25
Posts: 122

Searching only English Wiki Pages

Is it possible to search the wiki for only one language? (English in my case.) I mean, is it possible to exclude other languages from the results? I don't see the option in the "Advanced" search. I'm creating a shortcut, so maybe there's a way to specify in the url?

Offline

#2 2012-10-11 18:23:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: Searching only English Wiki Pages

I'm afraid it's not possible atm.

Offline

#3 2012-10-11 18:46:31

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,315
Website

Re: Searching only English Wiki Pages

There is a surfraw elvis for this...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#4 2012-10-11 19:59:01

ioos
Member
Registered: 2011-01-25
Posts: 122

Re: Searching only English Wiki Pages

Huh. I'd never heard of surfraw. (I guess it was originally written by Julian Assange!)

It looks interesting and very useful. Although I don't think it will help my specific case right now.

Offline

#5 2012-10-12 10:08:55

kynikos
Wiki Admin
Registered: 2010-12-28
Posts: 156

Re: Searching only English Wiki Pages

No, it's not possible to search only English pages at the moment.
By looking at the source of surfraw it doesn't seem to be able to help you.
If you want, it should be very easy to program a search tool that gets raw search results through API calls (see https://www.mediawiki.org/wiki/API:Search, https://www.mediawiki.org/wiki/API:Opensearch, https://wiki.archlinux.org/api.php), and then removes the entries with the language suffixes listed in https://wiki.archlinux.org/index.php/He … #Languages.
Finally, also the implementation of https://wiki.archlinux.org/index.php/He … uffixes.3F would solve this problem.

Offline

#6 2012-10-12 18:31:04

ioos
Member
Registered: 2011-01-25
Posts: 122

Re: Searching only English Wiki Pages

Thanks for the reply. That gives me something to look into.

FYI- I'm asking about this for an Android application that I created.

Offline

Board footer

Powered by FluxBB