From 08b1d56a7a7f7855bfe90a94fef848020464663a Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 5 Aug 2005 14:55:42 +0000 Subject: [PATCH] better page to look for wikipedia results --- src/chat.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/chat.py b/src/chat.py index d041e705e..cbe3af8c3 100644 --- a/src/chat.py +++ b/src/chat.py @@ -710,9 +710,10 @@ class Chat: always_use_en = gajim.config.get('always_english_wikipedia') if always_use_en: - link = 'http://en.wikipedia.org/wiki/%s' % self.selected_phrase + link = 'http://en.wikipedia.org/wiki/Special:Search?search=%s'\ + % self.selected_phrase else: - link = 'http://%s.wikipedia.org/wiki/%s'\ + link = 'http://%s.wikipedia.org/wiki/Special:Search?search=%s'\ %(gajim.LANG, self.selected_phrase) item = gtk.MenuItem(_('Read _Wikipedia Article')) item.connect('activate', self.visit_url_from_menuitem, link)