You are not logged in.

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

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

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,440

Re: Searching only English Wiki Pages

I'm afraid it's not possible atm.

Offline

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

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,375
Website

Re: Searching only English Wiki Pages

There is a surfraw elvis for this...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

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

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

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: 169

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: 125

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
https://bbs.archlinux.org/viewtopic.php?id=150476
bbs.archlinux.org
crawl=CC-MAIN-2021-25
14729
application/http; msgtype=response
sha1:5GSZ2YANDZBDFWGDKWIVFPRGOWNGDIRH
<urn:uuid:1507446b-e460-4b74-acf3-4fcad2b440d9>
2021-06-24T12:25:15Z
116.203.93.142
application/xhtml+xml
sha1:KEM275YRVL4XBC2CHAOWNBH5XVGQJQY4
<urn:uuid:33ca0859-99fb-4c20-a2e7-00b38d585557>
https://bbs.archlinux.org/viewtopic.php?id=150476
response
<urn:uuid:19dd6069-3aff-46dd-a662-4d2f3ed6fd18>
isPartOf: CC-MAIN-2021-25
publisher: Common Crawl
description: Wide crawl of the web for June 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-242.ec2.internal
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/